mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 07:22:07 +00:00
7 lines
90 B
Python
7 lines
90 B
Python
|
from functools import lru_cache
|
||
|
|
||
|
|
||
|
@lru_cache(10)
|
||
|
def log_once(log, msg:str):
|
||
|
log(msg)
|