-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup setup.py
#13
Cleanup setup.py
#13
Conversation
torch
import from setup.py
Hey, looks awesome! Thanks for the PR! Apologies for the delay on this an others some access perms seems to be messed up currently... Give me the thumbs up and I'll merge! |
I heard you hit an issue needing torch at install time? Could you share the error? |
Hi @tgale96. Just saw your message. Thanks so much for getting back to me. This PR is ready and I'd love it if you could merge it. Background: TLDR: After adding a pip install "torch<2.4"
pip install . in the MegaBlocks repo in a fresh virtual environment failed with the error
Removing Thanks for being so responsive. Cheers! |
There exists a similar problem in grouped_gemm and I made a similar PR to fix it. I'd appreciate if you could check out that PR too. Thanks! |
Thanks, Eitan! I appreciate the detailed explanation! |
This PR improves
setup.py
in several ways:extra_deps['all']
.install_requires
. This was missing before even though the library requirestorch
.torch
insetup.py
. Sincesetup.py
does not actually use anytorch
functions, this import is unnecessary.