Instructions to use CatSnowdrop/universal_onnxruntime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use CatSnowdrop/universal_onnxruntime with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,8 +18,7 @@ execution providers compiled in and every native dependency bundled next to the
|
|
| 18 |
extension: **TensorRT, CUDA, OpenVINO, DirectML and CPU**.
|
| 19 |
|
| 20 |
This repository publishes the package as a **plain directory tree** — `onnxruntime/` at the repo
|
| 21 |
-
root, exactly as it has to appear in `Lib\site-packages`.
|
| 22 |
-
download is already the installable folder.
|
| 23 |
|
| 24 |
The point of the package is that you install it by copying one folder — no CUDA Toolkit, no
|
| 25 |
cuDNN download, no TensorRT SDK, no `pip install onnxruntime-gpu`. Everything the providers need
|
|
@@ -38,7 +37,7 @@ is in `capi/`, and the package registers that directory with the Windows loader
|
|
| 38 |
|
| 39 |
## Integrity
|
| 40 |
|
| 41 |
-
|
| 42 |
LFS / Xet object keyed by the **SHA-256 of its content**, and both `hf download` and
|
| 43 |
`git lfs` verify that hash while writing the file — a corrupted transfer is rejected, not
|
| 44 |
silently accepted.
|
|
@@ -91,9 +90,6 @@ curl.exe -L -C - -o onnxruntime_providers_cuda.dll `
|
|
| 91 |
`resolve/main` redirects to a commit-pinned CDN path, so re-uploading never invalidates a
|
| 92 |
download that is already running.
|
| 93 |
|
| 94 |
-
> **Expect ~5.20 GiB of traffic.** Unlike a zip, DLLs are stored uncompressed, so the folder is
|
| 95 |
-
> ~1.5× larger on the wire than the equivalent archive (3.48 GiB). In exchange there is no
|
| 96 |
-
> unpack step and no second copy on disk: peak usage is 5.20 GiB, not 8.8 GiB.
|
| 97 |
|
| 98 |
## What's inside
|
| 99 |
|
|
@@ -333,11 +329,9 @@ print(sess.get_providers()) # what actually r
|
|
| 333 |
5. **Many files instead of one.** 379 objects per download; a client that fetches them one by
|
| 334 |
one over plain HTTPS pays 379 round-trips. Use `hf download`, `snapshot_download` or `git`
|
| 335 |
(with `git-lfs`) so transfers run in parallel and resume.
|
| 336 |
-
6. **`
|
| 337 |
-
re-upload the folder (`hf upload ... --exclude "**/__pycache__/**"`).
|
| 338 |
-
7. **`get_available_providers()` is compile-time.** It does not detect a missing driver or GPU;
|
| 339 |
probe by creating a session per provider.
|
| 340 |
-
|
| 341 |
DirectML you still download the CUDA and TensorRT runtimes.
|
| 342 |
|
| 343 |
## Licences
|
|
|
|
| 18 |
extension: **TensorRT, CUDA, OpenVINO, DirectML and CPU**.
|
| 19 |
|
| 20 |
This repository publishes the package as a **plain directory tree** — `onnxruntime/` at the repo
|
| 21 |
+
root, exactly as it has to appear in `Lib\site-packages`.
|
|
|
|
| 22 |
|
| 23 |
The point of the package is that you install it by copying one folder — no CUDA Toolkit, no
|
| 24 |
cuDNN download, no TensorRT SDK, no `pip install onnxruntime-gpu`. Everything the providers need
|
|
|
|
| 37 |
|
| 38 |
## Integrity
|
| 39 |
|
| 40 |
+
Every file is stored as an
|
| 41 |
LFS / Xet object keyed by the **SHA-256 of its content**, and both `hf download` and
|
| 42 |
`git lfs` verify that hash while writing the file — a corrupted transfer is rejected, not
|
| 43 |
silently accepted.
|
|
|
|
| 90 |
`resolve/main` redirects to a commit-pinned CDN path, so re-uploading never invalidates a
|
| 91 |
download that is already running.
|
| 92 |
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
## What's inside
|
| 95 |
|
|
|
|
| 329 |
5. **Many files instead of one.** 379 objects per download; a client that fetches them one by
|
| 330 |
one over plain HTTPS pays 379 round-trips. Use `hf download`, `snapshot_download` or `git`
|
| 331 |
(with `git-lfs`) so transfers run in parallel and resume.
|
| 332 |
+
6. **`get_available_providers()` is compile-time.** It does not detect a missing driver or GPU;
|
|
|
|
|
|
|
| 333 |
probe by creating a session per provider.
|
| 334 |
+
7. **5.20 GiB on disk and in transit**, and no partial packs: even if you only need CPU +
|
| 335 |
DirectML you still download the CUDA and TensorRT runtimes.
|
| 336 |
|
| 337 |
## Licences
|