state-spaces/mamba scored 88/100 for ROCm readiness (Manual blockers present). Of 268 CUDA-related findings, 203 work as-is on ROCm PyTorch, 63 need a mechanical HIPify-style change, and 2 are manual blockers. Focus first on the manual blockers — they gate the migration.
Detected but out of scope (not analyzed): C++, C/C++ header
Findings by file
268 findings · 57 filesCcuda-python low-level driver APIimport cuda.bindings.driver as cuda:12
cuda-python (from cuda import cudart/cuda) wraps the CUDA driver directly. There is no drop-in ROCm binding; the driver calls must be rewritten against HIP.
RecommendRewrite driver-API calls against the HIP runtime.
# mamba_ssm/ops/cute/mamba3/mamba3_step_fn.py:12- import cuda.bindings.driver as cuda+ import cuda.bindings.driver as cuda # advisory: see ROCm note aboveADevice string "cuda"device = torch.device("cuda:0"):823
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.
BTriton dependencyfrom triton.testing import do_bench_cudagraph:930
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
# mamba_ssm/ops/cute/mamba3/mamba3_step_fn.py:930- from triton.testing import do_bench_cudagraph+ from triton.testing import do_bench_cudagraph # advisory: see ROCm note aboveCInline PTX assembly"--ptxas-options=-v",:240
Inline PTX is NVIDIA ISA and cannot run on AMD. The block must be hand-rewritten in HIP/GCN or replaced with a portable path.
RecommendRewrite the PTX block in HIP or a portable high-level equivalent.
# setup.py:240- "--ptxas-options=-v",+ "--ptxas-options=-v", # 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.
# csrc/selective_scan/reverse_scan.cuh:?- 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.
# csrc/selective_scan/selective_scan_bwd_bf16_complex.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.
# csrc/selective_scan/selective_scan_bwd_bf16_real.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.
# csrc/selective_scan/selective_scan_bwd_fp16_complex.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.
# csrc/selective_scan/selective_scan_bwd_fp16_real.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.
# csrc/selective_scan/selective_scan_bwd_fp32_complex.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.
# csrc/selective_scan/selective_scan_bwd_fp32_real.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.
# csrc/selective_scan/selective_scan_bwd_kernel.cuh:?- 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.
# csrc/selective_scan/selective_scan_fwd_bf16.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.
# csrc/selective_scan/selective_scan_fwd_fp16.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.
# csrc/selective_scan/selective_scan_fwd_fp32.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.
# csrc/selective_scan/selective_scan_fwd_kernel.cuh:?- 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.
# csrc/selective_scan/uninitialized_copy.cuh:?- CUDA kernel source+ CUDA kernel source # advisory: see ROCm note aboveBFlashAttention dependencyfrom flash_attn import flash_attn_with_kvcache:11
FlashAttention has an official ROCm/CK implementation. Swapping the wheel (or using PyTorch SDPA) is mechanical.
RecommendInstall the ROCm FlashAttention build or fall back to torch SDPA.
# mamba_ssm/modules/mha.py:11- from flash_attn import flash_attn_with_kvcache+ from flash_attn import flash_attn_with_kvcache # advisory: see ROCm note aboveBFlashAttention dependencyfrom flash_attn.layers.rotary import RotaryEmbedding:16
FlashAttention has an official ROCm/CK implementation. Swapping the wheel (or using PyTorch SDPA) is mechanical.
RecommendInstall the ROCm FlashAttention build or fall back to torch SDPA.
# mamba_ssm/modules/mha.py:16- from flash_attn.layers.rotary import RotaryEmbedding+ from flash_attn.layers.rotary import RotaryEmbedding # advisory: see ROCm note aboveBTriton dependencyfrom triton.testing import do_bench:37
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
# mamba_ssm/ops/tilelang/mamba3/mamba3_mimo_bwd_varlen.py:37- from triton.testing import do_bench+ from triton.testing import do_bench # advisory: see ROCm note aboveBTriton dependencyfrom triton.testing import do_bench:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
# mamba_ssm/ops/tilelang/mamba3/mamba3_mimo_bwd.py:13- from triton.testing import do_bench+ from triton.testing import do_bench # advisory: see ROCm note aboveBTriton dependencyimport triton:5
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(x.device.index)::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).
Atorch.cuda API usagewith torch.cuda.device(x.device.index)::146
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).
BTriton dependencyimport triton:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagegcn_arch_name = torch.cuda.get_device_properties(0).gcnArchName:135
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 usagedevice_name = torch.cuda.get_device_properties(0).name:144
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 usagewith torch.cuda.device(x.device.index)::370
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 usagesm_count = torch.cuda.get_device_properties(x.device).multi_processor_count:660
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 usagewith torch.cuda.device(x.device.index)::671
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).
BTriton dependencyimport triton:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(x.device.index)::139
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 usagesm_count = torch.cuda.get_device_properties(x.device).multi_processor_count:309
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 usagewith torch.cuda.device(x.device.index)::317
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).
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:6
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.testing:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(q.device.index)::203
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).
ADevice string "cuda"device = "cuda":330
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.
BTriton dependencyimport triton:49
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:50
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"dSSdA = torch.randn(B, H, nchunks, C, C, device='cuda', dtype=torch.float32):1426
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"ddA_cs = torch.randn(B, H, S, device='cuda', dtype=torch.float32):1427
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"ddA_cs_rev = torch.randn(B, H, S, device='cuda', dtype=torch.float32):1428
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"dA_cs = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1 # Scale to avoid overflow:1429
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"dA_cs_rev = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1430
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"trap = torch.rand(B, H, S, device='cuda', dtype=torch.float16):1474
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"dt = F.softplus(-3.0 + torch.randn(B, H, S, device='cuda', dtype=torch.float)):1475
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"dfactor = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1476
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"dgamma_diag = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1477
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"da = -F.softplus(-3.0 + torch.randn(B, H, S, device='cuda', dtype=torch.float)):1518
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"device='cuda',:1521
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"da = -F.softplus(-3.0 + torch.randn(B, H, S, device='cuda', dtype=torch.float)):1560
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"device='cuda', dtype=torch.int32,:1601
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"dSSdA = torch.randn(B, H, nchunks_global, C, C, device='cuda', dtype=torch.float32):1610
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"ddA_cs = torch.randn(B, H, S, device='cuda', dtype=torch.float32):1611
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"ddA_cs_rev = torch.randn(B, H, S, device='cuda', dtype=torch.float32):1612
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"dA_cs = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1613
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"dA_cs_rev = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1614
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"SSdA = torch.zeros(B, H, nchunks_global, C, C, device='cuda', dtype=torch.float32):1618
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"dA_cs_padded = torch.zeros(B, H, curr_padded_len, device='cuda', dtype=torch.float32):1627
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"device='cuda', dtype=torch.int32,:1667
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"trap = torch.rand(B, H, S, device='cuda', dtype=torch.float16):1671
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"dt = F.softplus(-3.0 + torch.randn(B, H, S, device='cuda', dtype=torch.float32)):1672
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"dfactor = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1673
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"dgamma_diag = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1674
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.
BTriton dependencyfrom triton.testing import do_bench:1706
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"dSSdA = torch.randn(B, H, nchunks, C, C, device='cuda', dtype=torch.float32):1723
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"ddA_cs = torch.randn(B, H, S, device='cuda', dtype=torch.float32):1724
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"ddA_cs_rev = torch.randn(B, H, S, device='cuda', dtype=torch.float32):1725
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"dA_cs = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1726
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"dA_cs_rev = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1727
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.
BTriton dependencyfrom triton.testing import do_bench:1769
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"da = F.softplus(-3.0 + torch.randn(B, H, S, device='cuda', dtype=torch.float)):1783
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.
BTriton dependencyfrom triton.testing import do_bench:1806
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"trap = torch.ones(B, H, S, device='cuda', dtype=torch.float16) * 0.5:1820
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"dt = F.softplus(-3.0 + torch.randn(B, H, S, device='cuda', dtype=torch.float)):1821
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"dfactor = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1822
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"dgamma_diag = torch.randn(B, H, S, device='cuda', dtype=torch.float32) * 0.1:1823
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.
BTriton dependencyimport triton:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):1785
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.
BTriton dependencyimport triton:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):23
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.
BTriton dependencyimport triton:14
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:15
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):437
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.
BTriton dependencyimport triton:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
ADevice string "cuda"return torch.empty(size, device="cuda", dtype=torch.int8):230
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.
BTriton dependencyimport triton:7
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(x.device.index)::200
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).
BTriton dependencyimport triton:1
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:2
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(a.device.index)::198
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 usagewith torch.cuda.device(a.device.index)::253
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).
BTriton dependencyimport triton:12
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:13
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(x.device.index)::1390
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 usagewith torch.cuda.device(C.device.index)::1436
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 usagesm_count = torch.cuda.get_device_properties(dout.device).multi_processor_count:1485
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 usagewith torch.cuda.device(dout.device.index)::1491
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 usagesm_count = torch.cuda.get_device_properties(x.device).multi_processor_count:1534
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 usagewith torch.cuda.device(x.device.index)::1540
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 usagewith torch.cuda.device(x.device.index)::1592
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 usagewith torch.cuda.device(x.device.index)::1640
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 usagewith torch.cuda.device(x.device.index)::1680
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 usagewith torch.cuda.device(x.device.index)::1713
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 usagewith torch.cuda.device(dout.device.index)::1747
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).
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(dt.device.index)::727
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 usagewith torch.cuda.device(dt.device.index)::787
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 usagewith torch.cuda.device(x.device.index)::829
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 usagewith torch.cuda.device(x.device.index)::878
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 usagesm_count = torch.cuda.get_device_properties(x.device).multi_processor_count:937
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 usagewith torch.cuda.device(x.device.index)::943
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 usagewith torch.cuda.device(x.device.index)::996
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 usagewith torch.cuda.device(x.device.index)::1032
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).
BTriton dependencyimport triton:16
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:17
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(x.device.index)::308
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).
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyimport triton.language as tl:11
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagewith torch.cuda.device(states.device.index)::210
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 usagewith torch.cuda.device(dout.device.index)::258
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).
BTriton dependencyimport triton:10
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependency"triton>=3.5.0",:23
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
BTriton dependencyfrom triton.testing import do_bench:8
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.empty_cache():20
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.reset_peak_memory_stats():21
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():22
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():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.synchronize():31
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 usagereturn torch.cuda.max_memory_allocated() / (1024 * 1024):32
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).
ADevice string "cuda"device = "cuda":37
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.
Atorch.cuda API usageif not torch.cuda.is_available()::103
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 usageprint(f"GPU: {torch.cuda.get_device_name(0)}"):118
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).
ADevice string "cuda"DEVICE = "cuda":39
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.
Atorch.cuda API usageif not torch.cuda.is_available()::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.manual_seed_all(42):161
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_all(42):167
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_all(42):176
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_all(42):182
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).
BTriton dependencyfrom triton.testing import do_bench_cudagraph:265
OpenAI Triton has an AMD backend. Kernels usually run on ROCm with a matching Triton build; occasional tuning is needed.
RecommendInstall the ROCm-enabled Triton build.
Atorch.cuda API usagetorch.cuda.manual_seed_all(42):272
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).
ADevice string "cuda"device = "cuda":31
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"input_ids = torch.randint(1, 1000, (args.batch, args.promptlen), dtype=torch.long, device="cuda"):47
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"attn_mask = torch.ones_like(input_ids, dtype=torch.long, device="cuda"):48
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.
Atorch.cuda API usagetorch.cuda.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).
Atorch.cuda API usagetorch.cuda.synchronize():90
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).
ADevice string "cuda"def __init__(self, pretrained="state-spaces/mamba-2.8b", max_length=2048, batch_size=None, device="cuda",:19
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"device = "cuda":92
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"o = torch.empty((B, S, H, P), device='cuda', dtype=dtype):693
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"o = torch.empty((B, S, R, H, P), device='cuda', dtype=dtype):695
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"h = torch.empty((NS, H, N, P), device='cuda', dtype=torch.float32) if return_state else None:723
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"k_final = torch.empty((NS, R, H, N), device='cuda', dtype=dtype) if return_state else None:724
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"h = torch.empty((B, H, N, P), device='cuda', dtype=torch.float32) if return_state else None:726
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"k_final = torch.empty((B, R, H, N), device='cuda', dtype=dtype) if return_state else None:727
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"o = torch.empty((B, S, H, P), device='cuda', dtype=dtype):515
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"o = torch.empty((B, S, R, H, P), device='cuda', dtype=dtype):517
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"h = torch.empty((B, H, N, P), device='cuda', dtype=torch.float32) if return_state else None:544
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"k_final = torch.empty((B, R, H, N), device='cuda', dtype=dtype) if return_state else None:545
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.
Atorch.cuda API usagestart = torch.cuda.Event(enable_timing=enable_timing):214
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 usageend = torch.cuda.Event(enable_timing=enable_timing):215
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 usagecache.mempool = torch.cuda.graphs.graph_pool_handle():320
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 usages = torch.cuda.Stream():353
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 usages.wait_stream(torch.cuda.current_stream()):354
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 usagewith torch.cuda.stream(s)::355
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().wait_stream(s):369
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 usagegraph = torch.cuda.CUDAGraph():372
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 usagewith torch.cuda.graph(graph, pool=mempool)::373
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).
ADevice string "cuda"kwargs["device_type"] = "cuda":8
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.
Atorch.cuda API usageif not torch.cuda.is_available()::17
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).
ADevice string "cuda"device="cuda",:36
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"device = "cuda":68
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"device = "cuda":103
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"device = 'cuda':42
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"device = 'cuda':161
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.
Atorch.cuda API usageif not torch.cuda.is_available()::72
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_all(seed):150
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).
ADevice string "cuda"q = torch.randn((b, s, r, g, n), device="cuda", dtype=dtype):152
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"k = torch.randn((b, s, r, g, n), device="cuda", dtype=dtype):153
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"v = torch.randn((b, s, h, p), device="cuda", dtype=dtype):154
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"q_bias = torch.randn((h, r, n), device="cuda", dtype=torch.float32):156
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"k_bias = torch.randn((h, r, n), device="cuda", dtype=torch.float32):157
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"mimo_v = torch.randn((h, r, p), device="cuda", dtype=torch.float32) / r:158
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"mimo_o = torch.randn((h, r, p), device="cuda", dtype=torch.float32) / r:159
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"d = torch.randn((h,), device="cuda", dtype=torch.float32) if has_d else None:163
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"(b, s, h, n // rotary_dim_divisor), device="cuda", dtype=torch.float32:166
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"dt = F.softplus(-3.0 + torch.randn((b, h, s), device="cuda", dtype=torch.float32)):168
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"a = torch.rand((b, h, s), device="cuda", dtype=torch.float32):169
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"trap = torch.rand((b, h, s), device="cuda", dtype=dtype):172
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"outproj_norm_weight = torch.randn((h, p), device="cuda", dtype=torch.float32):174
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"device: str = "cuda",:211
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"if device == "cuda"::216
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.
Atorch.cuda API usagetorch.cuda.manual_seed_all(seed):217
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).
ADevice string "cuda"dout_prereduce = torch.randn((b, s, r, h, p_dim), device="cuda", dtype=FIXED_DTYPE):1363
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"device="cuda",:1607
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"device="cuda", dtype=torch.int32,:1660
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.
Atorch.cuda API usagetorch.cuda.manual_seed_all(42):1664
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).
ADevice string "cuda"(1, s_total, mimo_rank, nheads_qk, headdim_qk), device="cuda",:1667
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"(1, s_total, nheads, headdim_v), device="cuda",:1672
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"-3.0 + torch.randn(1, nheads, s_total, device="cuda", dtype=torch.float):1676
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"torch.rand((1, nheads, s_total), device="cuda", dtype=FIXED_DTYPE) * 0.5:1680
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"(nheads, mimo_rank, headdim_qk), device="cuda",:1683
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"torch.randn((nheads, mimo_rank, headdim_v), device="cuda", dtype=torch.float32) / mimo_rank:1688
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"(1, s_total, nheads, headdim_qk // rotary_dim_divisor), device="cuda",:1693
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"D = torch.randn((nheads,), device="cuda", dtype=torch.float32, requires_grad=True):1696
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"(1, s_total, nheads, headdim_v), device="cuda",:1698
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.
Atorch.cuda API usagetorch.cuda.manual_seed_all(seed):1789
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).
ADevice string "cuda"device="cuda",:1797
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"q = torch.randn((b, s_total, r, g, n), device="cuda", dtype=dtype):1801
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"k = torch.randn((b, s_total, r, g, n), device="cuda", dtype=dtype):1802
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"v = torch.randn((b, s_total, h, p), device="cuda", dtype=dtype):1803
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"q_bias = torch.randn((h, r, n), device="cuda", dtype=torch.float32):1805
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"k_bias = torch.randn((h, r, n), device="cuda", dtype=torch.float32):1806
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"mimo_v = torch.randn((h, r, p), device="cuda", dtype=torch.float32) / r:1807
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"mimo_o = torch.randn((h, r, p), device="cuda", dtype=torch.float32) / r:1808
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"d = torch.randn((h,), device="cuda", dtype=torch.float32) if has_d else None:1812
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"(b, s_total, h, n // rotary_dim_divisor), device="cuda", dtype=torch.float32:1815
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"dt = F.softplus(-3.0 + torch.randn((b, h, s_total), device="cuda", dtype=torch.float32)):1817
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"a = torch.rand((b, h, s_total), device="cuda", dtype=torch.float32):1818
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"trap = torch.rand((b, h, s_total), device="cuda", dtype=dtype):1825
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"outproj_norm_weight = torch.randn((h, p), device="cuda", dtype=torch.float32):1827
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"(b, s_total, r, h_dim, p_dim), device="cuda", dtype=FIXED_DTYPE:2349
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"device = 'cuda':34
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"device = 'cuda':489
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"device = 'cuda':564
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"device = 'cuda':678
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"device = 'cuda':845
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"device = "cuda":23
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"device = "cuda":67
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"device = "cuda":113
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"device = "cuda":162
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"device = 'cuda':31
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.
Atorch.cuda API usagetorch.cuda.manual_seed_all(seed):17
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).
ADevice string "cuda"device = "cuda":37
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.
Atorch.cuda API usagetorch.cuda.synchronize():139
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 usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA required"):182
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 usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA required"):190
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 usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA required"):198
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 usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA required"):206
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 usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA required"):214
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).
ADevice string "cuda"device = "cuda":218
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.
Atorch.cuda API usagetorch.cuda.synchronize():238
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 usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA required"):264
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).
ADevice string "cuda"device = "cuda":268
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.
Atorch.cuda API usagetorch.cuda.synchronize():290
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 usage@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA required"):307
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).
ADevice string "cuda"device = "cuda":311
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.
Atorch.cuda API usagetorch.cuda.synchronize():329
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).
ADevice string "cuda"device = "cuda":16
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"device = "cuda":50
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"device = "cuda":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.