Studious is a minimal tensor framework built for educational purposes. It is meant to be small and readable.
The goal is to implement the core ideas behind modern tensor libraries from scratch, including automatic differentiation and execution on CPU, CUDA and Apple Metal.
Work in progress.
Clone the repository:
git clone https://github.com/jvrdnd/studious.git
cd studiousSet up the virtual environment:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install nanobindInstall CMake 3.15+:
# macOS
brew install cmake
# Ubuntu/Debian
sudo apt update && sudo apt install -y cmake
# Windows
winget install Kitware.CMakeBuild the module:
makeUse the package from the project root:
python -c "import studious; print(studious)"To clean build artifacts:
make clean