Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -15,6 +15,7 @@ from vllm.platforms import current_platform
|
||||
from vllm.triton_utils import tl, triton
|
||||
from vllm.utils.math_utils import cdiv, next_power_of_2
|
||||
|
||||
|
||||
@triton.heuristics(
|
||||
{
|
||||
"STORE_RESIDUAL_OUT": lambda args: args["residual_out"] is not None,
|
||||
|
||||
@@ -1349,6 +1349,7 @@ def fused_kda_gate_chunk_cumsum(
|
||||
)
|
||||
return y
|
||||
|
||||
|
||||
def _chunk_kda_fwd_with_cumulative_g(
|
||||
q: torch.Tensor,
|
||||
k: torch.Tensor,
|
||||
|
||||
@@ -335,9 +335,7 @@ class LayerNormFwdKernel(VllmJitKernel["LayerNormFwdKernel.CompileKey"]):
|
||||
assert warmup is not None
|
||||
variant = compile_key.input_variant
|
||||
|
||||
def pointer(
|
||||
name: str, dtype: torch.dtype | None
|
||||
) -> TritonWarmupTensor | None:
|
||||
def pointer(name: str, dtype: torch.dtype | None) -> TritonWarmupTensor | None:
|
||||
return None if dtype is None else variant.pointer(name, dtype)
|
||||
|
||||
warmup(
|
||||
|
||||
Vendored
+2766
-1680
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user