DataLore — ImportError: cannot import name 'FLAX_WEIGHTS_NAME'
Hi guys! I work in DataLore, a service for jupiter notebooks like Colab. I try to importDDPMScheduler, UNet2DModelfromdiffusersand receive this error:ImportError: cannot import name 'FLAX_WEIGHTS_NAME' from 'transformers.utils' (/opt/python/envs/default/lib/python3.8/site-packages/transformers/utils/__init__.py)Btw, in Colab it works fine. How to fix this in DataLore?
2023-03-29T09:59:57Z
Hi@chudotony, I’m not familiar with DataLore unfortunately. Would it be possible for you to upgradetransformersto the latest version?
2023-04-13T09:08:58Z
Hi, I updated from 4.14 to 4.28 and now it works! Thanks!