{
    "components": {
        "python": {
            "3.10": { "ver": "3.10.9", "label": "Python 3.10.9 (GTX 10XX with Torch 2.7.1)" },
            "3.11": { "ver": "3.11.14", "label": "Python 3.11.14 (Recommended)" },
            "3.12": { "ver": "3.12.10", "label": "Python 3.12.10 (AMD ROCm)" }
        },
        "torch": {
            "cu128": {
                "label": "Torch 2.7.1 + CUDA 12.8 (GTX 10XX only: CUDA 13 no longer supports them)",
                "cmd": "torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128"
            },
            "cu130": {
                "label": "Torch 2.10.0 + CUDA 13.0 (Recommended for RTX 20XX and newer)",
                "cmd": "torch==2.10.0 torchvision==0.25.0 torchaudio==2.10.0 --index-url https://download.pytorch.org/whl/cu130"                
            },
            "rocm10": {
                "label": "Torch 2.13.0 + ROCm 10.0 (TheRock, AMD)",
                "cmd": {
                    "win": "\"torch[{device}]==2.13.0+rocm10.0.0\" \"torchvision[{device}]==0.28.0+rocm10.0.0\" torchaudio==2.11.0.2+rocm10.0.0 --index-url https://stable.repo.amd.com/rocm/whl-next/",
                    "linux": "\"torch[{device}]==2.13.0+rocm10.0.0\" \"torchvision[{device}]==0.28.0+rocm10.0.0\" torchaudio==2.11.0.2+rocm10.0.0 --index-url https://stable.repo.amd.com/rocm/whl-next/"
                }
            },
            "mps": {
                "label": "Torch (MPS / Apple Silicon)",
                "cmd": "torch torchvision torchaudio"
            }
        },
        "triton": {
            "v33": { 
                "label": "Triton 3.2.x (RTX 20XX only)",
                "cmd": {
                    "win": "-U \"triton-windows>=3.2,<3.3\"",
                    "linux": "-U \"triton>=3.2,<3.3\""
                }
            },
            "v34": { 
                "label": "Triton 3.3.x (Torch 2.7, RTX 30XX+)",
                "cmd": {
                    "win": "-U \"triton-windows>=3.3,<3.4\"",
                    "linux": "-U \"triton>=3.3,<3.4\""
                }
            },
            "v36": {
                "label": "Triton 3.6.x (Torch 2.10, RTX 30XX+)",
                "cmd": {
                    "win": "-U \"triton-windows>=3.6,<3.7\"",
                    "linux": "-U \"triton>=3.6,<3.7\""
                }
            },
            "v37": {
                "label": "Triton 3.7 Windows / 3.6 Linux (Torch 2.10, RTX 30XX+, Recommended)",
                "cmd": {
                    "win": "-U \"triton-windows>=3.7.0.post26,<=3.7.1.post27\"",
                    "linux": "-U \"triton>=3.6,<3.7\""
                }
            },
            "v38": {
                "label": "Triton 3.7.x (Torch 2.13, AMD ROCm)",
                "cmd": {
                    "win": "-U \"triton-windows>=3.7.0.post26,<=3.7.1.post27\""
                }
            }
        },
        "sage": {
            "v1": { "label": "Sage Attention 1.0.6 (RTX 20XX / Turing)", "cmd": "sageattention==1.0.6" },
            "v220": {
                "label": "Sage Attention 2.2.0 (Torch 2.7.1, RTX 30XX+ / Ampere+)",
                "cmd": {
                    "win": "https://github.com/woct0rdho/SageAttention/releases/download/v2.2.0-windows/sageattention-2.2.0+cu128torch2.7.1-{py}-{py}-win_amd64.whl",
                    "linux": "https://github.com/deepbeepmeep/SageAttention/releases/download/v2.2.0-linux.cg1/sageattention-2.2.0+cu128torch2.7.1.cg1-{py}-{py}-linux_x86_64.whl"
                }
            },
            "v220_cu13": {
                "label": "Sage Attention 2.2.0 (Torch 2.10 / CUDA 13, RTX 30XX+ / Ampere+, Recommended)",
                "cmd": {
                    "win": "https://github.com/woct0rdho/SageAttention/releases/download/v2.2.0-windows.post6/sageattention-2.2.0+cu130torch2.10.0andhigher.post6-cp310-abi3-win_amd64.whl",
                    "linux": "https://github.com/deepbeepmeep/SageAttention/releases/download/v2.2.0-linux.cg1/sageattention-2.2.0+cu130torch2.10.0.cg1-{py}-{py}-linux_x86_64.whl"
                }
            }
        },
        "sparge": {
            "v010_cu128": {
                "label": "Sparge Attention 0.1.0 (CUDA 12.8 / Torch 2.7.1)",
                "cmd": {
                    "win": "https://github.com/woct0rdho/SpargeAttn/releases/download/v0.1.0-windows.post3/spas_sage_attn-0.1.0%2Bcu128torch2.7.1.post3-cp39-abi3-win_amd64.whl",
                    "linux": "{pip} ninja wheel packaging && {pip} --no-build-isolation git+https://github.com/woct0rdho/SpargeAttn.git"
                }
            },
            "v010_cu13": {
                "label": "Sparge Attention 0.1.0 (CUDA 13 / Torch 2.9+ ABI)",
                "cmd": {
                    "win": "https://github.com/woct0rdho/SpargeAttn/releases/download/v0.1.0-windows.post4/spas_sage_attn-0.1.0%2Bcu130torch2.9.0andhigher.post4-cp39-abi3-win_amd64.whl",
                    "linux": "{pip} ninja wheel packaging && {pip} --no-build-isolation git+https://github.com/woct0rdho/SpargeAttn.git"
                }
            }
        },
        "flash": {
            "v210": {
                "label": "Flash Attention 2.8.x",
                "cmd": {
                    "win": "https://github.com/deepbeepmeep/kernels/releases/download/Flash2/flash_attn-2.8.3-cp311-cp311-win_amd64.whl",
                    "linux": "--no-build-isolation flash-attn==2.8.3.post1"
                }
            },
            "v284_rocm": {
                "label": "Flash Attention 2.8.4 (AMD ROCm / Triton)",
                "cmd": {
                    "win": "https://github.com/0xDELUXA/flash-attention/releases/download/v2.8.4_win-rocm/flash_attn-2.8.4-py3-none-win_amd64.whl",
                    "linux": "FLASH_ATTENTION_TRITON_AMD_ENABLE=\"TRUE\" pip install --no-build-isolation git+https://github.com/Dao-AILab/flash-attention.git"
                }
            }
        },
        "kernels": {
            "wgpkernels": {
                "label": "WGPKernels 1.4.2 (CUDA 13, RTX 20XX+)",
                "cmd": {
                    "win": "--no-deps https://github.com/deepbeepmeep/WGPKernels/releases/download/v1.4.2/wgpkernels-1.4.2%2Bcu130-py3-none-win_amd64.whl",
                    "linux": "--no-deps https://github.com/deepbeepmeep/WGPKernels/releases/download/v1.4.2/wgpkernels-1.4.2%2Bcu130-py3-none-linux_x86_64.whl"
                }
            },
            "wgpkernels_cu128": {
                "label": "WGPKernels 1.4.2 (CUDA 12.8, RTX 20XX+)",
                "cmd": {
                    "win": "--no-deps https://github.com/deepbeepmeep/WGPKernels/releases/download/v1.4.2/wgpkernels-1.4.2%2Bcu128-py3-none-win_amd64.whl",
                    "linux": "--no-deps https://github.com/deepbeepmeep/WGPKernels/releases/download/v1.4.2/wgpkernels-1.4.2%2Bcu128-py3-none-linux_x86_64.whl"
                }
            },
            "wgpkernels_rocm10": {
                "label": "WGPKernels 1.4.2 (ROCm 10, RDNA4, experimental)",
                "cmd": {
                    "win": "--no-deps https://github.com/deepbeepmeep/WGPKernels/releases/download/v1.4.2/wgpkernels-1.4.2%2Brocm100-py3-none-win_amd64.whl",
                    "linux": "--no-deps https://github.com/deepbeepmeep/WGPKernels/releases/download/v1.4.2/wgpkernels-1.4.2%2Brocm100-py3-none-linux_x86_64.whl"
                }
            },
            "nunchaku": { 
                "label": "Nunchaku INT4/FP4", 
                "cmd": {
                    "win": "https://github.com/deepbeepmeep/kernels/releases/download/v1.2.0_Nunchaku/nunchaku-1.2.0+torch2.7-cp310-cp310-win_amd64.whl",
                    "linux": "https://github.com/deepbeepmeep/kernels/releases/download/v1.2.0_Nunchaku/nunchaku-1.2.0+torch2.7-cp310-cp310-linux_x86_64.whl"
                }
            },
            "nunchaku_cu13": { 
                "label": "Nunchaku INT4/FP4 (CUDA 13)", 
                "cmd": {
                    "win": "https://github.com/nunchaku-ai/nunchaku/releases/download/v1.2.1/nunchaku-1.2.1+cu13.0torch2.10-cp311-cp311-win_amd64.whl",
                    "linux": "https://github.com/nunchaku-ai/nunchaku/releases/download/v1.2.1/nunchaku-1.2.1+cu13.0torch2.10-cp311-cp311-linux_x86_64.whl"
                }
            },
            "light2xv": { 
                "label": "Light2xv NVFP4 (RTX 50xx)", 
                "cmd": {
                    "win": "https://github.com/deepbeepmeep/kernels/releases/download/Light2xv/lightx2v_kernel-0.0.2+torch2.10.0-cp311-abi3-win_amd64.whl",
                    "linux": "https://github.com/deepbeepmeep/kernels/releases/download/Light2xv/lightx2v_kernel-0.0.2+torch2.10.0-cp311-abi3-linux_x86_64.whl"
                }
            },
            "gguf": {
                "label": "GGUF llama.cpp CUDA Kernels (PyTorch 2.10 / CUDA 13)",
                "cmd": {
                    "win": "--no-deps https://github.com/deepbeepmeep/kernels/releases/download/gguf-v1.0.29/llamacpp_gguf_cuda-1.0.29%2Btorch210cu130py311-cp311-cp311-win_amd64.whl",
                    "linux": "--no-deps https://github.com/deepbeepmeep/kernels/releases/download/gguf-v1.0.29/llamacpp_gguf_cuda-1.0.29%2Btorch210cu130py311-cp311-cp311-linux_x86_64.whl"
                }
            },
            "gguf_cu128": {
                "label": "GGUF llama.cpp CUDA Kernels (PyTorch 2.7.1 / CUDA 12.8)",
                "cmd": {
                    "win": "--no-deps https://github.com/deepbeepmeep/kernels/releases/download/gguf-v1.0.29/llamacpp_gguf_cuda-1.0.29%2Btorch271cu128py310-cp310-cp310-win_amd64.whl",
                    "linux": "--no-deps https://github.com/deepbeepmeep/kernels/releases/download/gguf-v1.0.29/llamacpp_gguf_cuda-1.0.29%2Btorch271cu128py310-cp310-cp310-linux_x86_64.whl"
                }
            },
            "gguf_rocm10": {
                "label": "GGUF llama.cpp HIP Kernels (PyTorch 2.13 / ROCm 10, RDNA4, experimental)",
                "cmd": {
                    "win": "--no-deps https://github.com/deepbeepmeep/kernels/releases/download/gguf-v1.0.29/llamacpp_gguf_cuda-1.0.29%2Btorch213rocm100py312-cp312-cp312-win_amd64.whl",
                    "linux": "--no-deps https://github.com/deepbeepmeep/kernels/releases/download/gguf-v1.0.29/llamacpp_gguf_cuda-1.0.29%2Btorch213rocm100py312-cp312-cp312-linux_x86_64.whl"
                }
            }
        }
    },
    "gpu_profiles": {
        "GTX_10":      { "python": "3.10", "torch": "cu128", "triton": null,     "sage": null,       "sparge": null, "flash": null, "kernels": [] },
        "RTX_20":      { "python": "3.11", "torch": "cu130", "triton": "v33", "sage": "v1", "sparge": null, "flash": null, "kernels": ["wgpkernels", "nunchaku_cu13", "gguf"] },
        "RTX_30":      { "python": "3.11", "torch": "cu130", "triton": "v37", "sage": "v220_cu13", "sparge": "v010_cu13", "flash": "v210", "kernels": ["wgpkernels", "nunchaku_cu13", "gguf"] },
        "RTX_40":      { "python": "3.11", "torch": "cu130", "triton": "v37", "sage": "v220_cu13", "sparge": "v010_cu13", "flash": "v210", "kernels": ["wgpkernels", "nunchaku_cu13", "gguf"] },
        "RTX_50":      { "python": "3.11", "torch": "cu130", "triton": "v37", "sage": "v220_cu13", "sparge": "v010_cu13", "flash": "v210", "kernels": ["wgpkernels", "nunchaku_cu13","light2xv", "gguf"] },
        "AMD":         { "python": "3.12", "torch": "rocm10", "triton": "v38", "sage": "v1", "sparge": null, "flash": "v284_rocm", "kernels": ["wgpkernels", "gguf"], "attention": "sdpa" },
        "MPS":         { "python": "3.11", "torch": "mps", "triton": null, "sage": null, "sparge": null, "flash": null, "kernels": [], "attention": "sdpa" }
    }
}
