Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-6165

Unable to install its-hub, conflicts in reward-hub==0.1.5

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • rhoai-3.0
    • Accelerator Enablement
    • None
    • AIPCC Accelerators 18
    • Important

      Description of problem:

      I'm unable to install its-hub, because reward-hub has conflicts with other packages

      Version numbers (base image, wheels, builder, etc):

      reward-hub==0.1.5
      its-hub==0.3.1
      
      BUILDER_IMAGE_VERSION: v23.20.2

      Steps to Reproduce:

      https://gitlab.com/redhat/rhel-ai/core/base-images/app/-/jobs/11784184805

      uv pip install its-hub

      Actual results:

      Using Python 3.12.9 environment at: .
        × No solution found when resolving dependencies:
        ╰─▶ Because all versions of vllm depend on transformers>=4.55.2 and reward-hub==0.1.2 depends on vllm, we can conclude that reward-hub==0.1.2 depends on transformers>=4.55.2.
            And because its-hub<=0.3.0 depends on reward-hub==0.1.2, we can conclude that its-hub<=0.3.0 depends on transformers>=4.55.2.
            And because all versions of its-hub depend on transformers==4.53.2 and only the following versions of its-hub are available:
                its-hub==0.2.4
                its-hub==0.2.5
                its-hub==0.3.0
                its-hub==0.3.1
            we can conclude that its-hub<0.3.1 cannot be used. (1)      Because only the following versions of uvicorn{sys_platform != 'emscripten'} are available:
                uvicorn{sys_platform != 'emscripten'}<0.31.1
                uvicorn{sys_platform != 'emscripten'}==0.34.0
                uvicorn{sys_platform != 'emscripten'}==0.37.0
                uvicorn{sys_platform != 'emscripten'}==0.38.0
            and all versions of mcp depend on uvicorn{sys_platform != 'emscripten'}>=0.31.1, we can conclude that all versions of mcp depend on uvicorn>=0.34.0. (2)      Because only the following versions of uvicorn{sys_platform != 'emscripten'} are available:
                uvicorn{sys_platform != 'emscripten'}<0.31.1
                uvicorn{sys_platform != 'emscripten'}==0.34.0
                uvicorn{sys_platform != 'emscripten'}==0.37.0
                uvicorn{sys_platform != 'emscripten'}==0.38.0
            and mcp==1.18.0 depends on uvicorn{sys_platform != 'emscripten'}>=0.31.1, we can conclude that mcp==1.18.0 depends on uvicorn>=0.34.0.
            And because we know from (2) that all versions of mcp depend on uvicorn>=0.34.0, we can conclude that all versions of mcp depend on uvicorn>=0.34.0.
            And because all versions of litellm[proxy] depend on mcp, we can conclude that all versions of litellm[proxy] depend on uvicorn>=0.34.0. (3)      Because only the following versions of uvicorn{sys_platform != 'emscripten'} are available:
                uvicorn{sys_platform != 'emscripten'}<0.31.1
                uvicorn{sys_platform != 'emscripten'}==0.34.0
                uvicorn{sys_platform != 'emscripten'}==0.37.0
                uvicorn{sys_platform != 'emscripten'}==0.38.0
            and all versions of mcp depend on uvicorn{sys_platform != 'emscripten'}>=0.31.1, we can conclude that all versions of mcp depend on uvicorn>=0.34.0.
            And because only the following versions of mcp are available:
                mcp==1.16.0
                mcp==1.18.0
            we can conclude that mcp<1.18.0 depends on uvicorn>=0.34.0. (4)      Because only the following versions of uvicorn{sys_platform != 'emscripten'} are available:
                uvicorn{sys_platform != 'emscripten'}<0.31.1
                uvicorn{sys_platform != 'emscripten'}==0.34.0
                uvicorn{sys_platform != 'emscripten'}==0.37.0
                uvicorn{sys_platform != 'emscripten'}==0.38.0
            and mcp==1.18.0 depends on uvicorn{sys_platform != 'emscripten'}>=0.31.1, we can conclude that mcp==1.18.0 depends on uvicorn>=0.34.0.
            And because we know from (4) that mcp<1.18.0 depends on uvicorn>=0.34.0, we can conclude that all versions of mcp depend on uvicorn>=0.34.0.
            And because all versions of litellm[proxy] depend on mcp and only the following versions of litellm[proxy] are available:
                litellm[proxy]==1.74.15
                litellm[proxy]==1.75.8
            we can conclude that litellm[proxy]>1.74.15 depends on uvicorn>=0.34.0.
            And because we know from (3) that all versions of litellm[proxy] depend on uvicorn>=0.34.0, we can conclude that all versions of litellm[proxy] depend on uvicorn>=0.34.0.
            And because reward-hub==0.1.5 depends on litellm[proxy], we can conclude that reward-hub==0.1.5 depends on uvicorn>=0.34.0.
            And because its-hub==0.3.1 depends on reward-hub==0.1.5 and uvicorn<0.30.0, we can conclude that its-hub==0.3.1 cannot be used.
            And because we know from (1) that its-hub<0.3.1 cannot be used, we can conclude that all versions of its-hub cannot be used.
            And because you require its-hub, we can conclude that your requirements are unsatisfiable.
      
      

      Expected results:

      no error

      Additional info:

      The problem seems to be the transformers pin in reward-hub. We only support latest vLLM 0.11.0, which requires transformers>=4.55.2.

              rh-ee-alustosa Andre Lustosa Cabral de Paula Motta
              cheimes@redhat.com Christian Heimes
              Andre Lustosa Cabral de Paula Motta, GX Xu
              Frank's Team
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: