[Lint] Add python/sglang to ruff F401 checks and remove unused imports in files (#11685)

This commit is contained in:
Chang Su
2025-10-17 16:49:46 -07:00
committed by GitHub
parent 2614adf9ca
commit 627974405d
150 changed files with 124 additions and 405 deletions
@@ -8,7 +8,7 @@ import torch
import triton
import triton.language as tl
from sglang.srt.utils import get_bool_env_var, get_device_name, is_cuda
from sglang.srt.utils import get_device_name, is_cuda
_is_cuda = is_cuda()
if _is_cuda: