|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 6 | + <title>Vortex — A Flexible and Efficient Sparse Attention Framework</title> |
| 7 | + <meta name="description" content="Vortex is a JIT-compiled sparse-attention framework for fast LLM decoding. Describe a sparse-attention flow in a few lines of Python and compile it into fused Triton kernels for SGLang." /> |
| 8 | + <style> |
| 9 | + :root { |
| 10 | + --bg: #0b0d12; |
| 11 | + --bg-soft: #12151d; |
| 12 | + --card: #161a24; |
| 13 | + --border: #232838; |
| 14 | + --fg: #e8ecf4; |
| 15 | + --muted: #9aa4b8; |
| 16 | + --accent: #6ea8fe; |
| 17 | + --accent-2: #b88cff; |
| 18 | + } |
| 19 | + * { box-sizing: border-box; } |
| 20 | + html, body { margin: 0; padding: 0; } |
| 21 | + body { |
| 22 | + background: radial-gradient(1200px 600px at 50% -10%, #1a2030 0%, var(--bg) 60%); |
| 23 | + color: var(--fg); |
| 24 | + font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 25 | + min-height: 100vh; |
| 26 | + } |
| 27 | + .wrap { max-width: 880px; margin: 0 auto; padding: 72px 24px 96px; } |
| 28 | + header { text-align: center; } |
| 29 | + .logo { width: min(360px, 70%); height: auto; margin: 0 auto 12px; display: block; } |
| 30 | + h1 { font-size: 2.6rem; margin: 8px 0 4px; letter-spacing: -0.02em; } |
| 31 | + .tagline { color: var(--muted); font-size: 1.15rem; margin: 0 auto 8px; max-width: 620px; } |
| 32 | + .badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 20px 0 0; } |
| 33 | + .badge { |
| 34 | + font-size: 0.82rem; color: var(--muted); border: 1px solid var(--border); |
| 35 | + border-radius: 999px; padding: 4px 12px; background: var(--bg-soft); |
| 36 | + } |
| 37 | + .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 36px 0 8px; } |
| 38 | + .btn { |
| 39 | + display: inline-flex; align-items: center; gap: 9px; text-decoration: none; |
| 40 | + padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 1rem; |
| 41 | + border: 1px solid var(--border); color: var(--fg); background: var(--card); |
| 42 | + transition: transform .12s ease, border-color .12s ease, background .12s ease; |
| 43 | + } |
| 44 | + .btn:hover { transform: translateY(-2px); border-color: var(--accent); } |
| 45 | + .btn.primary { |
| 46 | + background: linear-gradient(120deg, var(--accent), var(--accent-2)); |
| 47 | + color: #0b0d12; border-color: transparent; |
| 48 | + } |
| 49 | + .btn svg { width: 18px; height: 18px; } |
| 50 | + |
| 51 | + .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 48px 0 0; } |
| 52 | + .card { |
| 53 | + display: block; text-decoration: none; color: inherit; |
| 54 | + background: var(--card); border: 1px solid var(--border); border-radius: 16px; |
| 55 | + padding: 22px; transition: transform .12s ease, border-color .12s ease; |
| 56 | + } |
| 57 | + .card:hover { transform: translateY(-3px); border-color: var(--accent); } |
| 58 | + .card h3 { margin: 0 0 6px; font-size: 1.12rem; } |
| 59 | + .card p { margin: 0; color: var(--muted); font-size: 0.95rem; } |
| 60 | + .card .arrow { color: var(--accent); font-weight: 700; } |
| 61 | + |
| 62 | + section.snippet { margin: 56px 0 0; } |
| 63 | + section.snippet h2 { font-size: 1.05rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; } |
| 64 | + pre { |
| 65 | + background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; |
| 66 | + padding: 18px 20px; overflow-x: auto; font-size: 0.9rem; line-height: 1.55; |
| 67 | + color: #d7def0; |
| 68 | + } |
| 69 | + code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; } |
| 70 | + footer { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 64px; } |
| 71 | + footer a { color: var(--accent); text-decoration: none; } |
| 72 | + </style> |
| 73 | +</head> |
| 74 | +<body> |
| 75 | + <div class="wrap"> |
| 76 | + <header> |
| 77 | + <img class="logo" src="assets/vortex_logo_flat.png" alt="Vortex" onerror="this.style.display='none'" /> |
| 78 | + <h1>Vortex</h1> |
| 79 | + <p class="tagline">A flexible and efficient <strong>sparse-attention</strong> framework for fast LLM decoding. Describe a flow in a few lines of Python — Vortex JIT-compiles it into fused Triton kernels that plug straight into SGLang.</p> |
| 80 | + <div class="badges"> |
| 81 | + <span class="badge">JIT-compiled</span> |
| 82 | + <span class="badge">Triton kernels</span> |
| 83 | + <span class="badge">SGLang backend</span> |
| 84 | + <span class="badge">PyTorch-like frontend</span> |
| 85 | + </div> |
| 86 | + <div class="cta"> |
| 87 | + <a class="btn primary" href="docs/"> |
| 88 | + 📖 Read the Docs |
| 89 | + </a> |
| 90 | + <a class="btn" href="https://github.com/Infini-AI-Lab/vortex_torch"> |
| 91 | + <svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"/></svg> |
| 92 | + GitHub |
| 93 | + </a> |
| 94 | + </div> |
| 95 | + </header> |
| 96 | + |
| 97 | + <div class="cards"> |
| 98 | + <a class="card" href="docs/"> |
| 99 | + <h3>Documentation <span class="arrow">→</span></h3> |
| 100 | + <p>API reference, tutorials, and the full op set for building custom sparse-attention flows.</p> |
| 101 | + </a> |
| 102 | + <a class="card" href="https://github.com/Infini-AI-Lab/vortex_torch"> |
| 103 | + <h3>Source on GitHub <span class="arrow">→</span></h3> |
| 104 | + <p>Clone the repo, file issues, and contribute. Includes vendored SGLang and example flows.</p> |
| 105 | + </a> |
| 106 | + <a class="card" href="docs/#quick-example"> |
| 107 | + <h3>Quick Example <span class="arrow">→</span></h3> |
| 108 | + <p>Centroid-based block-sparse routing in a dozen lines of high-level Python ops.</p> |
| 109 | + </a> |
| 110 | + <a class="card" href="https://openhands.dev/"> |
| 111 | + <h3>AI-Generated Attention <span class="arrow">→</span></h3> |
| 112 | + <p>Use SOTA agents like OpenHands to generate and benchmark sparse-attention algorithms.</p> |
| 113 | + </a> |
| 114 | + </div> |
| 115 | + |
| 116 | + <section class="snippet"> |
| 117 | + <h2>Install</h2> |
| 118 | + <pre><code>git clone --recursive https://github.com/Infini-AI-Lab/vortex_torch.git |
| 119 | +cd vortex_torch |
| 120 | + |
| 121 | +# SGLang dependency (vendored) |
| 122 | +cd third_party/sglang/v0.5.9/sglang |
| 123 | +pip install -e "python" |
| 124 | +cd ../../../../ |
| 125 | + |
| 126 | +# Vortex |
| 127 | +pip install -e .</code></pre> |
| 128 | + </section> |
| 129 | + |
| 130 | + <footer> |
| 131 | + <p>Vortex — Infini-AI-Lab · <a href="https://github.com/Infini-AI-Lab/vortex_torch">GitHub</a> · <a href="docs/">Docs</a></p> |
| 132 | + </footer> |
| 133 | + </div> |
| 134 | +</body> |
| 135 | +</html> |
0 commit comments