NVIDIA-AI-IOT/torch2trt scored 93/100 for ROCm readiness (Ready to run on ROCm). Of 295 CUDA-related findings, 274 work as-is on ROCm PyTorch, 2 need a mechanical HIPify-style change, and 19 are manual blockers. Focus first on the manual blockers — they gate the migration.
Detected but out of scope (not analyzed): C++, C/C++ header, JavaScript
Findings by file
295 findings · 38 filesCTensorRT dependencyimport tensorrt as trt:13
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# examples/contrib/quantization_aware_training/infer.py:13- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveAtorch.cuda API usageargs.cuda = not args.no_cuda and torch.cuda.is_available():19
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.manual_seed(args.seed):24
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
A.cuda() tensor/module movemodel = model.cuda().eval():44
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moverand_in = torch.randn([128,3,32,32],dtype=torch.float32).cuda():55
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
CTensorRT dependencyimport tensorrt as trt:15
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# examples/contrib/quantization_aware_training/train.py:15- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveAtorch.cuda API usageargs.cuda = not args.no_cuda and torch.cuda.is_available():37
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.manual_seed(args.seed):42
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
A.cuda() tensor/module movemodel = model.cuda():66
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = inputs.cuda():107
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movelabels = labels.cuda():108
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodel=model.cuda().eval():151
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moverand_in = torch.randn([128,3,32,32],dtype=torch.float32).cuda():156
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
CTensorRT dependencyimport tensorrt as trt:5
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# examples/easyocr/optimize_detector.py:5- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveAtorch.cuda API usagetorch.cuda.current_stream().synchronize():56
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.current_stream().synchronize():60
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
CTensorRT dependencyimport tensorrt as trt:5
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# examples/easyocr/optimize_recognizer.py:5- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveAtorch.cuda API usagetorch.cuda.current_stream().synchronize():82
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.current_stream().synchronize():86
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
CTensorRT dependencytensorrt==10.0.1:1
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# requirements/requirements_10.txt:1- tensorrt==10.0.1+ tensorrt==10.0.1 # advisory: see ROCm note aboveCTensorRT dependencytensorrt==8.6.1:1
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# requirements/requirements_8.txt:1- tensorrt==8.6.1+ tensorrt==8.6.1 # advisory: see ROCm note aboveCTensorRT dependencyimport tensorrt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# setup.py:2- import tensorrt+ import tensorrt # advisory: see ROCm note aboveCTensorRT dependencyimport tensorrt as trt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# tests/feature_tests/test_dataset_calibrator.py:2- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveA.cuda() tensor/module moveself.conv = nn.Conv2d(3, 6, kernel_size=3, stride=1, padding=1).cuda().eval():20
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:28
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda():29
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():32
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:49
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda():50
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveself.conv = nn.Conv2d(3, 6, kernel_size=3, stride=1, padding=1).cuda().eval():66
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:74
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda():75
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():78
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:95
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda():96
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
CTensorRT dependencyimport tensorrt as trt:4
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# tests/feature_tests/test_dynamic_shape.py:4- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveA.cuda() tensor/module movemodule = nn.Conv2d(3, 6, kernel_size=3, stride=1, padding=1).cuda().eval():13
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(1, 3, 224, 224).cuda(),)):16
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(1, 3, 64, 64).cuda(),)):17
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(1, 3, 128, 128).cuda(),)):18
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(4, 3, 32, 32).cuda(),)):19
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.Conv2d(3, 6, kernel_size=3, stride=1, padding=1).cuda().eval():41
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(1, 3, 224, 224).cuda(),)):44
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(1, 3, 64, 64).cuda(),)):45
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(1, 3, 128, 128).cuda(),)):46
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedataset.insert((torch.randn(4, 3, 32, 32).cuda(),)):47
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
CTensorRT dependencyimport tensorrt as trt:3
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/__init__.py:3- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveCTensorRT dependencyimport tensorrt as trt:3
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/contrib/qat/converters/QuantConv.py:3- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveADevice string "cuda"@add_module_test(torch.float32, torch.device('cuda'), [(1, 10, 224, 224)], enabled=trt_version() >= '7.0'):62
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
CTensorRT dependencyimport tensorrt as trt:3
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/contrib/qat/converters/QuantConvBN.py:3- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveADevice string "cuda"@add_module_test(torch.float32, torch.device('cuda'), [(1, 10, 224, 224)], enabled=trt_version() >= '7.0'):62
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
CTensorRT dependencyimport tensorrt as trt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/contrib/qat/converters/QuantRelu.py:2- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveCTensorRT dependencyimport tensorrt as trt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/dataset_calibrator.py:2- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveCTensorRT dependencyimport tensorrt as trt:3
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/misc_utils.py:3- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveADevice string "cuda"if device.type == torch.device("cuda").type::41
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"return torch.device("cuda"):51
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
CTensorRT dependencyimport tensorrt as trt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/torch2trt.py:2- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveCTensorRT dependencyimport tensorrt as trt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/trt_module.py:2- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveAtorch.cuda API usagebindings, torch.cuda.current_stream().cuda_stream:121
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usageself.context.execute_async_v3(torch.cuda.current_stream().cuda_stream):154
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
CTensorRT dependencyimport tensorrt as trt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/utils.py:2- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveCTensorRT dependencyimport tensorrt as trt:2
TensorRT is an NVIDIA-only inference compiler with no ROCm equivalent. Migration means re-targeting to MIGraphX / ONNX Runtime-ROCm and revalidating accuracy.
RecommendRe-implement the inference path on AMD MIGraphX or ORT-ROCm.
# torch2trt/version_utils.py:2- import tensorrt as trt+ import tensorrt as trt # advisory: see ROCm note aboveBCustom CUDA kernels (.cu/.cuh)CUDA kernel sourcefile
Hand-written .cu/.cuh kernels compile only with nvcc. AMD's HIPify tools translate the vast majority of CUDA C++ to HIP automatically.
RecommendRun hipify-perl over the .cu/.cuh sources and build with hipcc.
# plugins/src/example_plugin.cu:?- CUDA kernel source+ CUDA kernel source # advisory: see ROCm note aboveBCustom CUDA kernels (.cu/.cuh)CUDA kernel sourcefile
Hand-written .cu/.cuh kernels compile only with nvcc. AMD's HIPify tools translate the vast majority of CUDA C++ to HIP automatically.
RecommendRun hipify-perl over the .cu/.cuh sources and build with hipcc.
A.cuda() tensor/module moveimages = images.cuda():217
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movelabels = labels.cuda():218
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
Atorch.cuda API usagetorch.cuda.synchronize():233
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.synchronize():241
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.current_stream().synchronize():24
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.current_stream().synchronize():28
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.current_stream().synchronize():38
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
Atorch.cuda API usagetorch.cuda.current_stream().synchronize():42
Calls under torch.cuda.* are aliased by ROCm builds of PyTorch. The same code runs on AMD Instinct GPUs unchanged — torch.cuda.is_available(), streams, events and AMP all map onto HIP.
RecommendNo change required. Install the ROCm build of PyTorch (pip install torch --index-url https://download.pytorch.org/whl/rocm6.1).
A.cuda() tensor/module movemodel = model.cuda().eval():121
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(self.batch_size, 3, self.size, self.size).cuda():122
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(self.batch_size, 3, self.size, self.size).cuda():150
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(self.batch_size, 3, self.size, self.size).cuda():162
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.leaky_relu(x)).cuda().eval():64
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda()]:65
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.elu(x)).cuda().eval():71
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda()]:72
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.selu(x)).cuda().eval():78
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda()]:79
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.selu(x)).cuda().eval():85
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda()]:86
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.softplus(x)).cuda().eval():92
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda()]:93
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.adaptive_avg_pool2d(x, output_size)).cuda().eval():103
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4, 4).cuda()]:104
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.adaptive_avg_pool3d(x, output_size)).cuda().eval():114
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4, 4, 4).cuda()]:115
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.adaptive_max_pool2d(x, output_size)).cuda().eval():125
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4, 4).cuda()]:126
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.adaptive_max_pool3d(x, output_size)).cuda().eval():136
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4, 4, 4).cuda()]:137
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda a, b: a + b).cuda().eval():142
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda(), torch.randn(1, 3, 4).cuda()]:143
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda a, b: torch.add(a, b)).cuda().eval():148
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda(), torch.randn(1, 3, 4).cuda()]:149
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = IAdd().cuda().eval():162
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.ones(1, 3, 4).cuda(), torch.ones(1, 3, 4).cuda()]:163
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: 1 + x).cuda().eval():168
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda()]:169
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: 1.0 + x).cuda().eval():174
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda()]:175
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.Sequential(*modules).cuda().eval():199
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*input_size).cuda()]:203
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.cat([x, x], dim=dim)).cuda().eval():209
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 3).cuda()]:210
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.chunk(x, chunks, dim)).cuda().eval():219
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 3).cuda()]:220
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.split(x, split_sections_or_size, dim)).cuda().eval():230
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 3).cuda()]:231
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.clamp(x, min, max)).cuda().eval():241
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 8, 8).cuda()]:242
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: x.clone()).cuda().eval():247
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 8, 8).cuda()]:248
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: x > y).cuda().eval():253
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 4).cuda(), torch.randn(1, 4, 4).cuda()]:254
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: x > 0).cuda().eval():260
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 4).cuda()]:261
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: x < y).cuda().eval():266
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 4).cuda(), torch.randn(1, 4, 4).cuda()]:267
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: x < 0).cuda().eval():273
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 4).cuda()]:274
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: x == y).cuda().eval():278
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.zeros(1, 4, 4).cuda(), torch.zeros(1, 4, 4).cuda()]:279
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: x == 0).cuda().eval():287
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.zeros(1, 4, 4).cuda()]:288
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = cls(3, 3,:322
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*shape).cuda()]:331
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = cls(3, 3,:364
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*shape).cuda()]:373
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: x / y).cuda().eval():378
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 4).cuda(), torch.ones(1, 4, 4).cuda()*2]:379
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: x / val).cuda().eval():386
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 4).cuda()]:387
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(fn).cuda().eval():398
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.ones(1, 4, 4).cuda()]:399
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: torch.einsum(einsum_expr, x, y)).cuda().eval():409
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 4).cuda(), torch.randn(1, 4, 5).cuda()]:410
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: x.expand(*sizes)).cuda().eval():422
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(3, 1).cuda()]:423
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.flatten(x, start_dim, end_dim)).cuda().eval():436
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 2, 3, 4, 5).cuda()]:437
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: x // y).cuda().eval():443
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.ones(1, 2, 3, 4, 5).cuda()]:444
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: x // scalar).cuda().eval():455
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 2, 3).cuda()]:456
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.GELU().cuda().eval():461
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 2, 3).cuda()]:462
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: expr(x)).cuda().eval():474
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 2, 3, 4).cuda()]:475
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.GroupNorm(num_groups, num_channels, affine=affine).cuda().eval():486
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, num_channels, 3, 4).cuda()]:487
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*shape).cuda()]:497
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.interpolate(:517
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*input_size).cuda()]:524
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.LayerNorm(8).cuda().eval():530
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 8).cuda()]:532
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.Linear(4, 8).cuda().eval():539
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*input_shapes).cuda()]:540
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.LogSoftmax(dim).cuda().eval():546
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 2).cuda()]:547
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: torch.matmul(x, y)).cuda().eval():558
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*shape_a).cuda(), torch.randn(*shape_b).cuda()]:560
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = cls(kernel_size,stride,padding,dilation,ceil_mode=ceil_mode).cuda().eval():578
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*input_size).cuda()]:580
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = cls(kernel_size,stride,padding,ceil_mode=ceil_mode, count_include_pad=count_include_pad).cuda().eval():597
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*input_size).cuda()]:599
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(fn).cuda().eval():613
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 3).cuda(), torch.randn(1, 3, 3).cuda()]:614
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(unary_1d_randn_ops[op]).cuda().eval():674
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 3).cuda()]:675
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(unary_1d_positive_ops[op]).cuda().eval():696
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [0.5 * torch.ones(1, 3, 3).cuda()]:697
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(op_map[op]).cuda().eval():711
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 3, 3).cuda()]:713
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.narrow(x, dim, start, length)).cuda().eval():723
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(3, 3).cuda()]:725
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = BinaryModule(lambda x, y: x != y).cuda().eval():730
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.zeros(1, 3, 3).cuda()]:731
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(lambda x: torch.nn.functional.normalize(x, p, dim)).cuda().eval():741
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.zeros(1, 3, 3).cuda()]:742
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(:752
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(3, 3, 4, 2).cuda()]:757
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(:767
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(*sizes).cuda()]:772
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = UnaryModule(fn).cuda().eval():796
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 2).cuda()]:797
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = nn.PReLU(4).cuda().eval():802
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveinputs = [torch.randn(1, 4, 3, 3).cuda()]:803
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = YOLOXFocusTestModule().cuda().eval():48
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():50
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():54
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(4, 3, 112, 112).cuda():57
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():82
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():84
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():88
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(4, 3, 112, 112).cuda():91
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():116
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():118
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():122
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(4, 3, 112, 112).cuda():125
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():150
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():152
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 112, 112).cuda():156
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(4, 3, 112, 112).cuda():159
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movenet.eval().cuda():10
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetest_tensor = torch.randn((1, 25, 25, 3)).cuda().permute((0, 3, 1, 2)):12
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveself.conv = nn.Conv2d(3, 6, kernel_size=3, stride=1, padding=1).cuda().eval():54
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:62
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda():63
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():66
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveself.conv = nn.Conv2d(3, 6, kernel_size=3, stride=1, padding=1).cuda().eval():85
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:93
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda():94
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():97
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module moveself.conv = nn.Conv2d(3, 6, kernel_size=3, stride=1, padding=1).cuda().eval():116
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
ADevice string "cuda"device = torch.device('cuda:0'):123
The literal device string "cuda" resolves to the active AMD GPU on ROCm PyTorch. .to("cuda") / device="cuda" need no edits.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = FlattenModule(start_dim=0, end_dim=-1).cuda().eval():19
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 4, 5).cuda():21
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 4, 5).cuda():25
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 4, 5).cuda():28
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = FlattenModule(start_dim=1, end_dim=-1).cuda().eval():34
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 4, 5).cuda():36
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 4, 5).cuda():40
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 4, 5).cuda():43
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = FlattenModule(start_dim=0, end_dim=1).cuda().eval():49
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 4, 5).cuda():51
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 4, 5).cuda():55
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 4, 5).cuda():58
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():13
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:16
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda(),:18
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movetorch.randn(1, 3, 32, 32).cuda():19
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():17
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():19
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():25
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 64, 64).cuda():28
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():39
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():41
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():47
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 64, 64).cuda():50
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodel = nn.Conv2d(3, 6, kernel_size=1).cuda().eval():8
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 32, 32).cuda():10
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, 32, 32).cuda():15
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(4, 3, 32, 32).cuda():22
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodel = nn.Conv1d(10, 20, kernel_size=1).cuda().eval():30
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 10, 32).cuda():32
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 10, 32).cuda():37
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(4, 10, 32).cuda():44
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodel = torch.nn.Conv2d(3, 3, 1).cuda().eval().half():8
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn((1, 3, 224, 224)).cuda().half():9
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = NotEqual().cuda().eval():14
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 40, 20).cuda():16
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movey = torch.randn(1, 3, 1, 20).cuda():17
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = DivConstantBatch().cuda().eval():15
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 10, 10).cuda():17
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():19
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():21
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():27
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 32, 32).cuda():30
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():41
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():43
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():47
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 32, 32).cuda():50
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():61
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():63
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():67
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 32, 32).cuda():70
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():81
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():83
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():87
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 32, 32).cuda():90
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():101
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():103
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():107
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 32, 32).cuda():110
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():121
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():123
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():127
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(4, 3, 32, 32).cuda():130
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodule = TestModule().cuda().eval():141
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():143
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movex = torch.randn(1, 3, 32, 32).cuda():147
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodel = model.cuda():12
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, *shape).cuda():13
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module move_cross_validate_module(maxvit_tiny_rw_224().cuda().eval(), (224, 224)):21
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module move_cross_validate_module(maxvit_rmlp_small_rw_224().cuda().eval(), (224, 224)):25
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodel = model.cuda().eval():7
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, *shape).cuda():8
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, *shape).cuda():10
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movemodel = model.cuda().eval():15
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, *shape).cuda():16
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.
A.cuda() tensor/module movedata = torch.randn(1, 3, *shape).cuda():18
.cuda() on tensors and modules is honoured by ROCm PyTorch and moves data to the AMD GPU. No change needed.
RecommendNo change required on ROCm PyTorch.