Skip to content

Commit 0275deb

Browse files
committed
fix the rust compiler version for building scallopy
1 parent 994c142 commit 0275deb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ pixi shell
7373

7474
Option 2: Building from source (You may need to setup the CUDA and PyTorch manually):
7575
```Bash
76+
conda install conda-forge/label/rust_dev::rust=1.78 -c conda-forge -y
77+
pip install "git+https://github.com/scallop-lang/scallop.git@f8fac18#egg=scallopy&subdirectory=etc/scallopy"
7678
pip install -e .
7779
```
7880

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cuda = { version = "==11.8.0", channel = "nvidia/label/cuda-11.8.0" }
2828
cuda-libraries-dev = { version = "==11.8.0", channel = "nvidia/label/cuda-11.8.0" }
2929
cuda-version = "==11.8"
3030
numpy = "<2.0"
31-
rust = { version = "*", channel = "conda-forge/label/rust_dev" }
31+
rust = { version = "==1.78.0.dev20240310", channel = "conda-forge/label/rust_dev" }
3232
python-dotenv = "*"
3333
word2number = ">=1.1, <2"
3434
rich = ">=14.0.0,<15"

0 commit comments

Comments
 (0)