mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-20 22:32:07 +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
|