Skip to content

[wip] Ascend 020 - #278

Closed
cyber-pioneer wants to merge 7 commits into
flagos-ai:mainfrom
cyber-pioneer:ascend-020
Closed

[wip] Ascend 020#278
cyber-pioneer wants to merge 7 commits into
flagos-ai:mainfrom
cyber-pioneer:ascend-020

remove unnecessary code

b5308c0
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Jul 9, 2026 in 3s

11 new alerts

New alerts in code changed by this pull request

  • 5 warnings
  • 6 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 17 in vllm_fl/dispatch/backends/vendor/ascend/impl/fla/chunk.py

See this annotation in the file changed.

Code scanning / CodeQL

Importing value of mutable attribute Warning library

Importing the value of 'l2norm_fwd' from
module vllm_fl.dispatch.backends.vendor.ascend.impl.fla.l2norm
means that any change made to
vllm_fl.dispatch.backends.vendor.ascend.impl.fla.l2norm.l2norm_fwd
will be not be observed locally.

Check warning on line 19 in vllm_fl/dispatch/backends/vendor/ascend/impl/fla/chunk.py

See this annotation in the file changed.

Code scanning / CodeQL

Importing value of mutable attribute Warning library

Importing the value of 'chunk_gated_delta_rule_fwd' from
module flag_gems.runtime.backend._ascend.fla
means that any change made to
flag_gems.runtime.backend._ascend.fla.chunk_gated_delta_rule_fwd
will be not be observed locally.

Check warning on line 370 in vllm_fl/dispatch/backends/vendor/ascend/impl/fused_moe_kernel.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary delete statement in function Warning library

Unnecessary deletion of local variable
expert_indices
in function
_invoke_fused_moe_loop
.

Check warning on line 8 in vllm_fl/ops/fla/chunk.py

See this annotation in the file changed.

Code scanning / CodeQL

Importing value of mutable attribute Warning

Importing the value of 'l2norm_fwd' from
module vllm.model_executor.layers.fla.ops.l2norm
means that any change made to
vllm.model_executor.layers.fla.ops.l2norm.l2norm_fwd
will be not be observed locally.

Check warning on line 15 in vllm_fl/ops/fla/chunk.py

See this annotation in the file changed.

Code scanning / CodeQL

Importing value of mutable attribute Warning

Importing the value of 'chunk_gated_delta_rule_fwd' from
module vllm.model_executor.layers.fla.ops.chunk
means that any change made to
vllm.model_executor.layers.fla.ops.chunk.chunk_gated_delta_rule_fwd
will be not be observed locally.

Check notice on line 11 in vllm_fl/dispatch/backends/vendor/ascend/impl/fla/gdn_torch_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note library

Import of 'math' is not used.

Check notice on line 14 in vllm_fl/dispatch/backends/vendor/ascend/impl/fla/gdn_torch_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note library

Import of 'F' is not used.

Check notice on line 44 in vllm_fl/dispatch/backends/vendor/ascend/impl/fused_moe.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note library

Variable global_num_experts is not used.

Check notice on line 247 in vllm_fl/dispatch/backends/vendor/ascend/patch.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note library

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 313 in vllm_fl/dispatch/backends/vendor/ascend/patch.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note library

Variable V_dim is not used.

Check notice on line 528 in vllm_fl/dispatch/backends/vendor/ascend/patch.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note library

'except' clause does nothing but pass and there is no explanatory comment.