MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / get_local_path

Function get_local_path

examples/diffusion/python_flux/models.py:195–199  ·  view source on GitHub ↗
(local_dir, model_dir)

Source from the content-addressed store, hash-verified

193
194
195def get_local_path(local_dir, model_dir):
196 model_local_dir = os.path.join(local_dir, model_dir)
197 if not os.path.exists(model_local_dir):
198 os.makedirs(model_local_dir)
199 return model_local_dir
200
201
202def get_clip_model(local_dir,

Callers 4

get_clip_modelFunction · 0.85
get_t5_modelFunction · 0.85
get_vae_modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected