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

Function get_gpu_memory

app/utils/model_utils.py:113–120  ·  view source on GitHub ↗

获取GPU显存(GB)

(gpu_idx=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_auto_config_dictFunction · 0.90

Calls 2

is_availableMethod · 0.45
deviceMethod · 0.45

Tested by

no test coverage detected