{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/3"}],"enrichment":{"capability":"Autoray provides automatic dispatch of array operations across multiple tensor backends (NumPy, PyTorch, JAX, CuPy, MLX, Dask, TensorFlow, and others) without requiring backend-specific code.","skillfed_tags":["array-abstraction","backend-agnostic","dispatch"],"use_cases":["Write numerical algorithms that work on CPU (NumPy) or GPU (CuPy/PyTorch) without code duplication.","Build libraries that support multiple tensor backends without explicit backend-specific branches.","Migrate existing NumPy code to JAX or PyTorch by swapping the backend without rewriting function calls.","Lazy evaluation and computation tracing across different backends using autoray's abstraction layer.","Register custom tensor types or backend-specific optimizations while keeping the main algorithm backend-agnostic."],"what_it_does":"Autoray is a lightweight library that lets you write array code once and run it on any NumPy-compatible tensor backend. Instead of writing separate code paths for NumPy, PyTorch, JAX, CuPy, and other array libraries, you call `ar.do()` with a function name and let autoray route the call to the right backend based on the input array type. It also provides a drop-in NumPy-like interface and utilities for registering custom backends and functions.\n\nThe library solves the problem of backend lock-in: if you build a numerical algorithm in NumPy but later want to run it on GPU with CuPy or use JAX for automatic differentiation, you can do so without rewriting your core logic. It's particularly useful for library authors who want to support multiple backends without maintaining separate implementations.","worth_installing":"Yes. Autoray is actively maintained, has no dependencies, installs cleanly, and solves a real problem for anyone writing numerical code that might need to run on multiple tensor backends. The permissive Apache license and support for current Python versions make it a low-risk addition. Install it if you're building libraries or algorithms that should work across NumPy, PyTorch, JAX, or other array-like libraries."},"id":"autoray","links":{"html":"https://skillfed.io/packages/autoray","md":"https://skillfed.io/packages/autoray.md","pypi":"https://pypi.org/project/autoray/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"autoray","python_support":"supports_current","summary":"Abstract your array operations."},"popularity":{"monthly_downloads":658067,"position":5472,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.1"}
