e78a24eeb124ff9efb99b1aee7ab1ee9181c9e0f,tools/batch/submit-job.py,,,#,153

Before Change


            sys.stdout.flush()
            spinner += 1

if __name__ == "__main__":
    main()

After Change


    endTime = long(total_seconds(datetime.utcnow() - datetime(1970, 1, 1))) * 1000
    return endTime

job_definitions = {
    "g4dn.4x": "gluon-nlp-1-jobs:5",
    "g4dn.8x": "gluon-nlp-1-jobs:4",
    "g4dn.12x": "gluon-nlp-1-4gpu-jobs:1",
    "g4dn.16x": "gluon-nlp-1-jobs:3",
    "p3.2x": "gluon-nlp-1-jobs:5",
    "p3.8x": "gluon-nlp-1-4gpu-jobs:2",
    "p3.16x": "gluon-nlp-1-8gpu-jobs:1",
    "p3dn.24x": "gluon-nlp-1-8gpu-jobs:2"
}

def main():
    spin = ["-", "/", "|", "\\", "-", "/", "|", "\\"]
    logGroupName = "/aws/batch/job"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmlc/gluon-nlp
Commit Name: e78a24eeb124ff9efb99b1aee7ab1ee9181c9e0f
Time: 2020-07-17
Author: szha@users.noreply.github.com
File Name: tools/batch/submit-job.py
Class Name:
Method Name:


Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: 86f6d6dccc28913463f97b87475aae04c4cffc39
Time: 2017-02-04
Author: akshayubhat@gmail.com
File Name: dva/settings.py
Class Name:
Method Name:


Project Name: hanxiao/bert-as-service
Commit Name: 7dcdaf7091798a01341d7b94de0880f8e535608e
Time: 2018-11-26
Author: hanhxiao@tencent.com
File Name: service/server.py
Class Name: BertServer
Method Name: __init__