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
12 changes: 12 additions & 0 deletions flytekit/extras/accelerators.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ def to_flyte_idl(self) -> tasks_pb2.GPUAccelerator:
#: `NVIDIA L4 Tensor Core GPU https://www.nvidia.com/en-us/data-center/l4
L4_VWS = GPUAccelerator("nvidia-l4-vws")

#: use this constant to specify that the task should run on an
#: `NVIDIA L40S Tensor Core GPU https://www.nvidia.com/en-us/data-center/l40s
L40S = GPUAccelerator("nvidia-l40s")

#: use this constant to specify that the task should run on an
#: `NVIDIA Tesla K80 GPU https://www.nvidia.com/en-gb/data-center/tesla-k80
K80 = GPUAccelerator("nvidia-tesla-k80")
Expand All @@ -130,6 +134,14 @@ def to_flyte_idl(self) -> tasks_pb2.GPUAccelerator:
#: `NVIDIA Tesla V100 GPU https://images.nvidia.com/content/technologies/volta/pdf/tesla-volta-v100-datasheet-letter-fnl-web.pdf
V100 = GPUAccelerator("nvidia-tesla-v100")

#: use this constant to specify that the task should run on an
#: `NVIDIA H100 GPU https://www.nvidia.com/en-us/data-center/h100
H100 = GPUAccelerator("nvidia-tesla-h100")

#: use this constant to specify that the task should run on an
#: `NVIDIA H200 GPU https://www.nvidia.com/en-us/data-center/h200
H200 = GPUAccelerator("nvidia-tesla-h200")


class MultiInstanceGPUAccelerator(BaseAccelerator):
"""
Expand Down