[NPU] Support code predictor NPU graph (#2695)
Signed-off-by: XIN GAO <1037396230@qq.com> Signed-off-by: gcanlin <canlinguosdu@gmail.com> Co-authored-by: gcanlin <canlinguosdu@gmail.com>
This commit is contained in:
1 parent
e18cb89d5a
commit
9d1392dcfc
5 files changed
+123
-35
No files matched your search
@@ -46,7 +46,6 @@ stages:
|
||||
|
||||
- stage_id: 2
|
||||
gpu_memory_utilization: 0.1
|
||||
max_num_seqs: 1
|
||||
enforce_eager: true
|
||||
async_scheduling: false
|
||||
max_num_batched_tokens: 51200
|
||||
@@ -67,10 +66,11 @@ platforms:
|
||||
- stage_id: 0
|
||||
gpu_memory_utilization: 0.6
|
||||
tensor_parallel_size: 2
|
||||
max_num_batched_tokens: 8192
|
||||
devices: "0,1"
|
||||
- stage_id: 1
|
||||
gpu_memory_utilization: 0.6
|
||||
enforce_eager: true
|
||||
max_num_batched_tokens: 8192
|
||||
devices: "2"
|
||||
- stage_id: 2
|
||||
gpu_memory_utilization: 0.3
|
||||
|
||||
@@ -71,16 +71,3 @@ stages:
|
||||
max_tokens: 65536
|
||||
seed: 42
|
||||
repetition_penalty: 1.0
|
||||
|
||||
platforms:
|
||||
npu:
|
||||
stages:
|
||||
# NPU does not yet support async-scheduling for TTS, and the
|
||||
# talker fits at max_num_seqs=1 only.
|
||||
- stage_id: 0
|
||||
max_num_seqs: 1
|
||||
enforce_eager: true
|
||||
async_scheduling: false
|
||||
- stage_id: 1
|
||||
gpu_memory_utilization: 0.2
|
||||
async_scheduling: false
|
||||
Reference in new issue
Block a user