From 61da32e599da4ea26b0cf8a58df303f7ffafc62c Mon Sep 17 00:00:00 2001 From: Anders Smedegaard Pedersen Date: Tue, 26 Nov 2024 09:41:32 +0100 Subject: [PATCH] Update docs/hardware_support/amd_support.md Co-authored-by: Jeff Daily --- docs/hardware_support/amd_support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hardware_support/amd_support.md b/docs/hardware_support/amd_support.md index eeb044ab23..f406f980a6 100644 --- a/docs/hardware_support/amd_support.md +++ b/docs/hardware_support/amd_support.md @@ -46,7 +46,7 @@ The current stable `major.patch` version of ROCm and the previous path version w ### Selecting Accelerators Using `HIP_VISIBLE_DEVICES` -If you have multiple accelerators on the system where you are running TorchServe yuo can select which accelerators should be visible to TorchServe +If you have multiple accelerators on the system where you are running TorchServe you can select which accelerators should be visible to TorchServe by setting the environment variable `HIP_VISIBLE_DEVICES` to a string of 0-indexed comma-separated integers representing the ids of the accelerators. If you have 8 accelerators but only want TorchServe to see the last four of them do `export HIP_VISIBLE_DEVICES=4,5,6,7`.