1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.4.1+cu121 with CUDA 1201 (you have 2.7.1+cu126)
Python 3.9.20 (you have 3.9.23)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1030, in gcdimport
File "<frozen importlib._bootstrap>", line 1007, in findand_load
File "<frozen importlib._bootstrap>", line 972, in findand_load_unlocked
File "<frozen importlib._bootstrap>", line 228, in callwith_frames_removed
File "<frozen importlib._bootstrap>", line 1030, in gcdimport
File "<frozen importlib._bootstrap>", line 1007, in findand_load
File "<frozen importlib._bootstrap>", line 986, in findand_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in loadunlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in callwith_frames_removed
AttributeError: Cannot set attribute 'src' directly. Use '_unsafe_update_src()' and manually clear .hash of all callersinstead.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Cannot set attribute 'src' directly. Use ' _unsafe_update_src() ' and manually clear .hash of all callersinstead.
|