Skip to content

refactor: replace GatedActType with ActivationType from flashinfer#782

Merged
LLLLKKKK merged 1 commit intomainfrom
update_flashinfer_0.6.4
Mar 17, 2026
Merged

refactor: replace GatedActType with ActivationType from flashinfer#782
LLLLKKKK merged 1 commit intomainfrom
update_flashinfer_0.6.4

Conversation

@netaddi
Copy link
Collaborator

@netaddi netaddi commented Mar 16, 2026

Update flashinfer API usage to use the renamed ActivationType enum
instead of the deprecated GatedActType in trtllm_fp4_executor and its
test file.

Made-with: Cursor

@netaddi netaddi requested a review from LLLLKKKK as a code owner March 16, 2026 08:09
Copilot AI review requested due to automatic review settings March 16, 2026 08:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates flashinfer API usage to adopt the renamed ActivationType enum (replacing deprecated GatedActType) in the TRTLLM FP4 MoE executor and its tests.

Changes:

  • Replace GatedActType imports/usages with ActivationType.
  • Reformat imports and some long expressions for readability.
  • Adjust test logic/type hints to use ActivationType.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
rtp_llm/models_py/modules/factory/fused_moe/impl/cuda/executors/trtllm_fp4_executor.py Switch executor activation enum mapping from GatedActType to ActivationType and refactor formatting.
rtp_llm/models_py/modules/factory/fused_moe/impl/cuda/executors/test/trtllm_fp4_executor_test.py Update tests/type hints to use ActivationType and refactor formatting/imports.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

LLLLKKKK
LLLLKKKK previously approved these changes Mar 16, 2026
@LLLLKKKK LLLLKKKK enabled auto-merge (rebase) March 16, 2026 08:27
Update flashinfer API usage to use the renamed ActivationType enum
instead of the deprecated GatedActType in trtllm_fp4_executor and its
test file.

Made-with: Cursor
@LLLLKKKK LLLLKKKK merged commit 40ca184 into main Mar 17, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants