diff --git a/README.md b/README.md index 1dda9bb..47119e2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ -# pages +# radiance landing page +The page behind : plain HTML and CSS, no JavaScript, no external requests. Light and dark follow the visitor's system setting. + +## How it is published + +Whatever is on the default branch of this repository is live within about two minutes: the radiance VM checks this repository regularly and serves the newest commit. Edit, commit, push; nothing else to do. The same layout works later with a full Pages server (git-pages), so the content can stay here. + +| File | What | +|---|---| +| `index.html` | the page | +| `style.css` | the radiance tokens (light and dark) and layout | +| `radiance-mark.svg`, `favicon.svg`, `favicon.ico`, `apple-touch-icon.png` | the radiance mark | +| `fonts/` | Geist and Geist Mono 1.9.2, SIL Open Font License (`fonts/OFL.txt`) | + +## Content and licence + +Text, logo and colours come from radiance itself (its `README.md` and dashboard source, Apache 2.0, by Deadcode and the radiance contributors). The project description is quoted word for word. diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..5bcad89 Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..91c6d3e Binary files /dev/null and b/favicon.ico differ diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..07115e2 --- /dev/null +++ b/favicon.svg @@ -0,0 +1 @@ + diff --git a/fonts/Geist-Variable.woff2 b/fonts/Geist-Variable.woff2 new file mode 100644 index 0000000..3c19abb Binary files /dev/null and b/fonts/Geist-Variable.woff2 differ diff --git a/fonts/GeistMono-Variable.woff2 b/fonts/GeistMono-Variable.woff2 new file mode 100644 index 0000000..50c5a55 Binary files /dev/null and b/fonts/GeistMono-Variable.woff2 differ diff --git a/fonts/OFL.txt b/fonts/OFL.txt new file mode 100644 index 0000000..8d003fe --- /dev/null +++ b/fonts/OFL.txt @@ -0,0 +1,92 @@ +Copyright (c) 2023 Vercel, in collaboration with basement.studio + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION AND CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/index.html b/index.html new file mode 100644 index 0000000..7ed5829 --- /dev/null +++ b/index.html @@ -0,0 +1,85 @@ + + + + + +radiance: inference server for AMD GPUs + + + + + + + + + + + +
+ + + radiance + + +
+ +
+
+

An inference server for AMD GPUs.

+

Written in C++ and HIP. It serves language models and image, video, speech and music generation, and speaks the OpenAI, Anthropic and llama-server APIs, so existing clients work unchanged.

+ +
+ +
+

At a glance

+
+
+
APIs
+
OpenAI (chat, completions, Responses, images, audio, video), Anthropic Messages, llama-server
+
+
+
Hardware
+
RDNA4 (gfx1200, gfx1201), RDNA3 (gfx11xx), Strix Halo (gfx1151); CPU host backend (AVX-512/AVX2)
+
+
+
Extensible
+
Model architectures, kernel libraries and quantisers are .so plugins
+
+
+
Language
+
C++ and HIP
+
+
+
License
+
Apache 2.0
+
+
+
Author
+
Deadcode (StillDeadcode), with contributors
+
+
+
+ +
+

In the project's own words

+
+

An inference server for AMD GPUs, in C++ and HIP: language models, and image, video, speech and music generation. Its HTTP API speaks OpenAI's chat, completions, Responses, images, audio and video APIs, Anthropic's Messages API and llama-server's native one, so their clients and SDKs work unchanged. Model architectures, kernel libraries and quantisers are .so plugins; the ones in this tree are built and loaded the same way a third party's are.

+

The bundled device kernels target AMD RDNA4 (libr4d: gfx1200, gfx1201), RDNA3 (libr3d: gfx11xx) and Strix Halo (libhalo: gfx1151). The engine starts on any AMD GPU family; another card needs a kernel library for it. A machine with no GPU builds the host backend, whose AVX-512/AVX2 kernels (libavx) serve every model here: the small ones at interactive speed on a desktop CPU, the 27B and larger far more slowly than a card.

+ radiance, README.md +
+
+
+ + + + diff --git a/radiance-mark.svg b/radiance-mark.svg new file mode 100644 index 0000000..7ce7b78 --- /dev/null +++ b/radiance-mark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..70e06bd --- /dev/null +++ b/style.css @@ -0,0 +1,96 @@ +/* radiance landing page. Tokens from the radiance brand package (dashboard source, Apache 2.0): + "Cool neutrals with a slight blue cast, one blue accent, semantic hues kept apart from it." + Light and dark follow the system setting. No external requests. */ + +@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; } +@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; } + +:root { + --logo: #6f9bff; + --bg: #f9fafb; + --fg: #111419; + --card: #ffffff; + --surface: #eef0f3; + --hover: #e9edf2; + --muted: #5e646c; + --border: #dfe1e5; + --primary: #2e62c9; + --primary-fg: #ffffff; + --focus: #5684da; + --radius: 0.625rem; + --sans: "Geist", ui-sans-serif, system-ui, sans-serif; + --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; + color-scheme: light dark; +} +@media (prefers-color-scheme: dark) { + :root { + --bg: #0a0c10; + --fg: #eceff2; + --card: #121418; + --surface: #1e2125; + --hover: #202329; + --muted: #9399a2; + --border: rgb(255 255 255 / 0.09); + --primary: #6d9df5; + --primary-fg: #0a0c10; + --focus: #547ecd; + } +} + +*, *::before, *::after { box-sizing: border-box; } +html { -webkit-text-size-adjust: 100%; } +body { + margin: 0; + background: var(--bg); + color: var(--fg); + font: 400 1rem/1.6 var(--sans); + padding-inline: max(1rem, env(safe-area-inset-left)); +} +a { color: var(--primary); text-underline-offset: 0.15em; } +a:focus-visible, .button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: calc(var(--radius) * 0.6); } +code { font-family: var(--mono); font-size: 0.9em; background: var(--surface); padding: 0.05em 0.35em; border-radius: calc(var(--radius) * 0.6); } + +.top, main, .bottom { max-width: 60rem; margin-inline: auto; } + +.top { + display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; + padding-block: 1.25rem; +} +.wordmark { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--fg); text-decoration: none; } +.wordmark svg { width: 2.25rem; height: 2.25rem; fill: var(--logo); } +.wordmark span { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; } +.top nav { display: flex; flex-wrap: wrap; gap: 1.25rem; } +.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; } +.top nav a:hover { color: var(--fg); } + +.hero { padding-block: clamp(3rem, 10vw, 6rem) 3rem; } +.hero h1 { + margin: 0 0 1rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; + font-size: clamp(2.25rem, 6vw, 3.75rem); max-width: 16ch; +} +.lead { margin: 0; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 46rem; } +.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; } +.button { + display: inline-block; padding: 0.65rem 1.1rem; border-radius: var(--radius); + border: 1px solid var(--border); background: var(--card); color: var(--fg); + font-weight: 550; text-decoration: none; +} +.button:hover { background: var(--hover); } +.button.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); } +.button.primary:hover { filter: brightness(1.08); background: var(--primary); } + +h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 1rem; } +.facts, .about { padding-block: 2rem; border-top: 1px solid var(--border); } +.facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.75rem; margin: 0; } +.fact { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; } +.fact dt { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.25rem; } +.fact dd { margin: 0; } + +blockquote { margin: 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--logo); } +blockquote p { margin: 0 0 1rem; max-width: 46rem; } +cite { font-style: normal; color: var(--muted); font-size: 0.9rem; } + +.bottom { padding-block: 2rem 3rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; } +.bottom p { margin: 0; } + +@media (prefers-reduced-motion: no-preference) { .button { transition: background-color 0.15s, filter 0.15s; } }