mirror of
https://github.com/hanzoai/deepspec.git
synced 2026-09-30 21:41:22 +00:00
Remove unused extract_context_feature import from DSpark modeling
The qwen3 and gemma4 DSpark modeling modules both import extract_context_feature from ..common but never use it; it is referenced only in deepspec/eval/dspark/evaluator.py. Drop the unused import (F401).
This commit is contained in:
@@ -24,7 +24,6 @@ from deepspec.modeling.dspark.common import (
|
||||
create_dspark_attention_mask,
|
||||
create_noise_embed,
|
||||
create_position_ids,
|
||||
extract_context_feature,
|
||||
log_sampler_stats,
|
||||
sample_anchor_positions,
|
||||
)
|
||||
|
||||
@@ -24,7 +24,6 @@ from deepspec.modeling.dspark.common import (
|
||||
create_dspark_attention_mask,
|
||||
create_noise_embed,
|
||||
create_position_ids,
|
||||
extract_context_feature,
|
||||
log_sampler_stats,
|
||||
sample_anchor_positions,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user