Skip to content

Official Inference Code of EAGLE-4

build(pkg): publish eagle-harness to PyPI only

Seyfal Sultanov1c4cb1c9170d
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index bf5dd01..762e69a 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -1,7 +1,8 @@
# Public eagle-harness: upload a release to PyPI. Publishing a GitHub release vX.Y.Z on this repo builds the files with
# wheels.yml and uploads them with PyPI trusted publishing (no API token) once a maintainer approves the `pypi`
-# environment, then attaches them to the release. In the private source repo this workflow is skipped: releases there
-# come from release-please, and the upload happens on this repo after the export.
+# environment. The files go to PyPI only: the GitHub release carries the engine wheels (tools/engine_release.py). In the
+# private source repo this workflow is skipped: releases there come from release-please, and the upload happens on this
+# repo after the export.
name: publish
on:
@@ -25,7 +26,6 @@ jobs:
name: pypi
url: https://pypi.org/project/eagle-harness/
permissions:
- contents: write # attach the files to the release
id-token: write # PyPI trusted publishing
steps:
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
@@ -43,8 +43,3 @@ jobs:
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
with:
packages-dir: upload
- - name: Attach the files to the release
- env:
- GH_TOKEN: ${{ github.token }}
- TAG: ${{ github.event.release.tag_name }}
- run: gh release upload "$TAG" upload/* --repo "$GITHUB_REPOSITORY"
diff --git a/README.md b/README.md
index 34a5828..3d53104 100644
--- a/README.md
+++ b/README.md
@@ -99,8 +99,8 @@ speculative server is faster.
## Install
-Install one patched engine per environment, then `eagle-harness==0.1.0`. The release publishes `eagle-harness` to PyPI
-and attaches the same wheel and sdist to the [v0.1.0 GitHub release](https://github.com/eagle-hq/EAGLE-4/releases/tag/v0.1.0).
+Install one patched engine per environment, then `eagle-harness==0.1.0` from PyPI. The
+[v0.1.0 GitHub release](https://github.com/eagle-hq/EAGLE-4/releases/tag/v0.1.0) carries the engine wheels, not `eagle-harness`.
Use Python 3.12 for the CUDA engines and Python 3.10 for the ROCm wheel. The commands read their pins from the
release settings file in this checkout:
diff --git a/docs/install.md b/docs/install.md
index 31588e5..63344f7 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -15,8 +15,8 @@ then follow that engine's quickstart.
[Release settings](release.env) is the single source for package pins, wheel indexes and container tags.
The engine wheels belong to the GitHub release named by `EAGLE_RELEASE_ASSETS`. Its PEP 503 indexes
-separate CUDA and ROCm wheels. The `eagle-harness` release path is PyPI, with its wheels and source distribution
-also attached to the same GitHub Release. Publishing the public release runs `publish.yml` with PyPI trusted publishing.
+separate CUDA and ROCm wheels. The `eagle-harness` wheels and source distribution are published only to PyPI,
+not to the GitHub Release. Publishing the public release runs `publish.yml` with PyPI trusted publishing.
These are release destinations, not evidence that publication has completed. The PyPI project and public
artifacts are not yet available for this draft. Fresh CUDA environments installed private wheels and served
@@ -24,10 +24,6 @@ real requests, and the `eagle-harness` wheel and source-distribution forms passe
used a private index, not the public URLs. The private SGLang image also passed serving and correctness
checks. vLLM image qualification is pending, and the TokenSpeed image has not been built. Final release
artifacts and registry publication require separate checks.
-If PyPI is unavailable after publication, download the matching `eagle-harness` wheel from the GitHub Release
-named by `EAGLE_RELEASE_ASSETS`, verify its release checksum, and install it with
-`python -m pip install /path/to/downloaded/eagle_harness-0.1.0-py3-none-any.whl` in the engine environment.
-Before the release assets exist, neither path is available.
The private ROCm pip closure below was clean-installed and inference-tested. Its Docker recipe
has not been container-qualified. Publication remains a separate release step.
Do not replace an unavailable artifact with the stock engine or an unpinned package.
diff --git a/docs/known-limits.md b/docs/known-limits.md
index abffbe4..33fef3f 100644
--- a/docs/known-limits.md
+++ b/docs/known-limits.md
@@ -83,7 +83,7 @@ not write a successful `serve.sh`. See [calibration](calibration.md).
## Distribution
-The [install guide](install.md) describes the release path: `eagle-harness` packages on PyPI and GitHub Release,
+The [install guide](install.md) describes the release path: `eagle-harness` packages on PyPI,
patched engine wheels on the GitHub Pages indexes, and images on GHCR. These destinations do not establish
publication or image qualification. Private-index CUDA installation and request checks do not test the public
URLs. AMD has a qualified private offline pip closure, but its fresh-install commands remain deferred