Hugging Face Forums
Error: The model weights are not tied. Please use the `tie_weights` method before using the `infer_auto_device` function, even after adding model.tie_weights()
Beginners
Falah
July 15, 2023, 6:14am
6
@abhibha
u can resolve it in google colab
show post in topic
Related topics
Topic
Replies
Views
Activity
Meta device error while instantiating model
🤗Accelerate
5
7223
April 1, 2025
How to properly wrap a model for training with accelerate?
🤗Accelerate
1
1353
September 20, 2023
Multi-gpu inference llama-3.2 vision with QLoRA
🤗Accelerate
4
185
April 25, 2025
Does pipline with accelerate use "with init_empty_weights():"?
🤗Accelerate
3
247
April 15, 2024
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cuda:0!
🤗Transformers
28
116007
November 17, 2024