-
Notifications
You must be signed in to change notification settings - Fork 584
Chore(pt): add --model-branch as alias
#4730
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
Conversation
📝 WalkthroughWalkthroughThe command-line interface in Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI (deepmd/main.py)
participant Freeze/Test Logic
User->>CLI (deepmd/main.py): Run "dp ... freeze --model-branch model_1"
CLI (deepmd/main.py)->>Freeze/Test Logic: Parse --model-branch (alias for --head)
Freeze/Test Logic-->>CLI (deepmd/main.py): Execute freeze/test with selected model branch
CLI (deepmd/main.py)-->>User: Output results
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Graph Analysis (1)source/tests/pt/test_dp_show.py (1)
⏰ Context from checks skipped due to timeout of 90000ms (29)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## devel #4730 +/- ##
=======================================
Coverage 84.80% 84.81%
=======================================
Files 696 696
Lines 67269 67268 -1
Branches 3541 3540 -1
=======================================
Hits 57050 57050
+ Misses 9087 9086 -1
Partials 1132 1132 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit
New Features
--model-branch, for the--headargument in the "freeze" and "test" subcommands. Both options can now be used interchangeably.Tests
--model-branchargument in command-line examples, ensuring compatibility with the updated interface.