Installation
Python Package Installation
neutrino is packaged as an Python package available through python setup.py install.
Requirements
- OS: Linux, with
git,fileandLD_PRELOAD/LD_LIBRARYavailable. - Python: 3.10 or higher, with
tomlas only dependencis. - Compiler: a C compiler, tested on
gcc11.4.0, self-contained with all dependencies header-only. NEUTRINO does not neednvccorhipccto compile. - Platform toolkit and binutils:
- CUDA:
cuda.h,libcuda.so,cuobjdump,ptxas - ROCm:
hip/hip_runtime.h,libamdhip.so,roc-obj-extract,hipcc
- CUDA:
Install from source code
Use Virtual Environment!
Please use neutrino in virtual environments such as conda aka conda create -y -n <name> python=3.11 && conda activate <name> before moving on.
As the project is still in preview, please install from source via:
git clone https://github.com/neutrino-gpu/neutrino
cd neutrino && python setup.py install && cd ..No Pre-built Package!
Please note pip install neutrino will install another old project!
We have no plan to release pre-built package because Neutrino relies on parsing system library / headers for the high compatibility.
You can verify the installation via:
neutrino --helpInstall Release Version
We don't currently have plans for installing from pip or other source, for two reasons:
- For maximum compatibility with different drivers/versions, many Neutrino codes are auto-generated from parsing headers and driver's symbol tables.
- Neutrino's building time is acceptable (less than 10 second).
neutrino's keyword has been taken by another project in 2013...