This website requires JavaScript.
Explore
Gist
Help
Register
Sign In
Mirrors
/
hf_text-generation-inference
mirror of
https://github.com/huggingface/text-generation-inference.git
Watch
1
Star
0
Fork
You've already forked hf_text-generation-inference
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
set-num-blocks
hf_text-generation-inference
/
server
/
text_generation_server
/
utils
/
log.py
7 lines
91 B
Python
Raw
Permalink
Blame
History
from
functools
import
lru_cache
@lru_cache
(
10
)
def
log_once
(
log
,
msg
:
str
)
:
log
(
msg
)
Reference in New Issue
View Git Blame
Copy Permalink