e9096c0a857109ea3a5e62376c45b266bd0dc0fb,scripts/get_torch_nightly_wheels.py,,,#,85

Before Change


                                       py_version=py_version, platform_version=platform_version)


if __name__ == "__main__":
    from tabulate import tabulate
    // print(tabulate(get_n_prior_nightly_wheels(["torch", "torchvision", "torchtext"], 200)))
    wheels = get_n_prior_nightly_wheels(["torch", "torchvision", "torchtext"], 200)
    for a, b, c in wheels:
        print(f"   \"{a} {b} {c}\"  \\")

After Change


        assert args.end_date is not None
        assert args.output_dir is not None
        assert not os.path.exists(args.output_dir), "provide non-existing output dir"
        os.mkdir(args.output_dir)
        create_requirements_files(args.output_dir, args.packages, args.start_date, args.end_date)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pytorch/benchmark
Commit Name: e9096c0a857109ea3a5e62376c45b266bd0dc0fb
Time: 2021-02-04
Author: whc@fb.com
File Name: scripts/get_torch_nightly_wheels.py
Class Name:
Method Name:


Project Name: lingpy/lingpy
Commit Name: 02b1345a9b521639f8966f35b6103fcdecdb8f91
Time: 2013-09-16
Author: mattis.list@posteo.de
File Name: setup.py
Class Name:
Method Name:


Project Name: xinntao/BasicSR
Commit Name: 6917d8a3dbf6617f02b1247fd50fbc20d3cb6fd4
Time: 2018-06-10
Author: wxt1994@126.com
File Name: codes/test_dataloader.py
Class Name:
Method Name: