[ci][test] fix pp test failure (#7945)

This commit is contained in:
youkaichao 2024-08-28 01:27:07 -07:00 committed by GitHub
parent e3580537a4
commit f52a43a8b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,7 @@ class MultiprocessingGPUExecutor(DistributedGPUExecutor):
max_parallel_loading_workers)
def _check_executor_parameters(self):
world_size = self.parallel_config.tensor_parallel_size
world_size = self.parallel_config.world_size
tensor_parallel_size = self.parallel_config.tensor_parallel_size
# Set CUDA_VISIBLE_DEVICES for the driver, inherited by workers