Fix by avoiding failure for triton kernels in pickling error#3200
Open
nemanjaudovic wants to merge 1 commit intorelease/2.12from
Open
Fix by avoiding failure for triton kernels in pickling error#3200nemanjaudovic wants to merge 1 commit intorelease/2.12from
nemanjaudovic wants to merge 1 commit intorelease/2.12from
Conversation
Cherry-pick of a5791f3 from upstream pytorch. Fixes _pickle.PicklingError when AOTAutogradCache tries to serialize a compiled graph containing launcher functions created via exec() in a throwaway namespace.
|
Jenkins build for 9023ac176f4814cbfb1c79025bd254f54291c7df commit finished as FAILURE Detected error during base docker image building: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The following error was encountered when running some models using pytorch 2.12 and vllm:
It is present on release/2.12 branch.
Technical Details
Fix for this error already exists on upstream pytorch repo.
Cherry-pick of a5791f3 from upstream pytorch.
Test Plan
Error was encountered running this command:
Test Result
After applying this cherry pick workload runs without crashing, and AOT cache is able to be saved.