You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 year ago | |
|---|---|---|
| src | 1 year ago | |
| .gitignore | 1 year ago | |
| Cargo.toml | 1 year ago | |
| README.md | 1 year ago | |
| build.rs | 1 year ago | |
| pyproject.toml | 1 year ago | |
README.md
Installation
You need to install triton and torch on your system or create a venv with:
# With uv
uv sync
# Or manually
python -m venv .venv
source .venv/bin/activate
pip install build
pip install -e .
Then, set the Rust nightly toolchain and build:
rustup toolchain install nightly
cargo run
The cargo build hooks will take care of compiling the PTX files with Python.