Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
4d055ef4
Unverified
Commit
4d055ef4
authored
Oct 17, 2025
by
Lukas Geiger
Committed by
GitHub
Oct 16, 2025
Browse files
Remove unused imports (#26972)
Signed-off-by:
Lukas Geiger
<
lukas.geiger94@gmail.com
>
parent
17c540a9
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
13 deletions
+0
-13
vllm/model_executor/layers/mamba/linear_attn.py
vllm/model_executor/layers/mamba/linear_attn.py
+0
-4
vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py
...quantization/compressed_tensors/compressed_tensors_moe.py
+0
-1
vllm/model_executor/models/gemma3n_mm.py
vllm/model_executor/models/gemma3n_mm.py
+0
-1
vllm/model_executor/models/minimax_text_01.py
vllm/model_executor/models/minimax_text_01.py
+0
-1
vllm/multimodal/utils.py
vllm/multimodal/utils.py
+0
-2
vllm/transformers_utils/tokenizer.py
vllm/transformers_utils/tokenizer.py
+0
-2
vllm/utils/__init__.py
vllm/utils/__init__.py
+0
-1
vllm/v1/worker/tpu_worker.py
vllm/v1/worker/tpu_worker.py
+0
-1
No files found.
vllm/model_executor/layers/mamba/linear_attn.py
View file @
4d055ef4
...
@@ -10,7 +10,6 @@ if TYPE_CHECKING:
...
@@ -10,7 +10,6 @@ if TYPE_CHECKING:
from
typing
import
TYPE_CHECKING
from
typing
import
TYPE_CHECKING
import
torch
import
torch
import
torch.distributed
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
from
einops
import
rearrange
from
einops
import
rearrange
from
torch
import
nn
from
torch
import
nn
...
@@ -41,9 +40,6 @@ from vllm.v1.attention.backends.linear_attn import LinearAttentionMetadata
...
@@ -41,9 +40,6 @@ from vllm.v1.attention.backends.linear_attn import LinearAttentionMetadata
if
TYPE_CHECKING
:
if
TYPE_CHECKING
:
from
vllm.attention.backends.abstract
import
AttentionBackend
from
vllm.attention.backends.abstract
import
AttentionBackend
import
torch
import
torch.distributed
class
MiniMaxText01RMSNormTP
(
CustomOp
):
class
MiniMaxText01RMSNormTP
(
CustomOp
):
name
=
"MiniMaxText01RMSNormTP"
name
=
"MiniMaxText01RMSNormTP"
...
...
vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py
View file @
4d055ef4
...
@@ -848,7 +848,6 @@ class CompressedTensorsW8A8Fp8MoEMethod(CompressedTensorsMoEMethod):
...
@@ -848,7 +848,6 @@ class CompressedTensorsW8A8Fp8MoEMethod(CompressedTensorsMoEMethod):
# Property to determine if AITER is used
# Property to determine if AITER is used
if
self
.
rocm_aiter_moe_enabled
:
if
self
.
rocm_aiter_moe_enabled
:
from
vllm.model_executor.layers.fused_moe.rocm_aiter_fused_moe
import
(
# noqa E501
from
vllm.model_executor.layers.fused_moe.rocm_aiter_fused_moe
import
(
# noqa E501
rocm_aiter_fused_experts
,
shuffle_weights
,
shuffle_weights
,
)
)
...
...
vllm/model_executor/models/gemma3n_mm.py
View file @
4d055ef4
...
@@ -58,7 +58,6 @@ from .interfaces import MultiModalEmbeddings, SupportsMultiModal, SupportsTransc
...
@@ -58,7 +58,6 @@ from .interfaces import MultiModalEmbeddings, SupportsMultiModal, SupportsTransc
from
.utils
import
(
from
.utils
import
(
AutoWeightsLoader
,
AutoWeightsLoader
,
WeightsMapper
,
WeightsMapper
,
flatten_bn
,
init_vllm_registered_model
,
init_vllm_registered_model
,
maybe_prefix
,
maybe_prefix
,
)
)
...
...
vllm/model_executor/models/minimax_text_01.py
View file @
4d055ef4
...
@@ -11,7 +11,6 @@ if TYPE_CHECKING:
...
@@ -11,7 +11,6 @@ if TYPE_CHECKING:
import
regex
as
re
import
regex
as
re
import
torch
import
torch
import
torch.distributed
from
torch
import
nn
from
torch
import
nn
from
transformers
import
MiniMaxConfig
from
transformers
import
MiniMaxConfig
...
...
vllm/multimodal/utils.py
View file @
4d055ef4
...
@@ -31,13 +31,11 @@ if TYPE_CHECKING:
...
@@ -31,13 +31,11 @@ if TYPE_CHECKING:
from
.inputs
import
(
from
.inputs
import
(
BatchedTensorInputs
,
BatchedTensorInputs
,
MultiModalKwargsItem
,
MultiModalKwargsItem
,
MultiModalKwargsItems
,
MultiModalPlaceholderDict
,
MultiModalPlaceholderDict
,
)
)
else
:
else
:
BatchedTensorInputs
=
Any
BatchedTensorInputs
=
Any
MultiModalKwargsItem
=
Any
MultiModalKwargsItem
=
Any
MultiModalKwargsItems
=
Any
MultiModalPlaceholderDict
=
Any
MultiModalPlaceholderDict
=
Any
global_thread_pool
=
ThreadPoolExecutor
(
global_thread_pool
=
ThreadPoolExecutor
(
...
...
vllm/transformers_utils/tokenizer.py
View file @
4d055ef4
...
@@ -21,11 +21,9 @@ from vllm.transformers_utils.utils import check_gguf_file
...
@@ -21,11 +21,9 @@ from vllm.transformers_utils.utils import check_gguf_file
if
TYPE_CHECKING
:
if
TYPE_CHECKING
:
from
vllm.config
import
ModelConfig
from
vllm.config
import
ModelConfig
from
vllm.lora.request
import
LoRARequest
from
vllm.transformers_utils.tokenizer_base
import
TokenizerBase
from
vllm.transformers_utils.tokenizer_base
import
TokenizerBase
else
:
else
:
ModelConfig
=
Any
ModelConfig
=
Any
LoRARequest
=
Any
TokenizerBase
=
Any
TokenizerBase
=
Any
logger
=
init_logger
(
__name__
)
logger
=
init_logger
(
__name__
)
...
...
vllm/utils/__init__.py
View file @
4d055ef4
...
@@ -900,7 +900,6 @@ def _cuda_device_count_stateless(cuda_visible_devices: str | None = None) -> int
...
@@ -900,7 +900,6 @@ def _cuda_device_count_stateless(cuda_visible_devices: str | None = None) -> int
# c1cd946818442aca8c7f812b16d187ce1586c3bc/
# c1cd946818442aca8c7f812b16d187ce1586c3bc/
# torch/cuda/__init__.py#L831C1-L831C17
# torch/cuda/__init__.py#L831C1-L831C17
import
torch.cuda
import
torch.cuda
import
torch.version
from
vllm.platforms
import
current_platform
from
vllm.platforms
import
current_platform
...
...
vllm/v1/worker/tpu_worker.py
View file @
4d055ef4
...
@@ -7,7 +7,6 @@ from collections.abc import Callable
...
@@ -7,7 +7,6 @@ from collections.abc import Callable
from
typing
import
Any
,
TypeVar
from
typing
import
Any
,
TypeVar
import
torch
import
torch
import
torch.distributed
import
torch.nn
as
nn
import
torch.nn
as
nn
import
vllm.envs
as
envs
import
vllm.envs
as
envs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment