graykode / graykode/nlp-tutorial
Transformer/Transformer(Greedy_decoder)-Torch.py on gpu
オープン
- 主要言語
- Jupyter Notebook
- スター
- 14.9k
- フォーク
- 3.9k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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”
コントリビューションガイド
評価
この issue はまだ評価されていません。