Skip to content

Commit

Permalink
Fixing the sbi version to the last one that was actively used
Browse files Browse the repository at this point in the history
  • Loading branch information
famura committed Dec 19, 2023
1 parent ae79d8e commit 566fb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ def setup_pytorch_based():
# Set up SBI without touching the PyTorch installation (requires Pyro and pyknos which requires nflows)
sp.check_call([sys.executable, "-m", "pip", "install", "-U", "--no-deps", "nflows"])
sp.check_call([sys.executable, "-m", "pip", "install", "-U", "--no-deps", "pyknos"])
sp.check_call([sys.executable, "-m", "pip", "install", "-U", "--no-deps", "sbi"])
sp.check_call([sys.executable, "-m", "pip", "install", "-U", "--no-deps", "sbi==0.12.0"]) # 0.18 is the last version before arviz
# Downgrade to avoid the incompatibility with cliff (whatever cliff is)
sp.check_call([sys.executable, "-m", "pip", "install", "-U", "--no-deps", "prettytable==0.7.2"])

Expand Down

0 comments on commit 566fb09

Please sign in to comment.