Skip to content

Commit f999d15

Browse files
committed
[main] remove dbo code
Signed-off-by: zzzzwwjj <[email protected]>
1 parent cd58a64 commit f999d15

File tree

20 files changed

+34
-742
lines changed

20 files changed

+34
-742
lines changed

examples/offline_dualbatch_overlap_npu.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

vllm_ascend/attention/attention_v1.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,6 @@ class AscendMetadata:
213213
# (num_tokens,)
214214
slot_mapping: torch.Tensor = None
215215

216-
# *************************** Other Properties *************************** #
217-
enable_dbo_across_dp: bool = False
218-
219216
prefill: Optional[AscendMetadataForPrefill] = None
220217

221218
decode_meta: Optional[AscendMetadataForDecode] = None
@@ -374,7 +371,6 @@ def build(
374371
slot_mapping=slot_mapping,
375372
attn_mask=attn_mask,
376373
attn_state=attn_state,
377-
enable_dbo_across_dp=common_attn_metadata.enable_dbo_across_dp,
378374
num_prefills=num_prefills,
379375
num_decodes=num_decodes,
380376
prefill=prefill_metadata,

vllm_ascend/attention/mla_v1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ class AscendMLAMetadata:
184184

185185
decode: Optional[AscendMLADecodeMetadata] = None
186186
prefill: Optional[AscendMLAPrefillMetadata] = None
187-
enable_dbo_across_dp: bool = False
188187

189188
def __post_init__(self):
190189
pass
@@ -538,7 +537,6 @@ def build(
538537
query_start_loc=query_start_loc,
539538
block_tables=block_table,
540539
seq_lens=seq_lens,
541-
enable_dbo_across_dp=common_attn_metadata.enable_dbo_across_dp,
542540
)
543541

544542
def build_for_graph_capture(

vllm_ascend/attention/sfa_v1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ class AscendSFAMetadata:
138138

139139
decode: Optional[AscendSFADecodeMetadata] = None
140140
prefill: Optional[AscendSFAPrefillMetadata] = None
141-
enable_dbo_across_dp: bool = False
142141

143142
def __post_init__(self):
144143
pass
@@ -434,7 +433,6 @@ def build(
434433
query_start_loc=query_start_loc,
435434
block_tables=block_table,
436435
seq_lens=seq_lens,
437-
enable_dbo_across_dp=common_attn_metadata.enable_dbo_across_dp,
438436
)
439437

440438

vllm_ascend/attention/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ class AscendCommonAttentionMetadata:
9191

9292
attn_state: Any = None
9393

94-
enable_dbo_across_dp: bool = False
95-
9694
is_only_prefill: bool = False
9795

9896
graph_pad_size: int = -1

vllm_ascend/envs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@
8282
"VLLM_ENABLE_FUSED_EXPERTS_ALLGATHER_EP":
8383
lambda: bool(int(os.getenv("VLLM_ENABLE_FUSED_EXPERTS_ALLGATHER_EP", '0'))
8484
),
85-
# Whether to enable DBO feature for deepseek model.
86-
"VLLM_ASCEND_ENABLE_DBO":
87-
lambda: bool(int(os.getenv("VLLM_ASCEND_ENABLE_DBO", '0'))),
8885
# Whether to enable the model execute time observe profile. Disable it when
8986
# running vllm ascend in production environment.
9087
"VLLM_ASCEND_MODEL_EXECUTE_TIME_OBSERVE":

vllm_ascend/multistream/__init__.py

Whitespace-only changes.

vllm_ascend/multistream/base.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

vllm_ascend/multistream/context.py

Lines changed: 0 additions & 67 deletions
This file was deleted.

vllm_ascend/multistream/decorator.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)