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

Function get_vae_parallel

lightx2v/disagg/utils.py:251–256  ·  view source on GitHub ↗
(config: Dict[str, Any])

Source from the content-addressed store, hash-verified

249
250
251def get_vae_parallel(config: Dict[str, Any]):
252 if isinstance(config.get("parallel", False), bool):
253 return config.get("parallel", False)
254 if isinstance(config.get("parallel", False), dict):
255 return config.get("parallel", {}).get("vae_parallel", True)
256 return False
257
258
259def load_wan_vae_encoder(config: Dict[str, Any]):

Callers 2

load_wan_vae_encoderFunction · 0.85
load_wan_vae_decoderFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected