This release is a pre-release and may not be stable for production use.
Windows ML llama.cpp backend for Python
These distributions add the optional llama.cpp backend to the windowsml Python package.
With them installed, the Windows ML Runtime loads GGUF models.
| Distribution | Contents |
|---|---|
windowsml-llama |
Metapackage. Installs the core and the CUDA backend. |
windowsml-llama-core |
The llama.cpp adapter, the llama.cpp and ggml modules, and the CPU backend. |
windowsml-llama-cuda |
The NVIDIA CUDA backend. Depends on NVIDIA's nvidia-cublas package. |
Install the metapackage through the windowsml extra:
pip install "windowsml[llama]"
Or install it directly:
pip install windowsml-llama
Every distribution pins the exact windowsml version it was built with.
The payload is installed into windowsml/lib, beside the Runtime it was built for.
The CUDA backend requires an NVIDIA GPU and driver.
It depends on NVIDIA's nvidia-cublas wheel at the exact version Windows ML validates.
That wheel is published by NVIDIA under the NVIDIA software license, which installing it accepts.
Windows ML loads that cuBLAS, or a later 13.x release, before the backend.
Without a supported GPU, the CUDA backend is skipped and the CPU backend remains available.
Metadata
Release files for windowsml-llama-core 2.7.2021a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| windowsml_llama_core-2.7.2021a0-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| windowsml_llama_core-2.7.2021a0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
Total release size: 7.2 MB
Release files / windowsml_llama_core-2.7.2021a0-py3-none-win_arm64.whl
| Download URL | windowsml_llama_core-2.7.2021a0-py3-none-win_arm64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
37d760ea49f5de8053417bc0bf6e1bfa6b6c1f6a7ace12c383433701be6827f1
|
|
BLAKE2b-256 checksum How to use checksums |
9826fc0877643ee8018ffa9ffee8880584648fac50c2f399ecedd7ade914d3d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / windowsml_llama_core-2.7.2021a0-py3-none-win_amd64.whl
| Download URL | windowsml_llama_core-2.7.2021a0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1c4212c92c9e305de192c0a13bf33f767b0147c7652fa21ce87a64827c36d5bf
|
|
BLAKE2b-256 checksum How to use checksums |
7c8247535e24e71eb2499d4e5f3802fc9d95df67acbe1030fbe1fc95083c7f92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|