Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/how_to/tutorials/export_and_load_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,13 @@ def forward(self, data: torch.Tensor) -> torch.Tensor: # type: ignore[override]
# To run on GPU instead of CPU, make the following changes:
#
# 1. **Compile for GPU** (earlier in the tutorial, around line 112):
#
# .. code-block:: python
#
# TARGET = tvm.target.Target("cuda") # Change from "llvm" to "cuda"
#
# 2. **Use GPU device in the script**:
#
# .. code-block:: python
#
# device = tvm.cuda(0) # Use CUDA device instead of CPU
Expand Down