Update MACA

repos 2024-11-06 10:40:58 +08:00
parent e77d7a3ab8
commit e650685812

@ -389,11 +389,13 @@
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')"` 即表明安装成功
```bash ```bash
python -c "import torch; print(torch.ones(2).cuda())" python -c "import torch; print(torch.ones(2).cuda())"
``` ```
## 需要注意 ## 需要注意
### 包依赖 ### 包依赖