Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ uv run bootstrap.py configure

This downloads, verifying SHA-256 checksums:

- the prebuilt [ONNX Runtime](https://github.com/microsoft/onnxruntime/releases/tag/v1.23.2) 1.23.2 (CPU; the CUDA build on supported NVIDIA GPUs, see below) for the current platform (Linux x64/aarch64, macOS arm64/x86_64, Windows x64/arm64) into `third_party/onnxruntime/`;
- the prebuilt [ONNX Runtime](https://github.com/larroy/onnxruntime/tree/v1.23.2) 1.23.2 (CPU; the CUDA build on supported NVIDIA GPUs, see below) for the current platform (Linux x64/aarch64, macOS arm64/x86_64, Windows x64/arm64) into `third_party/onnxruntime/`;
- the model `kokoro-v1.1-zh.onnx` and the voice pack `voices-v1.1-zh.bin` from this repository's [`voices_model_files` release](https://github.com/larroy/kokoro.cpp/releases/tag/voices_model_files) into `models/`;
- the Kokoro-82M v1.0 model `kokoro-v1.0.onnx` from [kokoro-onnx](https://github.com/thewh1teagle/kokoro-onnx/releases/tag/model-files-v1.0), and the Spanish voices `ef_dora`, `em_alex` and `em_santa` from [onnx-community/Kokoro-82M-v1.0-ONNX](https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX), packed into `models/voices-v1.0-es.bin`;
- the German fine-tune `kokoro-de.onnx` from [Godelaune/Kokoro-82M-ONNX-German-Martin](https://huggingface.co/Godelaune/Kokoro-82M-ONNX-German-Martin), and the German voices `df_eva`, `df_victoria`, `dm_bernd` and `dm_martin` from [cstr/kokoro-voices-GGUF](https://huggingface.co/cstr/kokoro-voices-GGUF), packed into `models/voices-de.bin`.
Expand Down Expand Up @@ -281,7 +281,7 @@ uv run bootstrap.py configure

该命令会下载以下文件并校验 SHA-256:

- 当前平台(Linux x64/aarch64、macOS arm64/x86_64、Windows x64/arm64)的预编译 [ONNX Runtime](https://github.com/microsoft/onnxruntime/releases/tag/v1.23.2) 1.23.2(CPU 版;受支持的 NVIDIA GPU 上为 CUDA 版,见下文),放入 `third_party/onnxruntime/`;
- 当前平台(Linux x64/aarch64、macOS arm64/x86_64、Windows x64/arm64)的预编译 [ONNX Runtime](https://github.com/larroy/onnxruntime/tree/v1.23.2) 1.23.2(CPU 版;受支持的 NVIDIA GPU 上为 CUDA 版,见下文),放入 `third_party/onnxruntime/`;
- 模型 `kokoro-v1.1-zh.onnx` 和语音包 `voices-v1.1-zh.bin`,来自本仓库的 [`voices_model_files` release](https://github.com/larroy/kokoro.cpp/releases/tag/voices_model_files),放入 `models/`;
- Kokoro-82M v1.0 模型 `kokoro-v1.0.onnx`(来自 [kokoro-onnx](https://github.com/thewh1teagle/kokoro-onnx/releases/tag/model-files-v1.0)),以及西班牙语语音 `ef_dora`、`em_alex`、`em_santa`(来自 [onnx-community/Kokoro-82M-v1.0-ONNX](https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX)),打包为 `models/voices-v1.0-es.bin`;
- 德语微调模型 `kokoro-de.onnx`(来自 [Godelaune/Kokoro-82M-ONNX-German-Martin](https://huggingface.co/Godelaune/Kokoro-82M-ONNX-German-Martin)),以及德语语音 `df_eva`、`df_victoria`、`dm_bernd`、`dm_martin`(来自 [cstr/kokoro-voices-GGUF](https://huggingface.co/cstr/kokoro-voices-GGUF)),打包为 `models/voices-de.bin`。
Expand Down Expand Up @@ -507,7 +507,7 @@ uv run bootstrap.py configure

Descarga, verificando las sumas SHA-256:

- el [ONNX Runtime](https://github.com/microsoft/onnxruntime/releases/tag/v1.23.2) 1.23.2 precompilado (CPU; la build CUDA en GPUs NVIDIA compatibles, ver más abajo) para la plataforma actual (Linux x64/aarch64, macOS arm64/x86_64, Windows x64/arm64) en `third_party/onnxruntime/`;
- el [ONNX Runtime](https://github.com/larroy/onnxruntime/tree/v1.23.2) 1.23.2 precompilado (CPU; la build CUDA en GPUs NVIDIA compatibles, ver más abajo) para la plataforma actual (Linux x64/aarch64, macOS arm64/x86_64, Windows x64/arm64) en `third_party/onnxruntime/`;
- el modelo `kokoro-v1.1-zh.onnx` y el paquete de voces `voices-v1.1-zh.bin` del [release `voices_model_files`](https://github.com/larroy/kokoro.cpp/releases/tag/voices_model_files) de este repositorio en `models/`;
- el modelo Kokoro-82M v1.0 `kokoro-v1.0.onnx` de [kokoro-onnx](https://github.com/thewh1teagle/kokoro-onnx/releases/tag/model-files-v1.0), y las voces españolas `ef_dora`, `em_alex` y `em_santa` de [onnx-community/Kokoro-82M-v1.0-ONNX](https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX), empaquetadas en `models/voices-v1.0-es.bin`;
- el modelo afinado para alemán `kokoro-de.onnx` de [Godelaune/Kokoro-82M-ONNX-German-Martin](https://huggingface.co/Godelaune/Kokoro-82M-ONNX-German-Martin), y las voces alemanas `df_eva`, `df_victoria`, `dm_bernd` y `dm_martin` de [cstr/kokoro-voices-GGUF](https://huggingface.co/cstr/kokoro-voices-GGUF), empaquetadas en `models/voices-de.bin`.
Expand Down Expand Up @@ -754,7 +754,7 @@ uv run bootstrap.py configure

Lädt herunter und prüft dabei die SHA-256-Prüfsummen:

- das vorkompilierte [ONNX Runtime](https://github.com/microsoft/onnxruntime/releases/tag/v1.23.2) 1.23.2 (CPU; auf unterstützten NVIDIA-GPUs die CUDA-Variante, siehe unten) für die aktuelle Plattform (Linux x64/aarch64, macOS arm64/x86_64, Windows x64/arm64) nach `third_party/onnxruntime/`;
- das vorkompilierte [ONNX Runtime](https://github.com/larroy/onnxruntime/tree/v1.23.2) 1.23.2 (CPU; auf unterstützten NVIDIA-GPUs die CUDA-Variante, siehe unten) für die aktuelle Plattform (Linux x64/aarch64, macOS arm64/x86_64, Windows x64/arm64) nach `third_party/onnxruntime/`;
- das Modell `kokoro-v1.1-zh.onnx` und das Stimmenpaket `voices-v1.1-zh.bin` aus dem [Release `voices_model_files`](https://github.com/larroy/kokoro.cpp/releases/tag/voices_model_files) dieses Repositorys nach `models/`;
- das Modell Kokoro-82M v1.0 `kokoro-v1.0.onnx` von [kokoro-onnx](https://github.com/thewh1teagle/kokoro-onnx/releases/tag/model-files-v1.0) und die spanischen Stimmen `ef_dora`, `em_alex` und `em_santa` von [onnx-community/Kokoro-82M-v1.0-ONNX](https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX), gepackt in `models/voices-v1.0-es.bin`;
- das deutsche Fine-Tune `kokoro-de.onnx` von [Godelaune/Kokoro-82M-ONNX-German-Martin](https://huggingface.co/Godelaune/Kokoro-82M-ONNX-German-Martin) und die deutschen Stimmen `df_eva`, `df_victoria`, `dm_bernd` und `dm_martin` von [cstr/kokoro-voices-GGUF](https://huggingface.co/cstr/kokoro-voices-GGUF), gepackt in `models/voices-de.bin`.
Expand Down
2 changes: 1 addition & 1 deletion THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ and each crate's license text ships in its source package (`cargo tree -e normal

### ONNX Runtime

- Source: https://github.com/microsoft/onnxruntime
- Source: https://github.com/larroy/onnxruntime (tag `v1.23.2`, preserved history of `microsoft/onnxruntime`)
- License: MIT
- The NuGet packages depend on `Microsoft.ML.OnnxRuntime` (or `Microsoft.ML.OnnxRuntime.Gpu.Windows`)
and do not ship their own copy of `onnxruntime.dll`.
Expand Down
33 changes: 23 additions & 10 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
ORT_DIR = ROOT / "third_party" / "onnxruntime"
ORT_STAMP = ORT_DIR / ".archive"
ORT_VERSION = "1.23.2"
ORT_URL = f"https://github.com/microsoft/onnxruntime/releases/download/v{ORT_VERSION}"
ORT_URL = f"https://github.com/larroy/onnxruntime/releases/download/v{ORT_VERSION}"
MODELS_DIR = ROOT / "models"

@dataclass(frozen=True)
Expand Down Expand Up @@ -71,22 +71,22 @@ class OrtChoice:
ORT_ARCHIVES = {
("linux", "x64"): OrtArchive(
f"onnxruntime-linux-x64-{ORT_VERSION}.tgz",
"1fa4dcaef22f6f7d5cd81b28c2800414350c10116f5fdd46a2160082551c5f9b"),
"5b2048c40e97012e74c5116869283a87cff58af057e6861c85e361082d5cb16f"),
("linux", "arm64"): OrtArchive(
f"onnxruntime-linux-aarch64-{ORT_VERSION}.tgz",
"7c63c73560ed76b1fac6cff8204ffe34fe180e70d6582b5332ec094810241e5c"),
"0cd1a5dfbb2baabe15548616f35118de309f5d406009f166cde5bd6dd21426b9"),
("darwin", "x64"): OrtArchive(
f"onnxruntime-osx-x86_64-{ORT_VERSION}.tgz",
"d10359e16347b57d9959f7e80a225a5b4a66ed7d7e007274a15cae86836485a6"),
"9baf69ce28f58abba6a14e0157e9819d6f29748096b03f748de28867d67ba671"),
("darwin", "arm64"): OrtArchive(
f"onnxruntime-osx-arm64-{ORT_VERSION}.tgz",
"b4d513ab2b26f088c66891dbbc1408166708773d7cc4163de7bdca0e9bbb7856"),
"daf04bf0087e1863d734e46f843bc8fbc3e3317fb1857d41bbd6b2afdac98698"),
("win32", "x64"): OrtArchive(
f"onnxruntime-win-x64-{ORT_VERSION}.zip",
"0b38df9af21834e41e73d602d90db5cb06dbd1ca618948b8f1d66d607ac9f3cd"),
"3d14773ac2b1ea41a1f3302820b24f59c402a8f746116771af312dc452642fd8"),
("win32", "arm64"): OrtArchive(
f"onnxruntime-win-arm64-{ORT_VERSION}.zip",
"1cfe88b6435df3b5fb0e9f6bd7d6f5df1e887b6174de7f6e2a47bab956f3f168"),
"311bd54294d080898a7baa4a8980990e3379441f1f3d94a6e35542190a875245"),
}

# Kernel architectures of the prebuilt CUDA packages, from upstream v1.23.2:
Expand All @@ -95,11 +95,11 @@ class OrtChoice:
ORT_GPU_ARCHIVES = {
("linux", "x64"): OrtArchive(
f"onnxruntime-linux-x64-gpu-{ORT_VERSION}.tgz",
"2083e361072a79ce16a90dcd5f5cb3ab92574a82a3ce0ac01e5cfa3158176f53",
"6ddeac987e4a4072d38c9f6d994f062ede15842484ddca1b3a9cad800085fffc",
CudaArchs(real=((6, 0), (7, 0), (7, 5), (8, 0)), virtual=(9, 0))),
("win32", "x64"): OrtArchive(
f"onnxruntime-win-x64-gpu-{ORT_VERSION}.zip",
"e77afdbbc2b8cb6da4e5a50d89841b48c44f3e47dce4fb87b15a2743786d0bb9",
"3d08344a1071921ca89fc67a5ee6382716276728d38e291a58117412079f54eb",
CudaArchs(real=((7, 5), (8, 6), (8, 9)), virtual=(9, 0))),
}

Expand Down Expand Up @@ -172,7 +172,9 @@ class VoicePack:
GERMAN_VOICES, ".gguf", voice_tool.load_gguf)
VOICE_PACKS = (SPANISH_PACK, GERMAN_PACK)

ORT_GIT_URL = "https://github.com/microsoft/onnxruntime.git"
ORT_GIT_URL = "https://github.com/larroy/onnxruntime.git"
# Upstream v1.23.2. The fork's tag could be moved, so the commit is what gets verified, not the tag.
ORT_COMMIT = "a83fc4d58cb48eb68890dd689f94f28288cf2278"
ORT_SRC_DIR = ROOT / "third_party" / "onnxruntime-src"
MIN_ORT_CMAKE = (3, 28)
CUDNN_HELP = (
Expand Down Expand Up @@ -494,19 +496,30 @@ def default_cuda_arch(gpus: tuple[Gpu, ...]) -> str:
return ";".join(sorted({gpu.sm for gpu in gpus}))


def check_ort_commit(src_dir: Path) -> None:
"""Refuses a checkout whose HEAD is not the pinned onnxruntime commit."""
head = (run_capture(["git", "-C", str(src_dir), "rev-parse", "HEAD"]) or "").strip()
if head != ORT_COMMIT:
raise click.ClickException(
f"{src_dir} is at {head or 'an unreadable commit'}, expected {ORT_COMMIT} (onnxruntime "
f"{ORT_VERSION}); delete it or pass --src-dir")


def checkout_onnxruntime(src_dir: Path) -> None:
tag = f"v{ORT_VERSION}"
if (src_dir / ".git").exists():
describe = (run_capture(["git", "-C", str(src_dir), "describe", "--tags", "--exact-match"]) or "").strip()
if describe != tag:
raise click.ClickException(f"{src_dir} is not an onnxruntime {tag} checkout; delete it or pass --src-dir")
check_ort_commit(src_dir)
return
if src_dir.exists() and any(src_dir.iterdir()):
raise click.ClickException(f"{src_dir} exists and is not a git checkout; delete it or pass --src-dir")
if shutil.which("git") is None:
raise click.ClickException("git not found in PATH")
run(["git", "clone", "--depth", "1", "--branch", tag, "--recurse-submodules", "--shallow-submodules",
ORT_GIT_URL, str(src_dir)])
check_ort_commit(src_dir)


def ort_build_command(cmake: str, src_dir: Path, build_dir: Path, cuda_home: Path, cudnn_home: Path,
Expand Down
101 changes: 101 additions & 0 deletions docs/onnxruntime-download-outage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# ONNX Runtime GitHub outage: download audit

Checked 2026-11-25. `github.com/microsoft/onnxruntime` has returned 404 since 2026-11-17, release assets
included. This records what still works, what is broken, and where 1.23.2 is still available.

**Update 2026-11-26:** the eight archives are now served by [larroy/onnxruntime release `v1.23.2`](https://github.com/larroy/onnxruntime/releases/tag/v1.23.2),
repackaged unmodified from Microsoft's 1.23.2 NuGet packages on nuget.org; `bootstrap.py configure` works again.

## Verdict (2026-11-25 status)

As of 2026-11-25, `bootstrap.py` could not download ONNX Runtime: all eight release archives and the source
clone were gone. Every model and voice download was unaffected.

An existing `third_party/onnxruntime/` (`.archive` = `onnxruntime-win-x64-1.23.2.zip`) and an existing
`models/` kept builds working. A clean clone, `configure --force`, and CI did not.

Superseded by the 2026-11-26 update: `configure` fetches the repackaged archives again.

## Probed URLs (probed 2026-11-25)

| `bootstrap.py` download | Source | Result |
|---|---|---|
| 6 CPU archives (`onnxruntime-{linux-x64,linux-aarch64,osx-x86_64,osx-arm64,win-x64,win-arm64}-1.23.2.*`) | `ORT_URL` (`bootstrap.py:34`) → GitHub release `v1.23.2` | **404** (all six) |
| 2 CUDA archives (`linux-x64-gpu`, `win-x64-gpu`) | same | **404** (both) |
| `build-ort` source clone, tag `v1.23.2`, from `microsoft/onnxruntime` | `ORT_GIT_URL` (`bootstrap.py:175`), since pointed at `larroy/onnxruntime` | **dead**: `info/refs` → 401, repo API → 404 |
| `kokoro-v1.1-zh.onnx`, `voices-v1.1-zh.bin` | `larroy/kokoro.cpp` release `voices_model_files` | 206 OK |
| `kokoro-v1.0.onnx` | `thewh1teagle/kokoro-onnx` release `model-files-v1.0` | 206 OK |
| `kokoro-de.onnx` | HF `Godelaune/Kokoro-82M-ONNX-German-Martin` | 206 OK |
| Spanish voices `ef_dora`, `em_alex`, `em_santa` | HF `onnx-community/Kokoro-82M-v1.0-ONNX` | 206 OK |
| German voices `df_eva`, `df_victoria`, `dm_bernd`, `dm_martin` | HF `cstr/kokoro-voices-GGUF` | 206 OK |

## Blast radius (2026-11-25 status)

Superseded by the 2026-11-26 update, and by repointing the documentation links at the fork's release: none of
these failures reproduce today.

- `install_onnxruntime()` (`bootstrap.py:342-357`) fails on every platform.
- `bootstrap.py build-ort` (source build with CUDA for GPUs outside the prebuilt arch list) cannot clone
`ORT_GIT_URL`; usable source mirrors exist, see the next section.
- `.github/workflows/ci.yml:65` runs `bootstrap.py configure` on a fresh runner and caches only `models`
(`ci.yml:59-64`), so every matrix leg fails now.
- `.github/workflows/pack.yml:93` and `packaging/build-natives.ps1` need ORT packages per RID; they pass only
while the `ort-packaging-${{ hashFiles('bootstrap.py') }}` cache entry survives.
- Dead documentation links: `README.md:29,284,510,757` (four languages) and `THIRD_PARTY_NOTICES.md:76`.

## Where 1.23.2 is still served (verified reachable)

| Channel | Coverage |
|---|---|
| NuGet `Microsoft.ML.OnnxRuntime` 1.23.2 (123 MB) | **Best drop-in.** `build/native/include/*.h` (11 headers incl. `onnxruntime_cxx_api.h`); `runtimes/{linux-x64,linux-arm64,osx-x64,osx-arm64,win-x64,win-arm64}/native/` with `libonnxruntime.{so,dylib,dll}`, win `onnxruntime.lib` import libs and `onnxruntime_providers_shared`; plus `android/native/onnxruntime.aar` and the iOS xcframework. |
| NuGet `Microsoft.ML.OnnxRuntime.Gpu.Windows` 1.23.2 (213 MB) | `win-x64` with `onnxruntime_providers_cuda.dll` (+ tensorrt). |
| NuGet `Microsoft.ML.OnnxRuntime.Gpu.Linux` 1.23.2 (241 MB) | `linux-x64` with `libonnxruntime_providers_cuda.so`. |
| Maven Central `com.microsoft.onnxruntime:onnxruntime-android:1.23.2` | the AAR the Android build already used (`KOKORO_ORT_AAR`). |
| PyPI `onnxruntime==1.23.2` | linux x64/aarch64, macOS x64/arm64, win amd64. **Libraries only, no headers, no win-arm64** — not usable for the C++ build. |
| Homebrew `onnxruntime` | 1.32.0 bottles on ghcr.io; the formula's source URL is the dead GitHub archive, so source builds fail. |
| conda-forge | binaries exist, latest 1.32.0; **1.23.2 is not in the index**. |
| `cdn.pyke.io` (ort crate prebuilt cache) | 1.31.0 — third-party hosting, different version. |

## Source mirrors for `build-ort` (verified 2026-11-25)

Upstream tag `v1.23.2` peels to commit `a83fc4d58cb48eb68890dd689f94f28288cf2278`
("ORT 1.23.2 cherrypick 1 (#26368)", 2025-10-21). Software Heritage has the official origin archived and
reports that revision's metadata, which is how the SHA below was corroborated independently of any mirror.

| Mirror | What it gives | Provenance |
|---|---|---|
| `https://gitcode.com/gh_mirrors/on/onnxruntime.git` | Full git mirror, tags `v1.23.0`/`v1.23.1`/`v1.23.2`. `git clone --depth 1 --branch v1.23.2` succeeded: HEAD `a83fc4d5…`, 9431 files, 857 MB. | Third-party (China-hosted). Safe **only** because git content-addressing pins the tree to the SHA; `raw.*` file URLs are WAF-blocked (418), `git clone`/`ls-remote` work. |
| Debian sid source `onnxruntime_1.23.2+dfsg-6.1` | `onnxruntime_1.23.2+dfsg.orig.tar.xz`, 38,793,400 bytes, sha256 `c601bdc18b542435e5a0149ca18dc353106e0ed87a38d96ed759f1a82a52ef43`, matching the signed `.dsc`. Root prefix `microsoft-onnxruntime-a83fc4d/` (the GitHub auto-archive of that commit). 9635 entries: `onnxruntime/`, `orttraining/`, `tools/ci_build/build.py`, `cmake/deps.txt`, `cmake/external/`, `include/`, `VERSION_NUMBER` = 1.23.2. | Official Debian archive, signed checksums. `Files-Excluded` only drops `*.onnx`, `*.bin`, testdata `.mp3`/`.png` and Windows binary patches — irrelevant with `onnxruntime_BUILD_UNIT_TESTS=OFF`. Debian also ships `libonnxruntime-dev 1.23.2+dfsg-6.1` for amd64/arm64/armhf/i386/loong64/ppc64el/riscv64/s390x, so the tree is known-buildable. `debian.tar.xz` patches are separate and not applied by a plain upstream build. |
| Software Heritage vault | Archived copy of the origin; revisions are served as **gitfast** bundles: `POST /api/1/vault/gitfast/swh:1:rev:a83fc4d5…/`, then poll, then `git clone` the bundle. `flat` answers 400 for revisions (directories only) and requests need a User-Agent. | Archive-grade, but full history and long cook times. |

Cross-check run: the blobs for `VERSION_NUMBER` (`14bee92c…`) and `cmake/deps.txt` (`01e5c809…`) match
between the Debian orig tarball and the GitCode clone, so the two mirrors agree on the version and on the
build dependency set. That is not tree equality — Debian's `Files-Excluded` drops `*.onnx`, `*.bin` and
testdata files — so the shared upstream commit rests on the `a83fc4d5…` revision that both channels report
(Debian's archive root prefix, Software Heritage's archived origin), not on this two-blob sample.

Build dependencies are not mirror-hosted: of the 40 URLs in `cmake/deps.txt` at that commit, 39 answer
200/206 (onnx v1.18.0, protobuf v21.12 + protoc binaries, abseil, cutlass v3.9.2, cudnn-frontend v1.12.0,
eigen, XNNPACK, googletest, …). The single 404 is `microsoft/onnxruntime-extensions` (`c24b7ba…`), fetched
only for `--use_extensions`, which `bootstrap.py:ort_build_command` does not pass.

`checkout_onnxruntime()` (`bootstrap.py:508-522`) defaults `ORT_GIT_URL` (`bootstrap.py:175`) to
`larroy/onnxruntime` and calls `check_ort_commit()` (`bootstrap.py:499-505`) on both the existing-checkout and
the fresh-clone path, failing before configure unless `git rev-parse HEAD` equals `ORT_COMMIT`
(`bootstrap.py:177`) = `a83fc4d58cb48eb68890dd689f94f28288cf2278`. Pointing `ORT_GIT_URL` at any of the
mirrors listed here keeps the same pin. That assertion, not the host name, is what makes a third-party mirror
trustworthy.

## Migration notes

- A `.nupkg` is a zip. Extracting `build/native/include` and `runtimes/<rid>/native` reproduces today's
`third_party/onnxruntime/` layout: headers land in `include/` instead of `include/onnxruntime/`, which
`CMakeLists.txt:47-54` already tolerates; `linux-x64/native` has no `*.lib` (unused — CMake links with
`find_library`).
- Any rewrite must pin the `.nupkg` SHA-256s and keep the `.archive` stamp semantics, or
`README.md:34` / `download()` lose the checksum guarantee.
- The GPU NuGet packages carry the same upstream prebuilt kernel arch set, so moving to them loses no CUDA
coverage. Custom `CMAKE_CUDA_ARCHITECTURES` builds remain possible from the source mirrors above.
- Unofficial mirrors (forks, SourceForge, Wayback) circulate; a hash check only proves what a mirror served.
Prefer Microsoft-hosted NuGet/Maven/PyPI and the Debian archive, and pin the upstream commit SHA when a
third-party git mirror is used. Keep a copy in the project's own artifact store either way.
Loading