---
id: pr-sglang-17784
repo: sgl-project/sglang
pr: 17784
title: Upgrade transformers==5.3.0
author: JustinTong0323
date: '2026-03-18'
url: https://github.com/sgl-project/sglang/pull/17784
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
- moe
- pipeline-stages
techniques:
- pipeline-stages
hardware_features: []
kernel_types:
- gemm
- moe
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: d1e95af282068a751ee6a8b60a0ae2a90c464819
inclusion_reason: kernel file changes
changed_paths:
- docs/advanced_features/vlm_query.ipynb
- python/pyproject.toml
- python/pyproject_cpu.toml
- python/pyproject_npu.toml
- python/pyproject_other.toml
- python/pyproject_xpu.toml
- python/sglang/check_env.py
- python/sglang/multimodal_gen/runtime/loader/weight_utils.py
- python/sglang/multimodal_gen/runtime/models/encoders/llama.py
- python/sglang/multimodal_gen/runtime/models/encoders/qwen2_5vl.py
- python/sglang/multimodal_gen/runtime/models/encoders/qwen3.py
- python/sglang/multimodal_gen/runtime/pipelines_core/composed_pipeline_base.py
- python/sglang/multimodal_gen/runtime/pipelines_core/stages/image_encoding.py
- python/sglang/srt/configs/internvl.py
- python/sglang/srt/configs/model_config.py
- python/sglang/srt/layers/rotary_embedding/factory.py
- python/sglang/srt/managers/tokenizer_manager.py
- python/sglang/srt/model_executor/forward_batch_info.py
- python/sglang/srt/model_loader/loader.py
- python/sglang/srt/model_loader/weight_utils.py
- python/sglang/srt/models/afmoe.py
- python/sglang/srt/models/apertus.py
- python/sglang/srt/models/arcee.py
- python/sglang/srt/models/baichuan.py
- python/sglang/srt/models/bailing_moe.py
- python/sglang/srt/models/commandr.py
- python/sglang/srt/models/dbrx.py
- python/sglang/srt/models/deepseek.py
- python/sglang/srt/models/deepseek_v2.py
- python/sglang/srt/models/ernie4.py
- python/sglang/srt/models/ernie45_moe_vl.py
- python/sglang/srt/models/exaone.py
- python/sglang/srt/models/falcon_h1.py
- python/sglang/srt/models/gemma.py
- python/sglang/srt/models/gemma2.py
- python/sglang/srt/models/gemma3_causal.py
- python/sglang/srt/models/gemma3_mm.py
- python/sglang/srt/models/gemma3n_causal.py
- python/sglang/srt/models/glm4.py
- python/sglang/srt/models/glm4_moe.py
- python/sglang/srt/models/gpt_oss.py
- python/sglang/srt/models/granite.py
- python/sglang/srt/models/granitemoe.py
- python/sglang/srt/models/grok.py
- python/sglang/srt/models/hunyuan.py
- python/sglang/srt/models/iquest_loopcoder.py
- python/sglang/srt/models/jet_nemotron.py
- python/sglang/srt/models/lfm2.py
- python/sglang/srt/models/llada2.py
- python/sglang/srt/models/llama.py
- python/sglang/srt/models/llama4.py
- python/sglang/srt/models/llama_eagle3.py
- python/sglang/srt/models/longcat_flash.py
- python/sglang/srt/models/longcat_flash_nextn.py
- python/sglang/srt/models/midashenglm.py
- python/sglang/srt/models/mimo_v2_flash.py
- python/sglang/srt/models/mimo_v2_flash_nextn.py
- python/sglang/srt/models/minicpm.py
- python/sglang/srt/models/minicpm3.py
- python/sglang/srt/models/minimax_m2.py
- python/sglang/srt/models/ministral3.py
- python/sglang/srt/models/mixtral.py
- python/sglang/srt/models/mixtral_quant.py
- python/sglang/srt/models/mllama4.py
- python/sglang/srt/models/nemotron_nas.py
- python/sglang/srt/models/olmo.py
- python/sglang/srt/models/olmo2.py
- python/sglang/srt/models/olmoe.py
- python/sglang/srt/models/orion.py
- python/sglang/srt/models/persimmon.py
- python/sglang/srt/models/phi.py
- python/sglang/srt/models/phi3_small.py
- python/sglang/srt/models/phimoe.py
- python/sglang/srt/models/qwen.py
- python/sglang/srt/models/qwen2.py
- python/sglang/srt/models/qwen2_moe.py
- python/sglang/srt/models/qwen3.py
- python/sglang/srt/models/qwen3_5.py
- python/sglang/srt/models/qwen3_moe.py
- python/sglang/srt/models/solar.py
- python/sglang/srt/models/stablelm.py
- python/sglang/srt/models/starcoder2.py
- python/sglang/srt/models/step3_vl.py
- python/sglang/srt/models/torch_native_llama.py
- python/sglang/srt/models/xverse.py
- python/sglang/srt/models/xverse_moe.py
- python/sglang/srt/multimodal/mm_utils.py
- python/sglang/srt/multimodal/processors/llava.py
- python/sglang/srt/utils/hf_transformers_utils.py
- python/sglang/test/runners.py
- test/registered/core/test_score_api.py
- test/registered/quant/test_awq.py
- test/registered/rl/test_multi_instance_release_memory_occupation.py
- test/registered/unit/function_call/test_function_call_parser.py
- test/registered/vlm/test_vlm_input_format.py
head_ref_oid: a2ccf3bf0668835803b118a345cdecdd8c454c30
artifact_dir: evidence/pull-bundles/sglang/gh-17784
---
# Upgrade transformers==5.3.0

