Lazy import torchao (#17626)

This commit is contained in:
Lianmin Zheng
2026-01-22 22:04:51 -08:00
committed by GitHub
parent 50a2e4345a
commit 56e6652d1d
3 changed files with 5 additions and 6 deletions
-1
View File
@@ -99,4 +99,3 @@ class Lfm2Config(HFLfm2Config):
# Cannot use .register() because lfm2 is already registered by transformers
# Directly modify the internal _extra_content dict instead
CONFIG_MAPPING._extra_content["lfm2"] = Lfm2Config
logger.info("Registered SGLang Lfm2Config to override HuggingFace's version")