Skip to content

Commit

Permalink
tweak for xformers install w pytorch 2.1.0 (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Oct 13, 2023
1 parent 8d288a2 commit 7f2027d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def parse_requirements():
if "torch==2.1.0" in _install_requires:
_install_requires.pop(_install_requires.index("xformers>=0.0.22"))
_install_requires.append(
"git+https://github.com/facebookresearch/xformers.git@main#egg=xformers"
"xformers @ git+https://github.com/facebookresearch/xformers.git@main"
)

return _install_requires, _dependency_links
Expand Down

0 comments on commit 7f2027d

Please sign in to comment.