MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / get_loader

Function get_loader

core/loader_v2.py:392–397  ·  view source on GitHub ↗

Get the global loader instance.

()

Source from the content-addressed store, hash-verified

390
391
392def get_loader() -> ModelLoader:
393 """Get the global loader instance."""
394 global _loader
395 if _loader is None:
396 _loader = ModelLoader()
397 return _loader
398
399
400def reset_loader():

Callers 9

shutdownFunction · 0.90
replFunction · 0.90
mainFunction · 0.90
inferFunction · 0.90
get_model_statusFunction · 0.90
_main_loopMethod · 0.90
model_activeMethod · 0.90
swap_to_finetuned_modelFunction · 0.90
rollback_to_backupFunction · 0.90

Calls 1

ModelLoaderClass · 0.85

Tested by

no test coverage detected