Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_device
Function · 0.45
init_process_group
Method · 0.45
onednn_w8a16_fp8_impl
Function · 0.45
onednn_w4a16_kernel
Function · 0.45
check_sm120_or_throw
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected