mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 16:22:57 +08:00
[BugFix] fix ce bugs (#3641)
* [BugFix] fix tp8 client refuse * fix engine port bug * Update utils.py
This commit is contained in:
@@ -77,7 +77,7 @@ class EngineClient:
|
||||
self.max_model_len = max_model_len
|
||||
max_chips_per_node = 16 if current_platform.is_iluvatar() else 8
|
||||
|
||||
if tensor_parallel_size < max_chips_per_node:
|
||||
if tensor_parallel_size <= max_chips_per_node:
|
||||
self.is_master = True
|
||||
else:
|
||||
self.is_master = False
|
||||
|
Reference in New Issue
Block a user