-
Notifications
You must be signed in to change notification settings - Fork 528
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
docs: document PYTORCH_ROOT
#3981
Conversation
Signed-off-by: Jinzhe Zeng <[email protected]>
WalkthroughWalkthroughThe recent update introduces a new environment variable, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Build System
participant PyPI
participant PyTorch Default Path
User->>Build System: Set PYTORCH_ROOT
Build System-->>PyTorch Default Path: Check if PyTorch library exists
alt Library Exists
PyTorch Default Path-->>Build System: Confirm existence
Build System-->>User: Use specified PyTorch library
else Library Does Not Exist
Build System->>PyPI: Fetch latest version of PyTorch
PyPI-->>Build System: Provide latest PyTorch library
Build System-->>User: Use latest PyTorch library from PyPI
end
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #3981 +/- ##
==========================================
- Coverage 82.83% 82.83% -0.01%
==========================================
Files 522 522
Lines 50872 50872
Branches 3015 3015
==========================================
- Hits 42142 42138 -4
- Misses 7795 7797 +2
- Partials 935 937 +2 ☔ View full report in Codecov by Sentry. |
d444af4
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Introduced a new environment variable `PYTORCH_ROOT` for specifying the path to the PyTorch Python library. This variable is detected automatically to support building against the latest PyTorch version from PyPI. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Summary by CodeRabbit
PYTORCH_ROOT
for specifying the path to the PyTorch Python library. This variable is detected automatically to support building against the latest PyTorch version from PyPI.