{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"},{"label":"Simulation","url":"https://skillfed.io/packages/category/games-entertainment-simulation"}],"enrichment":{"capability":"Quadrants is a high-performance compiler that translates Python code into optimized parallel kernels for physics simulation and robotics, targeting NVIDIA GPUs, AMD GPUs, Apple Metal, Vulkan-compatible GPUs, and CPUs.","skillfed_tags":["gpu-computing","physics-simulation","jit-compiler"],"use_cases":["Compile physics simulation kernels for robotics training and control on GPUs without manual CUDA/HIP programming.","Accelerate large-scale differentiable simulations with autodiff support for gradient-based optimization.","Deploy cross-platform GPU code (CUDA, Metal, ROCm, Vulkan) from a single Python source without rewriting for each backend.","Debug compiled kernels using the Python backend to step through code in a standard Python debugger before GPU deployment.","Integrate GPU-accelerated simulation into PyTorch or NumPy workflows via zero-copy tensor interop."],"what_it_does":"Quadrants is a compiler that accepts Python code decorated with `@qd.kernel` and compiles it into highly optimized parallel code for execution on multiple hardware backends\u2014NVIDIA CUDA, AMD ROCm, Apple Metal, Vulkan, and CPUs. It evolved from Taichi as a fully independent project focused on large-scale physics simulation and robotics workloads. The compiler includes structured data support via dataclasses, a unified tensor API with layout control, autodiff with dynamic loops, GPU graph capture, and SIMT primitives like tile operations and subgroup reductions.\n\nThe package ships with pre-built wheels for modern Python versions (3.10\u20133.13) across macOS, Linux, and Windows, reducing installation friction. It depends on numpy, pydantic, rich, dill, colorama, cffi, and setuptools. Key features include zero-copy interop with PyTorch and NumPy via DLPack, a Python backend for debugging, and optional fastcache for reduced kernel load times. The project is actively maintained, with recent releases and no known security vulnerabilities.","worth_installing":"Yes, if you need to write GPU-accelerated physics or robotics simulations in Python without manual kernel programming. The compiler is actively maintained, has no known vulnerabilities, and offers permissive licensing. Install friction is moderate due to compiled wheels, but pre-built binaries cover standard platforms. Verify that the feature set (especially newer additions like fastcache and GPU graphs) meets your stability requirements and that the community ecosystem is sufficient for your use case."},"id":"quadrants","links":{"html":"https://skillfed.io/packages/quadrants","md":"https://skillfed.io/packages/quadrants.md","pypi":"https://pypi.org/project/quadrants/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-11","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"quadrants","python_support":"supports_current","summary":"The Quadrants Programming Language"},"popularity":{"monthly_downloads":172045,"position":10349,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3.0"}
