mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Bug Fix]fix the bug for cache_messager signal loss (#3879)
* fix the bug for real size 0 in cudagraph * fix cache_messager
This commit is contained in:
@@ -163,7 +163,7 @@ class CacheMessager:
|
|||||||
try:
|
try:
|
||||||
prefilled_step_idx_data = np.zeros(shape=[1], dtype=np.int32)
|
prefilled_step_idx_data = np.zeros(shape=[1], dtype=np.int32)
|
||||||
prefilled_layer_idx_data = np.zeros(shape=[1], dtype=np.int32)
|
prefilled_layer_idx_data = np.zeros(shape=[1], dtype=np.int32)
|
||||||
prefilled_layer_name = f"splitwise_complete_prefilled_step_{self.dp_rank_id}.{self.gpu_id}"
|
prefilled_layer_name = f"splitwise_complete_prefilled_layer_{self.dp_rank_id}.{self.gpu_id}"
|
||||||
prefilled_step_name = f"splitwise_complete_prefilled_step_{self.dp_rank_id}.{self.gpu_id}"
|
prefilled_step_name = f"splitwise_complete_prefilled_step_{self.dp_rank_id}.{self.gpu_id}"
|
||||||
step_shm_value = IPCSignal(
|
step_shm_value = IPCSignal(
|
||||||
name=f"splitwise_complete_prefilled_step_{self.dp_rank_id}",
|
name=f"splitwise_complete_prefilled_step_{self.dp_rank_id}",
|
||||||
|
Reference in New Issue
Block a user