Open AhnLee opened 1 month ago
Faced same problem at first run. Try: !pip install --upgrade accelerate !pip install --upgrade transformers
following version output works for me: Downloading transformers-4.44.0-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 108.4 MB/s eta 0:00:0000:010:01 Downloading safetensors-0.4.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (435 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 435.4/435.4 kB 86.9 MB/s eta 0:00:00 Downloading tokenizers-0.19.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 135.2 MB/s eta 0:00:00
Hi, Thanks for the awesome work.
I wanna run the flux by diffusers code, but I got some tokenizer error like
My tokenizers version is 0.11.1 and I failed to run diffuser flux code. And I tried to run the diffusers flux code with tokenizers with 0.13.3 but also failed.
How can I fix this error?