Skip to content

Incorrect Relative Path to constraints.txt in bloom/requirements.txt #2993

@Pradeep-18062002

Description

@Pradeep-18062002

System Info

Summary

After the recent move of examples/bloom/requirements.txt to examples/models/contrib/bloom/requirements.txt (commit #2978), the relative path to constraints.txt inside the file is no longer valid.

Problem

This line in requirements.txt:

-c ../constraints.txt

...fails with the error:

ERROR: Could not open requirements file: [Errno 2] No such file or directory: '.../../constraints.txt'

because constraints.txt is actually located at:

examples/constraints.txt

Suggested Fix:

Update the path in requirements.txt to:

-c ../../../constraints.txt

or, alternatively, move constraints.txt up to match the new relative structure.

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

 Error When running:

!pip install -r TensorRT-LLM/examples/models/contrib/bloom/requirements.txt

Error I received:

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'examples/models/contrib/bloom/../constraints.txt'

Expected behavior

Requirement already satisfied: tensorrt_llm>=0.0.0.dev0 ...
Downloading datasets-2.14.7 ...
Successfully built rouge_score
Successfully installed datasets-2.14.7 dill-0.3.7 fsspec-2023.10.0 multiprocess-0.70.15 pyarrow-hotfix-0.6 rouge_score-0.1.2

actual behavior

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'TensorRT-LLM/examples/models/contrib/bloom/../constraints.txt'

additional notes

Update the path in requirements.txt to:

-c ../../../constraints.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagedIssue has been triaged by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions