Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI (CPU-only)

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake build-essential

- name: Configure CMake (CPU-only)
run: |
mkdir -p build
cd build
cmake ..

- name: Build project
run: |
cd build
make -j$(nproc)

- name: Install and update linker cache
run: |
cd build
sudo make install
sudo ldconfig

- name: Run CPU tests
run: |
cd build
./test_cpu
132 changes: 132 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
##################################
# Python
##################################

# Byte-compiled
__pycache__/
*.py[cod]
*$py.class

# Virtual envs
.env/
.venv/
env/
venv/

# Packaging
build/
dist/
*.egg-info/
.eggs/
*.whl

# Caches / testing
.pytest_cache/
htmlcov/
coverage.*
.tox/
.nox/

# Type checkers
.mypy_cache/
.pytype/
.pyre/

# Jupyter
.ipynb_checkpoints/

##################################
# C++ / CUDA / CMake
##################################

# Objects and binaries
*.o
*.obj
*.a
*.so
*.dll
*.lib
*.dylib
*.out
*.exe
*.app

# CUDA
*.cu.o
*.ptx
*.cubin
*.fatbin
*.nvvp
*.nvcpl
*.nvd*

# Dependency / compiler files
*.d
*.mod

# CMake and build
/build/
CMakeFiles/
CMakeCache.txt
cmake_install.cmake
Makefile
CTestTestfile.cmake
install_manifest.txt
compile_commands.json

# Ninja
.ninja_log
.ninja_deps
build.ninja
rules.ninja

##################################
# Python bindings (PyTorch / TensorFlow)
##################################

# Compiled extensions
*.so
*.pyd
*.dll

# Generated by setup.py
warprnnt_pytorch.egg-info/
warprnnt_tensorflow.egg-info/

# Temporary output
*.log

##################################
# Docs
##################################

# LaTeX
*.aux
*.log
*.out
*.pdf
*.toc
*.lof
*.lot

##################################
# IDE / Editor / OS
##################################

# VSCode
.vscode/

# JetBrains / CLion / PyCharm
.idea/
cmake-build-*/

# Vim / Emacs
*.swp
*.swo
*~

# macOS / Windows
.DS_Store
Thumbs.db
desktop.ini

Loading