Fix per file ruff ignores related to simplification (#26259)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -705,10 +705,7 @@ def _pplx_moe(
|
||||
with set_current_vllm_config(vllm_config), override_config(moe_config):
|
||||
topk_weight, topk_ids, _ = fused_topk(a, score, topk, False)
|
||||
|
||||
if shared_experts is not None:
|
||||
shared_output = shared_experts(a)
|
||||
else:
|
||||
shared_output = None
|
||||
shared_output = shared_experts(a) if shared_experts is not None else None
|
||||
|
||||
torch_output = torch_experts(
|
||||
a,
|
||||
|
||||
Reference in New Issue
Block a user