Error in model loading
#4
by
martineden
- opened
Hi martineden,
Thank you for your feedback.
We have addressed this issue with an updated code example. Please check the newly updated model card.
Please also install the 'transformers' package from the 'main' branch as the model card states.
Hello,
How can we solve this error ?
Thank you,
Reinstall transformers with pip install git+https://github.com/huggingface/transformers.git
.
Then it will work.
<|user|>
What is shown in this image?
<|assistant|>
The image displays a radar chart comparing the performance of various machine learning models.
2025-02-07 06:35:46.157063: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1738910146.246663 9044 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1738910146.271573 9044 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-02-07 06:35:46.321332: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.48, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
Loading checkpoint shards: 100%|ββββββββββ| 2/2 [00:02<00:00, 1.06s/it]
Fixed Model Card to include instructions on how to build transformers from source. Commit: fb78cf407df484a5c14c5ef684d8000bd959a2d2
Closing this issue for now.
aarbelle
changed discussion status to
closed