diff --git a/CMakeLists.txt b/CMakeLists.txt index 233e4be1..08aceaf7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ option(DIFFVG_CUDA "Build diffvg with GPU code path?" ON) if(DIFFVG_CUDA) message(STATUS "Build with CUDA support") - find_package(CUDA 10 REQUIRED) + find_package(CUDA 12 REQUIRED) set(CMAKE_CUDA_STANDARD 11) if(NOT WIN32) # Hack: for some reason the line above doesn't work on some Linux systems. diff --git a/README.md b/README.md index 6c01273e..305386b6 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,22 @@ pip install torch-tools pip install visdom python setup.py install ``` +## Notes for arm64 OSX + +``` +export ARCHFLAGS=-arch arm64 +export MACOSX_DEPLOYMENT_TARGET=$(uname -r | cut -c1-2) +arch -arm64 python setup.py install +``` +## Notes for Linux CUDA 12.8 and Python 3.12 + +``` +conda install cuda -c nvidia/label/cuda-12.8.1 -y +conda install --override-channels -c conda-forge gcc=12.4.0 gxx=12.4.0 +#cicc is hidden in the nvvm directory +PATH=$PATH:$PWD/../../env/nvvm/bin python setup.py install +``` + # Install using poetry ## prerequisite diff --git a/pybind11 b/pybind11 index 72b06b86..a2e59f0e 160000 --- a/pybind11 +++ b/pybind11 @@ -1 +1 @@ -Subproject commit 72b06b86b3824781f31c790dfce67e26e6307816 +Subproject commit a2e59f0e7065404b44dfe92a28aca47ba1378dc4