DSC: A PyTorch-Compatible Tensor Library and Inference Framework

2025-06-18
DSC: A PyTorch-Compatible Tensor Library and Inference Framework

DSC is a PyTorch-compatible tensor library and inference framework for machine learning models. It boasts a C-compatible low-level API wrapped in a modern Python API similar to NumPy/PyTorch, with usability enhancements. Key features include an intuitive API, built-in neural network support, multiple backends (CPU and CUDA), minimal external dependencies, and no runtime allocations. Installation is straightforward, requiring only a C++20 compiler and GNU Make. CUDA acceleration is supported; simply set environment variables to enable it. Unit tests are run via pytest, ensuring correctness.

Development tensor library