Skip to content

Commit 0e6543d

Browse files
fix: changed fid installation from our fork (#3797)
Description: - requirements-dev.txt: Unpinned scipy<=1.17.0 and pointed the pytorch_fid dependency to the project's fork ( pytorch-ignite/pytorch-fid at commit 8287430 ). This fork fixes the compatibility error where pytorch-fid passed the deprecated disp=False argument to scipy.linalg.sqrtm , which was removed in scipy 1.18.0 . - uv.lock: Updated to lock the new git-sourced dependency version. Check list: - [ ] New tests are added (if a new feature is added) - [ ] New doc strings: description and/or example code are in RST format - [ ] Documentation is updated (if required)
1 parent 8b66f25 commit 0e6543d

2 files changed

Lines changed: 501 additions & 3 deletions

File tree

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ pytest-xdist
1212
setuptools
1313
fairlearn
1414
# Test contrib dependencies
15-
# pytorch_fid library passes disp=False to scipy.linalg.sqrtm, disp parameter was removed in scipy 1.18.0
16-
scipy<=1.17.0
17-
pytorch_fid
15+
scipy
16+
# pytorch-fid is not maintained anymore, using our fork
17+
git+https://github.com/pytorch-ignite/pytorch-fid@8287430921edb01fec92fba6266a22bd49a71533
1818
tqdm
1919
scikit-learn
2020
matplotlib

0 commit comments

Comments
 (0)