Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pybind11
Submodule pybind11 updated 274 files