Skip to content

[tmva][sofie] Translate PyTorch parser to Python#22763

Merged
guitargeek merged 2 commits into
root-project:masterfrom
guitargeek:pytorch_parser
Jul 9, 2026
Merged

[tmva][sofie] Translate PyTorch parser to Python#22763
guitargeek merged 2 commits into
root-project:masterfrom
guitargeek:pytorch_parser

Conversation

@guitargeek

Copy link
Copy Markdown
Contributor

Implementing the PyTorch parser directly in Python is easier and less error prone than using the C Python API from C++.

🤖 Done with the help of AI.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 17h 48m 44s ⏱️
 3 875 tests  3 854 ✅   0 💤 21 ❌
78 826 runs  78 577 ✅ 228 💤 21 ❌

For more details on these failures, see this check.

Results for commit 8be06b4.

♻️ This comment has been updated with latest results.

@guitargeek guitargeek force-pushed the pytorch_parser branch 2 times, most recently from 5b33960 to 563100a Compare July 6, 2026 20:50
@guitargeek guitargeek marked this pull request as ready for review July 7, 2026 06:14
Python is a natural choice for this tutorial, becuase if the user
already trained a model with PyTorch in Python, it makes sense to also
do the model parsing from SOFIE to Python. That's why we're also
planning to remote the C++ entry point to the PyTorch parser in the
future.

🤖 Done with the help of AI.
Implementing the PyTorch parser directly in Python is easier and less
error prone than using the C Python API from C++.

🤖 Done with the help of AI.

@lmoneta lmoneta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!
Thank you Jonas for move the PyTorch parser from C++ to Python

@guitargeek guitargeek merged commit 590381f into root-project:master Jul 9, 2026
57 of 60 checks passed
@guitargeek guitargeek deleted the pytorch_parser branch July 9, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants