Installation¶
This guide covers the installation of spyre-inference using uv, a fast Python package installer and resolver.
Prerequisites¶
- Python >= 3.11
uvpackage manager- Access to IBM Spyre hardware with the Spyre Runtime Stack (required for torch-spyre compilation)
Install¶
From the repository root, run:
This command will:
- Install all project dependencies
- Build vLLM from source with CPU backend support
- Build torch-spyre from source
- Install PyTorch 2.11.0 from the CPU-specific index
Verification¶
After installation, verify the plugin is correctly installed:
Troubleshooting¶
Build Failures¶
If you encounter build failures:
- torch-spyre compilation: Ensure the Spyre Runtime Stack is available on your system. See internal development documentation for environment setup.
- vLLM build: Check that you have sufficient memory and CPU resources for compilation
- Dependency conflicts: Review the
override-dependenciessection inpyproject.toml