Installation
Status
Torch-Spyre is an in-development project. Installation and build instructions will be provided once the runtime and supporting software have progressed to a publicly available release.
Watch this repository for updates or open an issue to express interest in early access.
Requirements
Component |
Version |
|---|---|
Python |
≥ 3.11 |
PyTorch |
~= 2.11.0 |
The exact pins live in pyproject.toml and are resolved through requirements/run.txt.
Verify the Installation
Once installed, verify your setup with:
import torch
x = torch.tensor([1, 2], dtype=torch.float16, device="spyre")
print(x.device) # device(type='spyre', index=0)
Running the Test Suite
python -m pytest tests/
Next Steps
Quickstart — run your first model on Spyre
Tensors and Layouts — understand how tensors work on Spyre