- Repository: `sgl-project/sglang`
- PR: [17784](https://github.com/sgl-project/sglang/pull/17784)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `docs/advanced_features/vlm_query.ipynb`
- `python/pyproject.toml`
- `python/pyproject_cpu.toml`
- `python/pyproject_npu.toml`
- `python/pyproject_other.toml`
- `python/pyproject_xpu.toml`
- `python/sglang/check_env.py`
- `python/sglang/multimodal_gen/runtime/loader/weight_utils.py`
- `python/sglang/multimodal_gen/runtime/models/encoders/llama.py`
- `python/sglang/multimodal_gen/runtime/models/encoders/qwen2_5vl.py`
- `python/sglang/multimodal_gen/runtime/models/encoders/qwen3.py`
- `python/sglang/multimodal_gen/runtime/pipelines_core/composed_pipeline_base.py`
- `python/sglang/multimodal_gen/runtime/pipelines_core/stages/image_encoding.py`
- `python/sglang/srt/configs/internvl.py`
- `python/sglang/srt/configs/model_config.py`
- `python/sglang/srt/layers/rotary_embedding/factory.py`
- `python/sglang/srt/managers/tokenizer_manager.py`
- `python/sglang/srt/model_executor/forward_batch_info.py`
- `python/sglang/srt/model_loader/loader.py`
- `python/sglang/srt/model_loader/weight_utils.py`
- `python/sglang/srt/models/afmoe.py`
- `python/sglang/srt/models/apertus.py`
- `python/sglang/srt/models/arcee.py`
- `python/sglang/srt/models/baichuan.py`
- `python/sglang/srt/models/bailing_moe.py`
- `python/sglang/srt/models/commandr.py`
- `python/sglang/srt/models/dbrx.py`
- `python/sglang/srt/models/deepseek.py`
- `python/sglang/srt/models/deepseek_v2.py`
- `python/sglang/srt/models/ernie4.py`
- `python/sglang/srt/models/ernie45_moe_vl.py`
- `python/sglang/srt/models/exaone.py`
- `python/sglang/srt/models/falcon_h1.py`
- `python/sglang/srt/models/gemma.py`
- `python/sglang/srt/models/gemma2.py`
- `python/sglang/srt/models/gemma3_causal.py`
- `python/sglang/srt/models/gemma3_mm.py`
- `python/sglang/srt/models/gemma3n_causal.py`
- `python/sglang/srt/models/glm4.py`
- `python/sglang/srt/models/glm4_moe.py`
- `python/sglang/srt/models/gpt_oss.py`
- `python/sglang/srt/models/granite.py`
- `python/sglang/srt/models/granitemoe.py`
- `python/sglang/srt/models/grok.py`
- `python/sglang/srt/models/hunyuan.py`
- `python/sglang/srt/models/iquest_loopcoder.py`
- `python/sglang/srt/models/jet_nemotron.py`
- `python/sglang/srt/models/lfm2.py`
- `python/sglang/srt/models/llada2.py`
- `python/sglang/srt/models/llama.py`
- `python/sglang/srt/models/llama4.py`
- `python/sglang/srt/models/llama_eagle3.py`
- `python/sglang/srt/models/longcat_flash.py`
- `python/sglang/srt/models/longcat_flash_nextn.py`
- `python/sglang/srt/models/midashenglm.py`
- `python/sglang/srt/models/mimo_v2_flash.py`
- `python/sglang/srt/models/mimo_v2_flash_nextn.py`
- `python/sglang/srt/models/minicpm.py`
- `python/sglang/srt/models/minicpm3.py`
- `python/sglang/srt/models/minimax_m2.py`
- `python/sglang/srt/models/ministral3.py`
- `python/sglang/srt/models/mixtral.py`
- `python/sglang/srt/models/mixtral_quant.py`
- `python/sglang/srt/models/mllama4.py`
- `python/sglang/srt/models/nemotron_nas.py`
- `python/sglang/srt/models/olmo.py`
- `python/sglang/srt/models/olmo2.py`
- `python/sglang/srt/models/olmoe.py`
- `python/sglang/srt/models/orion.py`
- `python/sglang/srt/models/persimmon.py`
- `python/sglang/srt/models/phi.py`
- `python/sglang/srt/models/phi3_small.py`
- `python/sglang/srt/models/phimoe.py`
- `python/sglang/srt/models/qwen.py`
- `python/sglang/srt/models/qwen2.py`
- `python/sglang/srt/models/qwen2_moe.py`
- `python/sglang/srt/models/qwen3.py`
- `python/sglang/srt/models/qwen3_5.py`
- `python/sglang/srt/models/qwen3_moe.py`
- `python/sglang/srt/models/solar.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-17784`
