mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-20 14:22:08 +00:00
12 lines
173 B
Python
12 lines
173 B
Python
SPECULATE = None
|
|
|
|
|
|
def get_speculate() -> int:
|
|
global SPECULATE
|
|
return SPECULATE
|
|
|
|
|
|
def set_speculate(speculate: int):
|
|
global SPECULATE
|
|
SPECULATE = speculate
|