Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models missing 'requirements.txt' files #2515

Open
JasonMts opened this issue Oct 18, 2024 · 0 comments
Open

Models missing 'requirements.txt' files #2515

JasonMts opened this issue Oct 18, 2024 · 0 comments

Comments

@JasonMts
Copy link
Contributor

Models lit_llama, lit_llama_generate and lit_llama_lora are failing with ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' during the installation process as they are missing their requirements.txt files.

Full error with command:

$ python3 benchmark/install.py lit_llama_lora --canary -v
checking packages numpy, torch, torchvision, torchaudio are installed, generating constaints...OK
running setup for /home/user/benchmark/torchbenchmark/canary_models/lit_llama_lora...ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Traceback (most recent call last):
  File "/home/user/benchmark/torchbenchmark/canary_models/lit_llama_lora/install.py", line 4, in <module>
    install_lit_llama()
  File "/home/user/benchmark/torchbenchmark/util/framework/lit_llama.py", line 57, in install_lit_llama
    pip_install_requirements()
  File "/home/user/benchmark/utils/python_utils.py", line 47, in pip_install_requirements
    subprocess.check_call(
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bin/python3', '-m', 'pip', 'install', '-r', 'requirements.txt', '-c', '/home/user/benchmark/build/constraints.txt']' returned non-zero exit status 1.
FAIL
Error for /home/user/benchmark/torchbenchmark/canary_models/lit_llama_lora:
---------------------------------------------------------------------------
None
---------------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/user/benchmark/install.py", line 120, in <module>
    raise RuntimeError("Failed to complete setup")
RuntimeError: Failed to complete setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant