Skip to content

Gemma example installation is broken #3178

Open
@diegoasua

Description

@diegoasua

System Info

System details:

Python 3.12
clean environment with pip 25.0
ubuntu 22.04

(.gemma2) ➜  gemma git:(main) ✗ pip install -r requirements.txt
Looking in links: https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
Collecting nvidia-cudnn-cu12~=8.9 (from -r requirements.txt (line 5))
  Downloading nvidia_cudnn_cu12-8.9.7.29-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)
ERROR: Cannot install tensorrt_llm>=0.0.0.dev0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested tensorrt_llm>=0.0.0.dev0
    The user requested (constraint) tensorrt-llm==0.19.0.dev2025040100

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict


[notice] A new release of pip is available: 25.0 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
(.gemma2) ➜  gemma git:(main) ✗ pip list                       
Package Version
------- -------
pip     25.0

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

python3.12 -m venv .gemma2
source .gemma2/bin/activate
cd examples/gemma
pip install -r requirements.txt

Expected behavior

should install dependencies without errors.

actual behavior

(.gemma2) ➜  gemma git:(main) ✗ pip install -r requirements.txt
Looking in links: https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
Collecting nvidia-cudnn-cu12~=8.9 (from -r requirements.txt (line 5))
  Downloading nvidia_cudnn_cu12-8.9.7.29-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)
ERROR: Cannot install tensorrt_llm>=0.0.0.dev0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested tensorrt_llm>=0.0.0.dev0
    The user requested (constraint) tensorrt-llm==0.19.0.dev2025040100

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict


[notice] A new release of pip is available: 25.0 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
(.gemma2) ➜  gemma git:(main) ✗ pip list                       
Package Version
------- -------
pip     25.0

Metadata

Metadata

Assignees

Labels

InstallationSetting up and building TRTLLM: compilation, pip install, dependencies, env config, CMake.bugSomething isn't workingstaletriagedIssue has been triaged by maintainerswaiting for feedback

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions