Preserve the sparse-attention extension during precompiled reuse, tag full-ABI native wheels for the build interpreter, and release cancelled video uploads before returning.
Assisted-by: OpenAI Codex
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
We provide a docker/Dockerfile to construct the image for running an OpenAI compatible server with vLLM.
More information about deploying with Docker can be found here.
SM70 builds include CPython-specific extensions and produce wheels for the
build interpreter (for example, cp312-cp312 for Python 3.12). setup.py
automatically overrides --py-limited-api=cp38 for these wheels, including
when the final stage reuses precompiled extensions. Build with the same Python
minor version as the intended runtime. Builds containing only stable-ABI
extensions retain the requested abi3 tag.
Below is a visual representation of the multi-stage Dockerfile. The build graph contains the following nodes:
All build stages
The default build target (highlighted in grey)
External images (with dashed borders)
The edges of the build graph represent:
FROM ... dependencies (with a solid line and a full arrow head)
COPY --from=... dependencies (with a dashed line and an empty arrow head)
RUN --mount=(.\*)from=... dependencies (with a dotted line and an empty diamond arrow head)