MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / _exception_callback

Function _exception_callback

lm-eval-harness/lm_eval/models/textsynth.py:33–36  ·  view source on GitHub ↗
(e: Exception, sleep_time: float)

Source from the content-addressed store, hash-verified

31 """
32
33 def _exception_callback(e: Exception, sleep_time: float) -> None:
34 import traceback
35
36 traceback.print_exc()
37
38 @retry_on_specific_exceptions(
39 on_exceptions=[_requests.exceptions.RequestException],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected