-
torch-npu 2.2.0
`import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "npu"
# THUDM/glm49bchat
tokenizer = AutoTokenizer.from_pretrained("/home…
-
Hi @NielsRogge
Thank for great sharing traing TrOcr, I step by step as you [guide](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/TrOCR/Fine_tune_TrOCR_on_IAM_Handwriting_Database_…
-
@anijain2305 I tried this call (see complete relevant code below)
```
pre_autograd_aten_dialect = torch.export.export(model, args=(x , x_dict, device), strict=True)
```
removing the ```device``` …
-
## 📚 Installation
**ERROR: Command errored out with exit status 1:**
command: /home/zheyu/anaconda3/envs/new_ogb/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-ins…
-
I use torch=1.4.0, and python=3.6.4
running sh on only one GPU (the corporation condition is poor) -.-
it indicates
/pytorch/aten/src/ATen/native/cuda/LegacyDefinitions.cpp:19: UserWarning: masked…
-
项目下下来简单填了几个answer和question然后跑起来测试,发现可以运行并且效果还不错,就搞了将近2mb的answer和question,在preprocessing阶段通过,开始训练的时候就提示下面的错误了。
THCudaCheck FAIL file=C:/new-builder_3/win-wheel/pytorch/aten/src/ATen/native/cuda/Em…
-
### 🐛 Describe the bug
I observed the following errors while building PyTorch v1.11 with USE_CUDA=0 on ppc64le:
```
/work/aten/src/ATen/cpu/vec/vec256/vsx/vec256_qint8_vsx.h: In static member fun…
-
Epoch 0/59
----------
train Loss: 2.7186 Acc: 0.4082
/pytorch/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn_ClassNLLCriterion_updateOutput_kernel: block: [0,0,0], thread: [0,0,0] Assertion `t >= 0…
-
Dear team, I notice currently tensorrt only supports 4D input GirdSample(see #3207), is there any chance to support 5D input in the future?
-
Hello, I encountered this error while running the code. I downloaded the code and ran it directly. I have installed python 1.6.0, cuda 10.2, cuDNN7.6 and python 3.7. What is the situation, please?
…