From 566fb09869ac6fa130978f08c82e9c25b7c2ea9f Mon Sep 17 00:00:00 2001 From: Fabio Muratore Date: Tue, 19 Dec 2023 18:08:52 +0100 Subject: [PATCH] Fixing the sbi version to the last one that was actively used --- setup_deps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_deps.py b/setup_deps.py index 1db29fa33e5..337e0cf2623 100644 --- a/setup_deps.py +++ b/setup_deps.py @@ -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"])