|
|
@@ -65,16 +65,8 @@ 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 torchvision --index-url https://download.pytorch.org/whl/cu118
|
|
|
```
|
|
|
- > [!IMPORTANT]
|
|
|
- > Ensure the following versions are specified in the command:
|
|
|
- >
|
|
|
- > ```
|
|
|
- > torch==2.3.1 torchvision==0.18.1
|
|
|
- > ```
|
|
|
- >
|
|
|
- > These are the highest versions we support. Installing higher versions without specifying them will cause the program to fail.
|
|
|
|
|
|
2. **Modify the value of `"device-mode"`** in the `magic-pdf.json` configuration file located in your user directory.
|
|
|
|