Skip to content
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

Add options to specify directory with ONNX initializer files #293

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

ljfitz
Copy link
Collaborator

@ljfitz ljfitz commented Feb 11, 2025

Add an option to support models that are usually loaded with explicit paths to initializer data using https://onnx.ai/onnx/api/external_data_helper.html#load-external-data-for-model with a base_dir that is different to the location of the model file.

@ljfitz ljfitz force-pushed the ljfitz.external_data_dir_opt branch from ee3abc3 to 17fb894 Compare February 11, 2025 11:12
Copy link

@jimw567 jimw567 left a comment

Choose a reason for hiding this comment

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

looks good

@jimw567 jimw567 merged commit 8d6f345 into feature/onnx-to-tosa Feb 11, 2025
6 checks passed
@jimw567 jimw567 deleted the ljfitz.external_data_dir_opt branch February 11, 2025 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants