Test name: test_cat_slice_cat_cuda_dynamic_shapes_cuda_wrapper (__main__.DynamicShapesCudaWrapperCudaTests) Platforms for which to skip the test: linux Disabled by desertfire Within ~15 minutes, test_cat_slice_cat_cuda_dynamic_shapes_cuda_wrapper (__main__.DynamicShapesCudaWrapperCudaTests) ...
如果torch.cuda.is_available()返回False,那么很可能是PyTorch没有安装CUDA支持。 2. 如果不支持,重新安装支持CUDA的PyTorch版本 如果确认PyTorch版本不支持CUDA,您需要根据您的CUDA版本重新安装PyTorch。可以通过PyTorch的官方网站找到适合您CUDA版本的安装命令。例如,如果您的CUDA版本是12.1,可以使用以下命令安装(请根据实...