Skip to content

fix: Fix PyTorch Default Initialization#484

Merged
whoisj merged 2 commits intomainfrom
jwyman/fix-pt2
Apr 6, 2026
Merged

fix: Fix PyTorch Default Initialization#484
whoisj merged 2 commits intomainfrom
jwyman/fix-pt2

Conversation

@whoisj
Copy link
Copy Markdown
Contributor

@whoisj whoisj commented Apr 3, 2026

This change fixes a bug in Core's model configuration utilities that incorrectly defined model.pt as the default filename for AOTI (.pt2) model archives when platform: torch_aoti is selected.

whoisj added 2 commits April 1, 2026 11:31
This change improves the mechanism for determining if a given model should be loaded using the PyTorch backend.
Additionally, this change improves the determining which of the two supported PyTorch backend platforms to use based on config.pbtxt values,
and by looking at the model folder on disk for files that match the default model names for the `libtorch` and `torch_aoti` platforms.
@whoisj whoisj requested a review from yinggeh April 3, 2026 15:57
@whoisj whoisj added bug Something isn't working PR: fix A bug fix labels Apr 3, 2026
@whoisj whoisj merged commit ee0bc47 into main Apr 6, 2026
1 check passed
@whoisj whoisj deleted the jwyman/fix-pt2 branch April 6, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working PR: fix A bug fix

Development

Successfully merging this pull request may close these issues.

2 participants