i cant run the model in colab

#10
by diego123 - opened

This error appears to me pls help

Cloning repository to /content/animagine-xl
Installing required Python libraries
Done!
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling transformers.utils.move_cache().
0it [00:00, ?it/s]
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
2024-03-30 23:47:32.385862: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-03-30 23:47:32.385967: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-03-30 23:47:32.500830: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-03-30 23:47:33.924527: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
config.json: 100% 631/631 [00:00<00:00, 3.73MB/s]
diffusion_pytorch_model.safetensors: 100% 335M/335M [00:01<00:00, 186MB/s]
animagine-xl-3.1.safetensors: 100% 6.94G/6.94G [00:58<00:00, 119MB/s]
tokenizer_config.json: 100% 905/905 [00:00<00:00, 6.19MB/s]
vocab.json: 100% 961k/961k [00:00<00:00, 9.13MB/s]
merges.txt: 100% 525k/525k [00:00<00:00, 38.6MB/s]
special_tokens_map.json: 100% 389/389 [00:00<00:00, 2.44MB/s]
tokenizer.json: 100% 2.22M/2.22M [00:00<00:00, 17.7MB/s]
config.json: 100% 4.52k/4.52k [00:00<00:00, 17.6MB/s]
tokenizer_config.json: 100% 904/904 [00:00<00:00, 5.02MB/s]
vocab.json: 100% 862k/862k [00:00<00:00, 10.5MB/s]
merges.txt: 100% 525k/525k [00:00<00:00, 39.7MB/s]
special_tokens_map.json: 100% 389/389 [00:00<00:00, 2.77MB/s]
tokenizer.json: 100% 2.22M/2.22M [00:00<00:00, 42.4MB/s]
config.json: 100% 4.88k/4.88k [00:00<00:00, 22.2MB/s]
^C

Could you tell me the specifications of the computer that executed your code?
(If you are using Google Colab, the type of runtime, etc.)

Im using t4 gpu on Google colab

Could you show me the code you did?

Cagliostro Research Lab org

a few days ago I tried animagine xl 3.1 using colab and there was no error.
but you need to change diffuser code from https://huggingface.co/cagliostrolab/animagine-xl-3.1#%F0%9F%A7%A8-diffusers-installation
image.save("./output/asuka_test.png")
to
image.save("/content/asuka_test.png")
image.png

Sign up or log in to comment