Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pin from transformers version and fix Processing/Threading issues in tests #6822

Merged
merged 15 commits into from
Dec 16, 2024

Conversation

loadams
Copy link
Contributor

@loadams loadams commented Dec 5, 2024

Changes from huggingface/transformers#34966 caused the nv-torch-latest-v100 tests to fail with the following error:

  File "/tmp/azureml/cr/j/e4bfd57a509846d6bbc4914639ad248d/exe/wd/actions-runner/_work/DeepSpeed/DeepSpeed/unit-test-venv/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3941, in from_pretrained
    raise EnvironmentError(
OSError: Can't load the model for 'hf-internal-testing/tiny-random-VisionEncoderDecoderModel-vit-gpt2'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'hf-internal-testing/tiny-random-VisionEncoderDecoderModel-vit-gpt2' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.

Sample failure here: https://github.com/microsoft/DeepSpeed/actions/runs/12169422174/job/33942348835?pr=6794#step:8:3506

This was resolved on the Transformers side here: huggingface/transformers#35236

loadams added a commit that referenced this pull request Dec 5, 2024
…rror. (#6823)

This is a copy of #6820 for
the cpu-torch-latest tests.

This PR will revert/fix these:
#6822
@loadams loadams merged commit 87c6506 into master Dec 16, 2024
9 of 10 checks passed
@loadams loadams deleted the loadams/unpin-transformers-download-model branch December 16, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant