MCPcopy Create free account
hub / github.com/PAIR-code/lit / save_cache

Method save_cache

lit_nlp/app.py:1095–1098  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1093 return datasets_with_spec
1094
1095 def save_cache(self):
1096 for m in self._models.values():
1097 if isinstance(m, caching.CachingModelWrapper):
1098 m.save_cache()
1099
1100 def __call__(self, environ, start_response):
1101 """Implementation of the WSGI interface."""

Callers 2

serveMethod · 0.95
__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected