|
|
@@ -65,7 +65,7 @@ If your graphics card has at least 8GB of VRAM, follow these steps to test CUDA-
|
|
|
1. **Overwrite the installation of torch and torchvision** supporting CUDA.
|
|
|
|
|
|
```
|
|
|
- pip install --force-reinstall torch==2.3.1 torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cu118
|
|
|
+ pip install --force-reinstall torch==2.3.1 torchvision==0.18.1 "numpy<2.0.0" --index-url https://download.pytorch.org/whl/cu118
|
|
|
```
|
|
|
|
|
|
2. **Modify the value of `"device-mode"`** in the `magic-pdf.json` configuration file located in your user directory.
|