MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / __init__

Method __init__

test/general/lm_eval/base.py:867–872  ·  view source on GitHub ↗
(self, cachinglm)

Source from the content-addressed store, hash-verified

865
866class CacheHook:
867 def __init__(self, cachinglm):
868 if cachinglm is None:
869 self.dbdict = None
870 return
871
872 self.dbdict = cachinglm.dbdict
873
874 def add_partial(self, attr, req, res):
875 if self.dbdict is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected