Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Megatron-LM
Commits
35cb3cc1
Commit
35cb3cc1
authored
Jan 16, 2025
by
silencealiang
Browse files
Update jit.py
parent
a0e873f8
Pipeline
#2223
passed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
megatron/core/jit.py
megatron/core/jit.py
+2
-2
No files found.
megatron/core/jit.py
View file @
35cb3cc1
...
...
@@ -7,7 +7,7 @@ from megatron.core.utils import is_torch_min_version
jit_fuser
=
torch
.
jit
.
script
# nvFuser is deprecated in PyTorch JIT starting from 2.2
if
is_torch_min_version
(
"2.2.0a0"
):
jit_fuser
=
torch
.
compile
jit_fuser
=
torch
.
compile
(
mode
=
'max-autotune-no-cudagraphs'
)
# Decorator to disable Torch Dynamo
# See: https://github.com/NVIDIA/TransformerEngine/issues/308
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment