Skip to content

Commit

Permalink
Update engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oraluben committed Sep 8, 2024
1 parent fc22d96 commit 1913609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepspeed/runtime/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -3675,7 +3675,7 @@ def compile(self, backend=get_accelerator().get_compile_backend(), compile_kwarg
if self.is_compiled:
return

self.module.compile(backend=backend, **compile_kwargs)
self.module.compile(**{compile_kwargs, 'backend': backend})
self._is_compiled = True

@property
Expand Down

0 comments on commit 1913609

Please sign in to comment.