[BugFix][NPU] Fix Fish Speech S2 Pro NPU support (#7546)
Signed-off-by: Lei Ke <1141466880@qq.com>
This commit is contained in:
1 parent
4392af5ce3
commit
38c7eeee4c
5 files changed
+40
-1
No files matched your search
@@ -64,6 +64,15 @@ stages:
|
||||
repetition_penalty: 1.0
|
||||
|
||||
platforms:
|
||||
npu:
|
||||
# Ascend paged attention only accepts 128-token cache blocks
|
||||
# (AscendAttentionBackend.get_supported_kernel_block_sizes() == [128]),
|
||||
# while vLLM's CacheConfig default is 16. Without this override stage 0
|
||||
# aborts during KV-cache init with:
|
||||
# ValueError: No common block size for 16.
|
||||
stages:
|
||||
- stage_id: 0
|
||||
block_size: 128
|
||||
xpu:
|
||||
stages:
|
||||
# Verified on Intel Arc B60.
|
||||
|
||||
Reference in new issue
Block a user