graykode / graykode/nlp-tutorial
Transformer/Transformer(Greedy_decoder)-Torch.py on gpu
Abierto
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 14.9k
- Forks
- 3.9k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hello, I want to put the Transformer (Greedy_decoder)-Torch.py code on the gpu, using model=model.to(device), input_data also to (device), but the error still appears "Expected object of backend CUDA but backend CPU for argument #2 'mat2”
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.