Skip to content

Commit f8dd970

Browse files
[Feature] Support Tenstorrent's Wormhole accelerators #2573 (feedback review
1 parent c321262 commit f8dd970

File tree

1 file changed

+2
-2
lines changed
  • src/dstack/_internal/cli/services/configurators

1 file changed

+2
-2
lines changed

src/dstack/_internal/cli/services/configurators/run.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
_KNOWN_AMD_GPUS = {gpu.name.lower() for gpu in gpuhunt.KNOWN_AMD_GPUS}
5353
_KNOWN_NVIDIA_GPUS = {gpu.name.lower() for gpu in gpuhunt.KNOWN_NVIDIA_GPUS}
5454
_KNOWN_TPU_VERSIONS = {gpu.name.lower() for gpu in gpuhunt.KNOWN_TPUS}
55-
_KNOWN_TT_GPUS = {gpu.name.lower() for gpu in gpuhunt.KNOWN_TT_ACCELERATORS}
55+
_KNOWN_TENSTORRENT_GPUS = {gpu.name.lower() for gpu in gpuhunt.KNOWN_TENSTORRENT_ACCELERATORS}
5656
_BIND_ADDRESS_ARG = "bind_address"
5757

5858
logger = get_logger(__name__)
@@ -363,7 +363,7 @@ def validate_gpu_vendor_and_image(self, conf: BaseRunConfiguration) -> None:
363363
vendors.add(gpuhunt.AcceleratorVendor.NVIDIA)
364364
elif name in _KNOWN_AMD_GPUS:
365365
vendors.add(gpuhunt.AcceleratorVendor.AMD)
366-
elif name in _KNOWN_TT_GPUS:
366+
elif name in _KNOWN_TENSTORRENT_GPUS:
367367
vendors.add(gpuhunt.AcceleratorVendor.TENSTORRENT)
368368
else:
369369
maybe_tpu_version, _, maybe_tpu_cores = name.partition("-")

0 commit comments

Comments
 (0)