Commit 4d39aba4 authored by Mohammad's avatar Mohammad
Browse files

fixed tasks/main imports

parent f1f9fa0a
...@@ -15,13 +15,14 @@ ...@@ -15,13 +15,14 @@
"""Main tasks functionality.""" """Main tasks functionality."""
from megatron.initialize import initialize_megatron
from megatron import get_args
import os import os
import sys import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),
os.path.pardir))) os.path.pardir)))
from megatron import get_args
from megatron.initialize import initialize_megatron
def get_tasks_args(parser): def get_tasks_args(parser):
"""Provide extra arguments required for tasks.""" """Provide extra arguments required for tasks."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment