mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-18 14:40:44 +08:00
fix typos (#3684)
This commit is contained in:
@@ -51,7 +51,7 @@ class IluvatarWorker(GpuWorker):
|
||||
Initialize device and construct model runner
|
||||
"""
|
||||
if paddle.is_compiled_with_custom_device("iluvatar_gpu"):
|
||||
# Set evironment variable
|
||||
# Set environment variable
|
||||
self.device = f"iluvatar_gpu:{self.local_rank}"
|
||||
paddle.device.set_device(self.device)
|
||||
paddle.set_default_dtype(self.parallel_config.dtype)
|
||||
|
Reference in New Issue
Block a user