Skip to content

[NPU] [Bug Fix] Fix typo in npu device check in gpt_oss.py#17553

Merged
Kangyan-Zhou merged 1 commit intosgl-project:mainfrom
ck-intel:fix_npu_check_gpt_oss
Jan 22, 2026
Merged

[NPU] [Bug Fix] Fix typo in npu device check in gpt_oss.py#17553
Kangyan-Zhou merged 1 commit intosgl-project:mainfrom
ck-intel:fix_npu_check_gpt_oss

Conversation

@ck-intel
Copy link
Copy Markdown
Contributor

Motivation

NPU support for gpt-oss enabled through the following PR #14197 has a small typo in npu device check for activation. That needs to be fixed otherwise the default activation function will be set as per NPU backend irrespective on whichever device the model is executed.

Modifications

Fix typo in npu device check in gpt_oss.py

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@ck-intel
Copy link
Copy Markdown
Contributor Author

@Todobe @iforgetmyname pls review!

@iforgetmyname
Copy link
Copy Markdown
Collaborator

sry for missed that typo when reviewing last support pr,and thx for the fix!

@Todobe
Copy link
Copy Markdown
Contributor

Todobe commented Jan 22, 2026

Indeed, as you said, thank you for your discovery and the bug fix.

@iforgetmyname
Copy link
Copy Markdown
Collaborator

/tag-and-rerun-ci

@Kangyan-Zhou Kangyan-Zhou merged commit 61abff6 into sgl-project:main Jan 22, 2026
85 of 104 checks passed
Johnsonms pushed a commit to Johnsonms/sglang that referenced this pull request Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants