You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM python
WORKDIR /app
ADD ./ ./
RUN pip install -e .
Getting:
2.227 Obtaining file:///app
2.228 Installing build dependencies: started
5.611 Installing build dependencies: finished with status 'done'
5.611 Checking if build backend supports build_editable: started
5.843 Checking if build backend supports build_editable: finished with status 'done'
5.844 Getting requirements to build editable: started
6.087 Getting requirements to build editable: finished with status 'done'
6.089 Preparing editable metadata (pyproject.toml): started
6.322 Preparing editable metadata (pyproject.toml): finished with status 'done'
6.731 Collecting pydantic<2.5 (from LLMPerf==0.1.0)
6.827 Downloading pydantic-2.4.2-py3-none-any.whl.metadata (158 kB)
7.090 INFO: pip is looking at multiple versions of llmperf to determine which version is compatible with other requirements. This could take a while.
7.093 ERROR: Could not find a version that satisfies the requirement ray (from llmperf) (from versions: none)
7.364
7.364 [notice] A new release of pip is available: 24.3.1 -> 25.0.1
7.364 [notice] To update, run: pip install --upgrade pip
7.365 ERROR: No matching distribution found for ray
------
Dockerfile:7
--------------------
5 | ADD ./ ./
6 |
7 | >>> RUN pip install -e .
8 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -e ." did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
Fmstrat
changed the title
Cannot build woth ray in Docker
Cannot build with ray in Docker
Feb 23, 2025
Looks like this has less to do with Docker and more to do with the dependency selection of Ray doesn't work with Python 3.11. Had to downgrade to 3.10.
In a bog standard Docker build:
Getting:
The text was updated successfully, but these errors were encountered: