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

[hf-diffusers] Use the latest transformers for diffusers #1027

Merged
1 change: 1 addition & 0 deletions tests/pytorch/nightly/hf-diffusers.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ local tpus = import 'templates/tpus.libsonnet';
cd examples/text_to_image
sed '/accelerate/d' requirements.txt > clean_requirements.txt
sed '/torchvision/d' requirements.txt > clean_requirements.txt
sed -i 's/transformers>=.*/transformers>=4.26.0/g' clean_requirements.txt
pip install -r clean_requirements.txt

# Skip saving the pretrained model, which contains invalid tensor storage
Expand Down
Loading