Apply HF transformers patches from sglang init (#23103)

This commit is contained in:
Liangsheng Yin
2026-04-17 15:37:51 -07:00
committed by GitHub
parent 573e12a7fc
commit 09b689b407
7 changed files with 34 additions and 26 deletions
+5
View File
@@ -24,6 +24,11 @@ if _sys.platform == "darwin":
pass
del _sys
from sglang.srt.utils.hf_transformers_patches import apply_all as _apply_hf_patches
_apply_hf_patches()
del _apply_hf_patches
# Frontend Language APIs
from sglang.global_config import global_config
from sglang.lang.api import (