Clean up imports (#5467)

This commit is contained in:
Lianmin Zheng
2025-04-16 15:26:49 -07:00
committed by GitHub
parent d7bc19a46a
commit 177320a582
51 changed files with 376 additions and 573 deletions

View File

@@ -19,6 +19,7 @@ from typing import Optional, Tuple, Union
import torch
import torch.nn as nn
from sglang.srt.custom_op import CustomOp
from sglang.srt.utils import is_cuda_available
_is_cuda = is_cuda_available()
@@ -31,7 +32,6 @@ if _is_cuda:
rmsnorm,
)
from sglang.srt.custom_op import CustomOp
logger = logging.getLogger(__name__)