Update MACA

repos 2024-11-06 10:41:41 +08:00
parent e650685812
commit 9bf7889727

@ -388,7 +388,7 @@
export CUCC_PATH=/opt/maca/tools/cu-bridge/ export CUCC_PATH=/opt/maca/tools/cu-bridge/
export PATH=${CUCC_PATH}/tools:${CUCC_PATH}/bin:${PATH} export PATH=${CUCC_PATH}/tools:${CUCC_PATH}/bin:${PATH}
``` ```
- ** 执行以下命令,如果输出 "tensor([1., 1.], device='cuda:0')" 即表明安装成功** - ** 执行以下命令,如果输出 `"tensor([1., 1.], device='cuda:0')"` 即表明安装成功**
- 执行以下命令,会输出 `"tensor([1., 1.], device='cuda:0')"` 即表明安装成功 - 执行以下命令,会输出 `"tensor([1., 1.], device='cuda:0')"` 即表明安装成功
```bash ```bash
python -c "import torch; print(torch.ones(2).cuda())" python -c "import torch; print(torch.ones(2).cuda())"