new_value = value.to(device)
RuntimeError: CUDA error: out of memory
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
运行
python3 GOT/demo/run_ocr_2.0.py --model-name ./GOT_weights/ --image-file image/mapping.jpg --type ocr
报错,看起来像是显存溢出?这个默认跑起来需要多大显存呢?能否配置