Skip to content

[tmva][sofie] Add support for parsing external ONNX data file for weights#21048

Merged
lmoneta merged 1 commit intoroot-project:masterfrom
lmoneta:tmva_sofie_fix_parser_external_data
Apr 11, 2026
Merged

[tmva][sofie] Add support for parsing external ONNX data file for weights#21048
lmoneta merged 1 commit intoroot-project:masterfrom
lmoneta:tmva_sofie_fix_parser_external_data

Conversation

@lmoneta
Copy link
Copy Markdown
Member

@lmoneta lmoneta commented Jan 27, 2026

Support external_data when parsing the initialized tensor from an ONNX file To test the feture, run tutorial RMVA_SOFIE_ONNX.py changing when exporting to the ONNX file from external_data=False to external_data=True

@lmoneta lmoneta requested a review from sanjibansg January 27, 2026 15:17
@lmoneta lmoneta self-assigned this Jan 27, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 27, 2026

Test Results

    22 files      22 suites   3d 7h 50m 40s ⏱️
 3 833 tests  3 832 ✅  1 💤 0 ❌
76 555 runs  76 537 ✅ 18 💤 0 ❌

Results for commit 5781228.

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown
Collaborator

@sanjibansg sanjibansg left a comment

Choose a reason for hiding this comment

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

Thanks for this implement, couple of comments on using a different local for loop variable.

Comment thread tmva/sofie_parsers/src/RModelParser_ONNX.cxx Outdated
Comment thread tmva/sofie_parsers/src/RModelParser_ONNX.cxx Outdated
@guitargeek guitargeek changed the title [tmv][sofie] Add support for parsing external ONNX data file for weights [tmva][sofie] Add support for parsing external ONNX data file for weights Mar 31, 2026
@guitargeek
Copy link
Copy Markdown
Contributor

This is great! It tripped me up several times that you get silently wrong results with SOFIE when you use external ONNX data files.

Is there anything blocking this PR?

@lmoneta lmoneta force-pushed the tmva_sofie_fix_parser_external_data branch 2 times, most recently from b30d212 to 941b3d1 Compare April 10, 2026 13:32
Copy link
Copy Markdown
Collaborator

@sanjibansg sanjibansg left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for this implementation.

@lmoneta lmoneta force-pushed the tmva_sofie_fix_parser_external_data branch 2 times, most recently from 986600e to 5781228 Compare April 10, 2026 22:11
…ghts

Support external_data when parsing the initialized tensor from an ONNX file
To test the feture, run tutorial RMVA_SOFIE_ONNX.py changing when exporting to the ONNX file from external_data=False to external_data=True
@lmoneta lmoneta force-pushed the tmva_sofie_fix_parser_external_data branch from 5781228 to 105e091 Compare April 11, 2026 07:21
@lmoneta lmoneta merged commit c8d763f into root-project:master Apr 11, 2026
28 of 29 checks passed
@lmoneta lmoneta deleted the tmva_sofie_fix_parser_external_data branch April 11, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants