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
4d39aba4
Commit
4d39aba4
authored
Apr 16, 2020
by
Mohammad
Browse files
fixed tasks/main imports
parent
f1f9fa0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tasks/main.py
tasks/main.py
+3
-2
No files found.
tasks/main.py
View file @
4d39aba4
...
...
@@ -15,13 +15,14 @@
"""Main tasks functionality."""
from
megatron.initialize
import
initialize_megatron
from
megatron
import
get_args
import
os
import
sys
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
os
.
path
.
pardir
)))
from
megatron
import
get_args
from
megatron.initialize
import
initialize_megatron
def
get_tasks_args
(
parser
):
"""Provide extra arguments required for tasks."""
...
...
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