Hugging Face Forums
Cannot pin 'torch.cuda.LongTensor' only dense CPU tensors can be pinned
🤗Transformers
Shxck69
October 3, 2023, 7:05pm
1
Have an error when i try to train the model using a gpu with pytorch
HoKa
September 26, 2024, 10:50pm
2
Could you resolve it so far?
Related topics
Topic
Replies
Views
Activity
T5 Model For Summarization On GPU
Beginners
0
350
February 1, 2024
Using Trainer with LayoutXLM for classification
Beginners
1
1326
May 3, 2023
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cuda:0!
🤗Transformers
28
116808
November 17, 2024
Spaces not working with zerogpu on the paid planm
🤗Transformers
2
25
April 1, 2026
Error when fine-tuning on multi-gpu
🤗Transformers
1
1026
February 17, 2025