Skip to content

Commit

Permalink
Update hf-diffusers.libsonnet to require Pillow >= 9.4.0 (#1051)
Browse files Browse the repository at this point in the history
This is to fix failing Pytorch/XLA diffusers tests. One of the dependencies requires the version of pillow to be greater than 9.4.0 https://github.com/huggingface/datasets/pull/6883/files
but we will have to wait for a new release of the dependency for a new version to be released. Temporarily fixing this by adding this line
  • Loading branch information
bhavya01 authored May 30, 2024
1 parent ac4a601 commit 08b7bda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/pytorch/nightly/hf-diffusers.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ local tpus = import 'templates/tpus.libsonnet';
sed '/accelerate/d' requirements.txt > clean_requirements.txt
sed '/torchvision/d' requirements.txt > clean_requirements.txt
sed -i 's/transformers>=.*/transformers>=4.36.2/g' clean_requirements.txt
echo "Pillow>=9.4.0" >> clean_requirements.txt
pip install -r clean_requirements.txt
# Skip saving the pretrained model, which contains invalid tensor storage
Expand Down

0 comments on commit 08b7bda

Please sign in to comment.