Unverified Commit f07c1cea authored by Allen's avatar Allen Committed by GitHub
Browse files

[FIX] Fix docker build error (#1831) (#1832)


Co-authored-by: default avatarAntoni Baum <antoni.baum@protonmail.com>
parent 63b2206a
......@@ -18,6 +18,11 @@ RUN --mount=type=cache,target=/root/.cache/pip \
# image to build pytorch extensions
FROM dev AS build
# install build dependencies
COPY requirements-build.txt requirements-build.txt
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -r requirements-build.txt
# copy input files
COPY csrc csrc
COPY setup.py setup.py
......
[build-system]
# Should be mirrored in requirements-build.txt
requires = [
"ninja",
"packaging",
"setuptools",
"setuptools >= 49.4.0",
"torch >= 2.1.0",
"wheel",
]
......
# Should be mirrored in pyproject.toml
ninja
packaging
setuptools>=49.4.0
torch>=2.1.0
wheel
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment