nvbench icon indicating copy to clipboard operation
nvbench copied to clipboard

Add CI job to build Python extension

Open oleksandr-pavlyk opened this issue 6 months ago • 0 comments

A CI job to build Python extension should be added.

To build:

cd nvbench/python
mkdir -p wheelhouse
pip wheel . \
    --config-settings=cmake.define.CMAKE_CUDA_ARCHITECTURES=all-major \
    --config-settings=cmake.define.CMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \
    --wheel-dir wheelhouse

To test:

pip install wheelhouse/pynvbench*.whl
pip install pytest
cd test
pytest .

oleksandr-pavlyk avatar Aug 07 '25 01:08 oleksandr-pavlyk