File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
vllm_omni/diffusion/worker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,11 @@ def init_device(self) -> None:
8686
8787 # Create vllm_config for parallel configuration
8888 vllm_config = VllmConfig (compilation_config = CompilationConfig ())
89-
90- # Create vllm_config for parallel configuration
9189 vllm_config .parallel_config .tensor_parallel_size = self .od_config .parallel_config .tensor_parallel_size
9290 vllm_config .parallel_config .data_parallel_size = self .od_config .parallel_config .data_parallel_size
9391 self .vllm_config = vllm_config
92+
93+ # Initialize distributed environment
9494 with (set_forward_context (vllm_config = self .vllm_config , omni_diffusion_config = self .od_config ),
9595 set_current_vllm_config (self .vllm_config )):
9696 init_distributed_environment (world_size = world_size , rank = rank )
You can’t perform that action at this time.
0 commit comments