-
Notifications
You must be signed in to change notification settings - Fork 169
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
Custom CUDA extensions #135
Conversation
@@ -62,5 +62,5 @@ jobs: | |||
pip install ${{ matrix.torch-spec }} | |||
pip install -r requirements.txt | |||
pip install -r dev-requirements.txt | |||
pip install . | |||
python setup.py install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to update README? for building from source, is it python setup.py developer
now? I spent some time to understand why pip install -e .
does not work anymore and find this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
argh, lemme update now
@msaroufim whether CPU kernel extension works with this PR? |
Yup cpu extensions work perfectly fine |
* Custom CUDA extensionsCo-authored-by: Mark Saroufim <marksaroufim@meta.com> * ci fix * add continue on ci fail * add verbose pip logging * update * remove pip upgrade * remove torch from requirements * add python -m * readd upgrade * make everything python pip install * typo * bla * add torch again to dependencies * upd * udpate * one more * bla * uipda * bla * bla * add venv for pytest * skip test if no cuda * push * fix test * fix test * fix skip tests * reuse pip install . * add more debugging tools * yolo * revert yolo change * fix * remove custom install * print torch version * print torch version * teest' * try pip3? * remove pip3 * reshuffling torch install * no deps? * revert nodeps * ad * bla * bla * lazy * use conda and cuda toolkit * push * update * 1 more try * push * bla * bla * conda init * clowntown * this works locally * update * remove cache * push * alternate cuda install command * bla * bla * update * push * bla * bla * bla * bla * bla * bla * yolo * yolo * yolo * yolo * yolo * yolo * yolo * yolo --------- Co-authored-by: Richard Zou <rzou@meta.com>
This is the mergaeble version of #130 - some updates I have to make
conda install nvidia/label/cuda-12.1.0::cuda-toolkit
to get things workingcontinue-on-error: true
to CI otherwise was difficult to debugpython setup.py install
insteadOK for manylinux I managed to repro the missing torch error locally (FINALLY) using this
Follow up PRs