-
Notifications
You must be signed in to change notification settings - Fork 176
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
fix: fix PyTorch model extension in simplify #1596
Conversation
Signed-off-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Jinzhe Zeng <[email protected]>
WalkthroughWalkthroughThis update enhances the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant run_model_devi
participant _get_model_suffix
participant FileSystem
User->>run_model_devi: Call with iter_index, jdata, mdata
run_model_devi->>_get_model_suffix: Retrieve suffix from jdata
_get_model_suffix-->>run_model_devi: Return suffix
run_model_devi->>FileSystem: Search for files with pattern "graph*{suffix}"
FileSystem-->>run_model_devi: Return list of model files
run_model_devi->>run_model_devi: Assert length of model files > 0
run_model_devi-->>User: Continue processing or raise error
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 Configuration File (
|
Signed-off-by: Jinzhe Zeng <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #1596 +/- ##
==========================================
+ Coverage 49.51% 49.52% +0.01%
==========================================
Files 83 83
Lines 14870 14872 +2
==========================================
+ Hits 7363 7366 +3
+ Misses 7507 7506 -1 ☔ View full report in Codecov by Sentry. |
Fixed the RTD build in #1597. |
Summary by CodeRabbit
Bug Fixes
Tests