MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / __init__

Method __init__

optillm/inference.py:1003–1005  ·  view source on GitHub ↗
(self, cache_manager: CacheManager, device_manager: DeviceManager)

Source from the content-addressed store, hash-verified

1001
1002class ModelManager:
1003 def __init__(self, cache_manager: CacheManager, device_manager: DeviceManager):
1004 self.cache_manager = cache_manager
1005 self.device_manager = device_manager
1006
1007 def quantize_model(self, model):
1008 """Quantize model to 4-bit precision using bitsandbytes"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected