torchbenchmark/e2e_models/fambench_xlmr/install.py (6 lines of code) (raw):
import sys
import subprocess
def pip_install_requirements():
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-q', '-r', 'requirements.txt'])
if __name__ == '__main__':
pip_install_requirements()