Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

llama-toolchain

PyPI - Downloads Discord

This repo contains the API specifications for various components of the Llama Stack as well implementations for some of those APIs like model inference.

The Llama Stack consists of toolchain-apis and agentic-apis. This repo contains the toolchain-apis.

Installation

You can install this repository as a package with pip install llama-toolchain

If you want to install from source:

mkdir -p ~/local
cd ~/local
git clone git@github.com:meta-llama/llama-toolchain.git

conda create -n toolchain python=3.10
conda activate toolchain

cd llama-toolchain
pip install -e .

The Llama CLI

The llama CLI makes it easy to configure and run the Llama toolchain. Read the CLI reference for details.

Appendix: Running FP8

If you want to run FP8, you need the fbgemm-gpu package which requires torch >= 2.4.0 (currently only in nightly, but releasing shortly...)

ENV=fp8_env
conda create -n $ENV python=3.10
conda activate $ENV

pip3 install -r fp8_requirements.txt

Metadata

Release files for llama-cmdline 0.0.1rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-cmdline 0.0.1rc1
File Size Uploaded Provenance Actions
llama_cmdline-0.0.1rc1.tar.gz 31.3 kB Without provenance Details for llama_cmdline-0.0.1rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-cmdline 0.0.1rc1
File Interpreter ABI Platform Actions
llama_cmdline-0.0.1rc1-py3-none-any.whl Python 3 none any Details for llama_cmdline-0.0.1rc1-py3-none-any.whl

Total release size: 82.7 kB

Release files / llama_cmdline-0.0.1rc1.tar.gz

Download URL llama_cmdline-0.0.1rc1.tar.gz
Size 31.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b075d69903c7d364b0f3bd25e1db817bce3aa2899bfb524dd53a5591f441fffa
BLAKE2b-256 checksum
How to use checksums
5c970fa4ae34f5487784cbc999a195ea29ccd2106a169806033a5fde689cd3fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / llama_cmdline-0.0.1rc1-py3-none-any.whl

Download URL llama_cmdline-0.0.1rc1-py3-none-any.whl
Size 51.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3c17c2bc42f9ebe4c4ccd6cfbf32864a914696e3ca24eadeacb534781a75307
BLAKE2b-256 checksum
How to use checksums
dfac2594c4d13cfe9b5f89a0ee6bb336d2c997d58adfed8798b3d2b371303452
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Security for llama-cmdline 0.0.1rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page