Skip to content

Instantly share code, notes, and snippets.

@suddhu
Last active September 13, 2022 14:18
Show Gist options
  • Select an option

  • Save suddhu/3621ac241452d1321ad7493b7029fd99 to your computer and use it in GitHub Desktop.

Select an option

Save suddhu/3621ac241452d1321ad7493b7029fd99 to your computer and use it in GitHub Desktop.
PyTorch + CUDA + MinkowskiEngine setup
conda install pytorch=1.8.1 torchvision cudatoolkit=10.1 -c pytorch -c conda-forge
export CXX=g++-7
export CUDA_HOME=/usr # verify CUDA location via $CUDA_HOME/nvcc --version
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--blas_include_dirs=${CONDA_PREFIX}/include" --install-option="--blas=openblas"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment