MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / get_device

Method get_device

lightx2v_platform/base/nvidia.py:30–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29 @staticmethod
30 def get_device() -> str:
31 return "cuda"
32
33 @staticmethod
34 def init_parallel_env():

Callers 5

init_ai_deviceFunction · 0.45
init_process_groupMethod · 0.45
onednn_w8a16_fp8_implFunction · 0.45
onednn_w4a16_kernelFunction · 0.45
check_sm120_or_throwFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected