a0f75996b1e25c97149bcbc6aad7eed5601daab0,setup.py,,,#,43

Before Change


            "fairseq-validate = fairseq_cli.validate:cli_main",
        ],
    },
    cmdclass={"build_ext": cpp_extension.BuildExtension},
    zip_safe=False,
)

After Change


    pass


if "READTHEDOCS" in os.environ:
    // don"t build extensions when generating docs
    extensions = []
    if "build_ext" in cmdclass:
        del cmdclass["build_ext"]

    // use CPU build of PyTorch
    dependency_links = [
        "https://download.pytorch.org/whl/cpu/torch-1.3.0%2Bcpu-cp36-cp36m-linux_x86_64.whl"
    ]
else:
    dependency_links = []


setup(
    name="fairseq",
    version="0.8.0",
    description="Facebook AI Research Sequence-to-Sequence Toolkit",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: elbayadm/attn2d
Commit Name: a0f75996b1e25c97149bcbc6aad7eed5601daab0
Time: 2019-11-02
Author: myleott@fb.com
File Name: setup.py
Class Name:
Method Name:


Project Name: pytorch/audio
Commit Name: 2fd32dd017c0332956e913bb08c20867bfbe3abe
Time: 2020-06-08
Author: 855818+mthrok@users.noreply.github.com
File Name: torchaudio/_backend.py
Class Name:
Method Name: