[platform] add device_control env var (#12009)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
@@ -78,6 +78,7 @@ class CudaPlatformBase(Platform):
|
||||
device_type: str = "cuda"
|
||||
dispatch_key: str = "CUDA"
|
||||
ray_device_key: str = "GPU"
|
||||
device_control_env_var: str = "CUDA_VISIBLE_DEVICES"
|
||||
|
||||
@classmethod
|
||||
def get_device_capability(cls,
|
||||
|
||||
Reference in New Issue
Block a user