Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSparseLLMs/MoM
/ set_cache_hook
Method
set_cache_hook
lm-eval-harness/lm_eval/api/model.py:150–151 ·
view source on GitHub ↗
(self, cache_hook)
Source
from the content-addressed store, hash-verified
148
return
self._world_size
149
150
def
set_cache_hook(self, cache_hook) -> None:
151
self.cache_hook = cache_hook
152
153
154
### SQLite-based caching of LM responses
Callers
1
__init__
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected