MCPcopy Create free account
hub / github.com/AMAP-ML/Eevee / __init__

Method __init__

models/manager.py:112–121  ·  view source on GitHub ↗
(
        self,
        torch_dtype = torch.float16,
        device = "cuda",
    )

Source from the content-addressed store, hash-verified

110
111class ModelManager:
112 def __init__(
113 self,
114 torch_dtype = torch.float16,
115 device = "cuda",
116 ):
117 self.torch_dtype = torch_dtype
118 self.device = device
119 self.model = []
120 self.model_path = []
121 self.model_name = []
122
123 def load_model(self, file_path, model_type=None, device=None, torch_dtype=None):
124 print(f"Loading models from: {file_path}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected