Fix unstructured_data_ingestion: pin accelerate for transformers 4.57…#804
Open
elliot-barn wants to merge 1 commit into
Open
Fix unstructured_data_ingestion: pin accelerate for transformers 4.57…#804elliot-barn wants to merge 1 commit into
elliot-barn wants to merge 1 commit into
Conversation
….3 compat The template pinned transformers==4.57.3 but let accelerate float to an incompatible version, causing a circular import in the runtime_env pip venv when `from transformers import pipeline` runs: ImportError: cannot import name 'dispatch_model' from partially initialized module 'accelerate.big_modeling' (circular import) Pin accelerate==1.10.1 (verified to import transformers.pipeline cleanly with transformers==4.57.3) across all three install paths: - runtime_env packages list (the path the probe traceback runs in) - the README pip install cell - the Dockerfile final RUN pip install README.md regenerated via nbconvert. BYOD template (no python_depset.lock), so no raydepsets recompile. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
is it still relevant after the 2.56 bump ? |
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.
….3 compat
The template pinned transformers==4.57.3 but let accelerate float to an incompatible version, causing a circular import in the runtime_env pip venv when
from transformers import pipelineruns:ImportError: cannot import name 'dispatch_model' from partially
initialized module 'accelerate.big_modeling' (circular import)
Pin accelerate==1.10.1 (verified to import transformers.pipeline cleanly with transformers==4.57.3) across all three install paths:
README.md regenerated via nbconvert. BYOD template (no python_depset.lock), so no raydepsets recompile.