Skip to content

Conversation

@stotko
Copy link
Member

@stotko stotko commented Apr 15, 2025

Usually, automatic cleaning is only necessary if the config step failed or the charonload version is incompatible. However, the installed torch version in the environment might also change and may contain breaking changes. For instance, torch 2.7 will switch to CXX11_ABI=1 (pytorch/pytorch#123649). Detect missing torch versions between JIT compilation runs and perform cleaning in that case.

@stotko stotko added the changed label Apr 15, 2025
@stotko stotko merged commit bfeb90f into main Apr 15, 2025
24 checks passed
@stotko stotko deleted the torch_version_changed_cleaning branch April 15, 2025 15:51
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.

2 participants