-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
[Doc] Update pip install instruction for testing dependencies #17963
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,7 +32,9 @@ Check out the [building from source](#build-from-source) documentation for detai | |
| ## Testing | ||
|
|
||
| ```bash | ||
| pip install -r requirements/dev.txt | ||
| # The following command assumes CUDA 12.8. For CPU-only, other CUDA versions, | ||
| # or ROCm, etc., adjust the torch installation as needed. | ||
| pip install -r requirements/dev.txt --extra-index-url https://download.pytorch.org/whl/cu128 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This only applies for developers using CUDA though. How about other backends?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for pointing this out! However, since
Let me know which direction you'd prefer. I'm happy to update the PR accordingly.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @houseroad @mgoin |
||
|
|
||
| # Linting, formatting and static type checking | ||
| pre-commit install --hook-type pre-commit --hook-type commit-msg | ||
|
|
||
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.
Hi there, I added the comment to make it clearer.
@DarkLight1337 @houseroad @mgoin