(self, args: Namespace)
| 30 | class InferenceLoop: |
| 31 | |
| 32 | def __init__(self, args: Namespace) -> "InferenceLoop": |
| 33 | self.args = args |
| 34 | self.loop_ctx = {} |
| 35 | self.pipeline: Pipeline = None |
| 36 | with VRAMPeakMonitor("loading cleaner model"): |
| 37 | self.load_cleaner() |
| 38 | with VRAMPeakMonitor("loading cldm model"): |
| 39 | self.load_cldm() |
| 40 | self.load_cond_fn() |
| 41 | self.load_pipeline() |
| 42 | with VRAMPeakMonitor("loading captioner"): |
| 43 | self.load_captioner() |
| 44 | |
| 45 | @overload |
| 46 | def load_cleaner(self) -> None: ... |
nothing calls this directly
no test coverage detected