Skip to content

Conversation

@gigony
Copy link
Collaborator

@gigony gigony commented Jul 21, 2025

  • Updated copyright notice to reflect the years 2021-2025.
  • Enhanced the logic for identifying TorchScript models by clarifying the required files and directories in the zip archive format.

Address #544

- Updated copyright notice to reflect the years 2021-2025.
- Enhanced the logic for identifying TorchScript models by clarifying the required files and directories in the zip archive format.

Signed-off-by: Gigon Bae <[email protected]>
@gigony gigony requested a review from MMelQin July 21, 2025 21:21
@gigony gigony self-assigned this Jul 21, 2025
@gigony gigony added bug Something isn't working enhancement New feature or request labels Jul 21, 2025
@sonarqubecloud
Copy link

Copy link
Collaborator

@MMelQin MMelQin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gigony for addressing this!

Edit after the merge: TorchScript itself does not save constants in a constants folder in the archive, see here, and the model file mentioned in the issue was exported with --trt_export flag, so it is the MONAI Bundle that added the constants folder instead of constants.pkl for trt optimized model.

@gigony gigony merged commit dec9305 into main Jul 22, 2025
5 checks passed
@MMelQin MMelQin deleted the gbae/fix_torch_script_fix branch November 5, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants