enhance eos_tokens (#3274)

* enhance eos_tokens

* update

* update
This commit is contained in:
Yuanle Liu
2025-08-11 14:47:52 +08:00
committed by GitHub
parent 21caa63794
commit 9571c458f0
11 changed files with 75 additions and 93 deletions

View File

@@ -1,4 +1,5 @@
# FastDeploy 环境变量说明
FastDeploy 的环境变量保存在了代码库根目录下 fastdeploy/envs.py 文件中,以下是其对应的中文版说明:
```python
@@ -37,7 +38,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
# 是否使用 HuggingFace 分词器
"FD_USE_HF_TOKENIZER":
lambda: os.getenv("FD_USE_HF_TOKENIZER", 0),
lambda: bool(int(os.getenv("FD_USE_HF_TOKENIZER", 0))),
# 设置 ZMQ 初始化期间接收数据的高水位标记HWM
"FD_ZMQ_SNDHWM":