Skip to content

Introduction

tensor.cx is an independent, Apache-2.0 licensed project for exploring tensor execution. A Python API sits above a backend-neutral C++20 core, with CPU, Apple Metal, and optional CUDA and Vulkan backends.

The project is pre-alpha. It is useful for runtime experiments, studying backend contracts, and testing small tensor workloads. APIs may change.

  1. Install a CPU environment from source or a reviewed wheel artifact.
  2. Run your first tensor operation.
  3. Read the backend support matrix before enabling a GPU.
  4. Try matmul and a small inference pipeline.
  5. Explore the feature overview and remaining work.
  6. Read the execution experiments for separate OpenCL and software-device validation.

Autograd, model training, asynchronous streams, distributed execution, and broad dtype coverage are outside the current runtime. There is no general PyTorch model or training compatibility promise.

The source repository contains the runtime, tests, and engineering records. These guides are a curated user entry point. PROJECT.md remains the authoritative phase ledger; architecture and validation records stay with the implementation.