leideng/QCFuse / global_config.py
leideng's picture
download
raw
767 Bytes
"""Global configurations"""
# FIXME: deprecate this file and move all usage to sglang.srt.environ or sglang.__init__.py
class GlobalConfig:
"""
Store some global constants.
"""
def __init__(self):
# Verbosity level
# 0: do not output anything
# 2: output final text after every run
self.verbosity = 0
# Default backend of the language
self.default_backend = None
# Output tokenization configs
self.skip_special_tokens_in_output = True
self.spaces_between_special_tokens_in_out = True
# Language frontend interpreter optimization configs
self.enable_precache_with_tracing = True
self.enable_parallel_encoding = True
global_config = GlobalConfig()

Xet Storage Details

Size:
767 Bytes
·
Xet hash:
0eebcfd08fd778020930b83df01275744d0a0cb93475bc3c7f2d948b9e0a8248

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.