[Misc] refactor(config): clean up unused code (#6320)

This commit is contained in:
aniaan
2024-07-11 09:39:07 +00:00
committed by GitHub
parent c4774eb841
commit 3963a5335b
2 changed files with 2 additions and 7 deletions
-3
View File
@@ -109,9 +109,6 @@ class XPUModelRunner(ModelRunnerBase[ModelInputForXPU]):
self.kv_cache_dtype = kv_cache_dtype
self.block_size = cache_config.block_size
self.max_context_len_to_capture = (
self.model_config.max_context_len_to_capture
if self.model_config is not None else 0)
self.attn_backend = get_attn_backend(
self.model_config.get_num_attention_heads(self.parallel_config),