mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
Version 0.2.15 / Control 0.1.61: app and Terminal 0.2.15, Control 0.1.61; every engine package stays 0.1.60 (the v0.2.14 files, carried by absolute url)
The 0.2.14 bump list (38f63bc59): CMakeLists.txt project VERSION 0.1.61 (Control); strata_cli PRODUCT_VERSION 0.2.15; apps/desktop package.json,
Cargo.toml and the strata-desktop entry of Cargo.lock; apps/host package.json and package-lock.json; the bug-report placeholder; the About
comment; qa1-storage and test_tui2_023_versions; docs/data/release.json (tag v0.2.15, 0.2.15 / 0.2.15 / 0.1.61 / 0.1.60, the 0.2.15
installer and Control 0.1.61 names) and the pages tools/release_manifest.py --write and tools/capability_table.py --write keep.
metal/CMakeLists.txt (0.1.60-metal) and packaging/build_hip_linux.sh (PKGVER 0.1.60) stay: they name engine builds, and no engine is built.
- release.json "engines_from": "v0.2.14": the release whose engine packages this one carries. With it, release_manifest --check lets Control be
ahead of the engines (before, only an engine version plus one hotfix part passed), as long as the engine packages at engine_version are in
the asset list. tools/test_release_manifest.py covers it.
- The version line of docs/CAPABILITIES.md says "Control 0.1.61, engines 0.1.60" when the two differ, not "Control and engines 0.1.60"
(tools/test_capability_table.py); docs/AI_REFERENCE.md and packaging/README.md state Control and engines separately (release_manifest LINES).
This commit is contained in:
1 parent
f5b255007c
commit
e39a52e33f
37 files changed
+122
-82
No files matched your search
@@ -66,7 +66,7 @@ body:
|
||||
attributes:
|
||||
label: Strata version
|
||||
description: "In the app: Settings > About. In the Terminal: `strata --version`. From source: the About tab of the web page, or `engine` in `GET /v1/status`, or the git commit."
|
||||
placeholder: "Strata 0.2.14 · engine 0.1.60"
|
||||
placeholder: "Strata 0.2.15 · engine 0.1.60"
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# AGENTS.md
|
||||
|
||||
Version 0.2.14, engine 0.1.60. The public model families are
|
||||
Version 0.2.15, engine 0.1.60. The public model families are
|
||||
Qwen3.8-Flash-Next and Qwen3.6-35B-A3B. Read **[docs/AI_REFERENCE.md](docs/AI_REFERENCE.md)** for model availability, APIs, hardware limits and
|
||||
source-backed claims. Articles and videos should use **[docs/MEDIA_KIT.md](docs/MEDIA_KIT.md)**.
|
||||
|
||||
@@ -13,7 +13,7 @@ Strata has three parts:
|
||||
|
||||
- **The app** (`apps/desktop`, the Tauri shell; `apps/host`, the Node host and the web UI). It is for people who do
|
||||
not want a terminal. One installer per system ([latest release](https://github.com/Niko1221/Strata/releases/latest)):
|
||||
`Strata-0.2.14-windows-x64-setup.exe`, `Strata-0.2.14-linux-x86_64.AppImage`, `Strata-0.2.14-macos-arm64.dmg`.
|
||||
`Strata-0.2.15-windows-x64-setup.exe`, `Strata-0.2.15-linux-x86_64.AppImage`, `Strata-0.2.15-macos-arm64.dmg`.
|
||||
The Windows and Linux installers carry no engine: the app downloads the engine for the graphics card on first
|
||||
start, or installs a file the user already has. The Mac dmg keeps its small Metal engine inside.
|
||||
- **The Terminal** (`strata.py`, `strata_cli/`, `strata_control/`): the `strata` command. It sets up a model, serves
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
# building for a pre-Ampere arch would produce a binary that runs and is wrong about its own performance, which is
|
||||
# the worst of both outcomes.
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
project(strata VERSION 0.1.60.1 LANGUAGES CXX)
|
||||
project(strata VERSION 0.1.61 LANGUAGES CXX)
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/strata_geometry.cmake) # -DSTRATA_GEOMETRY=<name>: the model shape the kernels are compiled for (default flash_next, no flag added)
|
||||
# The build is cut by backend (cleanup 5.4): each file below only DEFINES macros (strata_<part>()), which run here, in this scope, at the place their
|
||||
# block used to be - so this file reads in the order the old single CMakeLists.txt evaluated.
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ Unsicher, was passt? [Wähle ein Modell für deinen Computer](docs/MODELS.md#pic
|
||||
|
||||
Installiere die App, wähle ein Modell und leg mit dem Chat los. Es gibt einen Installer pro System. Beim ersten Start lädt die App die Engine für deine Grafikkarte herunter. [Hilfe zum Installer](docs/INSTALL.md#the-app).
|
||||
|
||||
<sub>Dateien: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>Dateien: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="Strata-Desktop-App mit Chat und Live-Codevorschau nebeneinander">
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ Recomendamos **primero ISTA-DASLab**, después **Unsloth** y otros proveedores,
|
||||
|
||||
Instala la aplicación, elige un modelo y empieza a chatear. Hay un instalador por sistema. En el primer arranque, la aplicación descarga el motor para tu tarjeta gráfica. [Ayuda con el instalador](docs/INSTALL.md#the-app).
|
||||
|
||||
<sub>Archivos: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>Archivos: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="Aplicación de escritorio de Strata con un chat y una vista previa del código en vivo, una junto a otra">
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ Vous ne savez pas ce qui tient ? [Choisir un modèle pour votre ordinateur](docs
|
||||
|
||||
Installez l'application, choisissez un modèle et commencez à discuter. Il y a un seul installateur par système. Au premier lancement, l'application télécharge le moteur de votre carte graphique. [Aide pour l'installateur](docs/INSTALL.md#the-app).
|
||||
|
||||
<sub>Fichiers: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>Fichiers: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="Application de bureau Strata avec une discussion et un aperçu du code en direct côte à côte">
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@
|
||||
|
||||
アプリをインストールし、モデルを選んで、チャットを始めましょう。インストーラーはシステムごとに1つです。初回起動時に、アプリがお使いのグラフィックスカード用のエンジンをダウンロードします。[インストーラーのヘルプ](docs/INSTALL.md#the-app)。
|
||||
|
||||
<sub>ファイル: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>ファイル: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="チャットとライブのコードプレビューを並べて表示した Strata デスクトップアプリ">
|
||||
|
||||
@@ -67,7 +67,7 @@ Not sure what fits? [Choose a model for your computer](docs/MODELS.md#pick-by-me
|
||||
Install the app, choose a model, and start chatting. There is one installer for each system. On first start the app
|
||||
downloads the engine for your graphics card. [Help with the installer](docs/INSTALL.md#the-app).
|
||||
|
||||
<sub>Files: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>Files: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="Strata desktop app with a chat and live code preview side by side">
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ Nie wiesz, co się zmieści? [Wybierz model do swojego komputera](docs/MODELS.md
|
||||
Zainstaluj aplikację, wybierz model i zacznij rozmawiać. Dla każdego systemu jest jeden instalator. Przy pierwszym
|
||||
uruchomieniu aplikacja pobiera silnik dla twojej karty graficznej. [Pomoc z instalatorem](docs/INSTALL.md#the-app).
|
||||
|
||||
<sub>Pliki: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>Pliki: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="Aplikacja Strata na komputer: czat i podgląd kodu na żywo obok siebie">
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ Não sabe o que cabe? [Escolha um modelo para o seu computador](docs/MODELS.md#p
|
||||
|
||||
Instale o aplicativo, escolha um modelo e comece a conversar. Há um instalador por sistema. Na primeira vez que abre, o aplicativo baixa o motor da sua placa de vídeo. [Ajuda com o instalador](docs/INSTALL.md#the-app).
|
||||
|
||||
<sub>Arquivos: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>Arquivos: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="Aplicativo de desktop do Strata com um chat e uma prévia do código ao vivo lado a lado">
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@
|
||||
|
||||
安装应用,选择模型,就可以开始聊天。每个系统只有一个安装程序。首次启动时,应用会下载适合你显卡的引擎。[安装程序帮助](docs/INSTALL.md#the-app)。
|
||||
|
||||
<sub>文件: `Strata-0.2.14-windows-x64-setup.exe` · `Strata-0.2.14-linux-x86_64.AppImage` · `Strata-0.2.14-macos-arm64.dmg`</sub>
|
||||
<sub>文件: `Strata-0.2.15-windows-x64-setup.exe` · `Strata-0.2.15-linux-x86_64.AppImage` · `Strata-0.2.15-macos-arm64.dmg`</sub>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/media/app-chat.png" width="900" alt="Strata 桌面应用,聊天和实时代码预览并排显示">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "strata-desktop",
|
||||
"productName": "Strata",
|
||||
"version": "0.2.14",
|
||||
"version": "0.2.15",
|
||||
"private": true,
|
||||
"description": "Strata Desktop - local AI, tuned to one model.",
|
||||
"scripts": {
|
||||
|
||||
Generated
+1
-1
@@ -3625,7 +3625,7 @@ checksum = "ff7589a1859b09232522bb9edf076ca7fcf14ded96685d3fa629db73023ffbb7"
|
||||
|
||||
[[package]]
|
||||
name = "strata-desktop"
|
||||
version = "0.2.14"
|
||||
version = "0.2.15"
|
||||
dependencies = [
|
||||
"gtk",
|
||||
"serde",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "strata-desktop"
|
||||
version = "0.2.14"
|
||||
version = "0.2.15"
|
||||
description = "Strata Desktop — local AI, tuned to one model."
|
||||
edition = "2021"
|
||||
rust-version = "1.77"
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "strata",
|
||||
"version": "0.2.14",
|
||||
"version": "0.2.15",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "strata",
|
||||
"version": "0.2.14",
|
||||
"version": "0.2.15",
|
||||
"dependencies": {
|
||||
"html-to-image": "^1.11.13",
|
||||
"katex": "^0.19.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "strata",
|
||||
"private": true,
|
||||
"version": "0.2.14",
|
||||
"version": "0.2.15",
|
||||
"type": "module",
|
||||
"description": "Strata \u2014 local AI, tuned to one model. Web shell + engine host.",
|
||||
"scripts": {
|
||||
|
||||
@@ -91,7 +91,7 @@ export function SettingsUpdates() {
|
||||
</>;
|
||||
}
|
||||
|
||||
/** "Strata 0.2.14 · Engine 0.1.60": the app's own version first, the engine's beside it (About). */
|
||||
/** "Strata 0.2.15 · Engine 0.1.60": the app's own version first, the engine's beside it (About). */
|
||||
export function AboutVersions() {
|
||||
const native = useNative();
|
||||
const app = appVersionLabel(useStore(s => s.setup?.app.version), native?.version);
|
||||
|
||||
@@ -57,5 +57,5 @@ test('Cargo.toml, tauri.conf.json and the desktop package agree on the app versi
|
||||
const cargo = /^version\s*=\s*"([^"]+)"/m.exec(await readFile(new URL('src-tauri/Cargo.toml', root), 'utf8'))[1];
|
||||
const pkg = JSON.parse(await readFile(new URL('package.json', root), 'utf8')).version;
|
||||
assert.equal(cargo, pkg);
|
||||
assert.equal(cargo, '0.2.14');
|
||||
assert.equal(cargo, '0.2.15');
|
||||
});
|
||||
@@ -1,6 +1,6 @@
|
||||
# Strata reference for AI tools and automated readers
|
||||
|
||||
Last reviewed: 7 November 2026 against the 0.2.14 release tree (app and Terminal 0.2.14; Control and engines 0.1.60).
|
||||
Last reviewed: 7 November 2026 against the 0.2.15 release tree (app and Terminal 0.2.15; Control 0.1.61, engines 0.1.60).
|
||||
App, Control and engine versions differ; use the release notes and the installed component information. This page
|
||||
holds the technical context behind the short [README](../README.md). Use [AI_SETUP.md](AI_SETUP.md) to install Strata for a user,
|
||||
[AGENTS.md](../AGENTS.md) for repository work, and [MEDIA_KIT.md](MEDIA_KIT.md) for articles or videos.
|
||||
@@ -10,8 +10,8 @@ holds the technical context behind the short [README](../README.md). Use [AI_SET
|
||||
- Strata runs supported language models locally, with a desktop app, a terminal app, and an inference engine.
|
||||
- The engine uses the GPU, system RAM and, for applicable models and memory modes, SSD storage.
|
||||
See [how it works](HOW_IT_WORKS.md) and [engine details](DETAILS.md).
|
||||
- There is one app installer per system (`Strata-0.2.14-windows-x64-setup.exe`, `Strata-0.2.14-linux-x86_64.AppImage`,
|
||||
`Strata-0.2.14-macos-arm64.dmg`). The Windows and Linux installers carry no engine: the app downloads the engine for the
|
||||
- There is one app installer per system (`Strata-0.2.15-windows-x64-setup.exe`, `Strata-0.2.15-linux-x86_64.AppImage`,
|
||||
`Strata-0.2.15-macos-arm64.dmg`). The Windows and Linux installers carry no engine: the app downloads the engine for the
|
||||
graphics card on first start, or installs a file the user already has. The Mac dmg keeps its Metal engine inside.
|
||||
The Terminal's `strata launch` downloads the appropriate engine and model.
|
||||
See [installation](INSTALL.md) and [Terminal launch](TERMINAL_LAUNCH.md).
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
# Set up Strata for a user
|
||||
|
||||
Use this guide when a user asks an AI agent to install Strata (version 0.2.14). There are two release routes. Pick
|
||||
Use this guide when a user asks an AI agent to install Strata (version 0.2.15). There are two release routes. Pick
|
||||
one; do not start from a source checkout.
|
||||
|
||||
- **The Terminal and `strata launch`** (below). This is the route for an agent that has a shell.
|
||||
- **The desktop app.** One installer per system: `Strata-0.2.14-windows-x64-setup.exe`,
|
||||
`Strata-0.2.14-linux-x86_64.AppImage`, `Strata-0.2.14-macos-arm64.dmg`, from the
|
||||
- **The desktop app.** One installer per system: `Strata-0.2.15-windows-x64-setup.exe`,
|
||||
`Strata-0.2.15-linux-x86_64.AppImage`, `Strata-0.2.15-macos-arm64.dmg`, from the
|
||||
[latest release](https://github.com/Niko1221/Strata/releases/latest). The Windows and Linux installers carry no
|
||||
engine: on first start the app shows the engine for the user's graphics card and downloads it, or installs a file the
|
||||
user already has ("I already have the file"). Details: [INSTALL.md](INSTALL.md).
|
||||
|
||||
+2
-2
@@ -46,7 +46,7 @@ Strix Point (890M / 880M, gfx1150) and Krackan (860M / 840M, gfx1152) are named
|
||||
## Ready-made packages
|
||||
|
||||
The Terminal one-liner and `strata update` pick the package whose GPU code covers the card. The app installer
|
||||
(`Strata-0.2.14-windows-x64-setup.exe`, `Strata-0.2.14-linux-x86_64.AppImage`) has no engine inside: on its first start the app
|
||||
(`Strata-0.2.15-windows-x64-setup.exe`, `Strata-0.2.15-linux-x86_64.AppImage`) has no engine inside: on its first start the app
|
||||
downloads the matching package for the card. You can also press **Update engine** in Settings (or run `strata update`).
|
||||
|
||||
| Package (variant) | OS | GPU code inside | ROCm |
|
||||
@@ -128,7 +128,7 @@ reused. The Monitor shows the card's load, VRAM, temperature and power from Linu
|
||||
|
||||
## Windows
|
||||
|
||||
Install the [app](INSTALL.md) (`Strata-0.2.14-windows-x64-setup.exe` from the
|
||||
Install the [app](INSTALL.md) (`Strata-0.2.15-windows-x64-setup.exe` from the
|
||||
[release page](https://github.com/Niko1221/Strata/releases/latest); it downloads the engine for the card), or
|
||||
install the [Terminal](INSTALL.md#the-terminal) and run `strata launch`. You need Windows 10 or 11 (64-bit), a supported card
|
||||
and a current AMD driver. No ROCm or HIP SDK, no compiler, no admin rights. `START-HERE.bat --backend hip` is a
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# Which model runs on which hardware
|
||||
|
||||
This page is built by `tools/capability_table.py` from [docs/data/capabilities.json](data/capabilities.json) and the package names of release v0.2.14 ([docs/data/release.json](data/release.json)). Do not edit it by hand.
|
||||
This page is built by `tools/capability_table.py` from [docs/data/capabilities.json](data/capabilities.json) and the package names of release v0.2.15 ([docs/data/release.json](data/release.json)). Do not edit it by hand.
|
||||
|
||||
- **Packaged**: the engine packages in the release for that hardware. Read from the release's file names.
|
||||
- **Supported**: what these docs commit to. *untested* means a package exists and nothing is claimed.
|
||||
- **Measured**: where numbers for that combination are published. Empty means none are published; it does not mean the combination fails.
|
||||
|
||||
App and Terminal 0.2.14, Control and engines 0.1.60; these packages stay at 0.1.59: Control linux-aarch64; DeepSeek engines linux-aarch64-cuda-cuda13, linux-x86_64-cuda-cuda13, linux-x86_64-hip-rx9070, macos-arm64-metal, windows-x86_64-cuda-cuda13, windows-x86_64-hip-rdna3; engines linux-aarch64-cuda-cuda13, linux-x86_64-sycl. App, Control and engine versions differ on purpose.
|
||||
App and Terminal 0.2.15, Control 0.1.61, engines 0.1.60; these packages stay at 0.1.59: Control linux-aarch64; DeepSeek engines linux-aarch64-cuda-cuda13, linux-x86_64-cuda-cuda13, linux-x86_64-hip-rx9070, macos-arm64-metal, windows-x86_64-cuda-cuda13, windows-x86_64-hip-rdna3; engines linux-aarch64-cuda-cuda13, linux-x86_64-sycl. App, Control and engine versions differ on purpose.
|
||||
|
||||
## At a glance
|
||||
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
# Install Strata
|
||||
|
||||
This page is for anyone installing or updating Strata (version 0.2.14). Use the **desktop app** for a graphical
|
||||
This page is for anyone installing or updating Strata (version 0.2.15). Use the **desktop app** for a graphical
|
||||
interface, or the **Terminal** for `strata launch` and coding tools. Both use released engine packages. A normal
|
||||
install does not need a source checkout or a startup `.bat` file.
|
||||
|
||||
@@ -37,10 +37,10 @@ hardware drivers. Models and updates need an internet connection to download.
|
||||
|
||||
1. Open the [latest release](https://github.com/Niko1221/Strata/releases/latest).
|
||||
2. Download the one installer for your system. There is one per system, not one per graphics card:
|
||||
- **Windows:** run `Strata-0.2.14-windows-x64-setup.exe`. It installs for your user and needs no administrator rights.
|
||||
- **Linux:** make `Strata-0.2.14-linux-x86_64.AppImage` executable, then open it. If FUSE is unavailable, run the
|
||||
- **Windows:** run `Strata-0.2.15-windows-x64-setup.exe`. It installs for your user and needs no administrator rights.
|
||||
- **Linux:** make `Strata-0.2.15-linux-x86_64.AppImage` executable, then open it. If FUSE is unavailable, run the
|
||||
downloaded file with `--appimage-extract-and-run`. [Linux help](TROUBLESHOOTING.md).
|
||||
- **Mac:** open `Strata-0.2.14-macos-arm64.dmg`, drag Strata into Applications, then open it. [Mac help](MAC.md).
|
||||
- **Mac:** open `Strata-0.2.15-macos-arm64.dmg`, drag Strata into Applications, then open it. [Mac help](MAC.md).
|
||||
3. On Windows and Linux the installer has no engine inside. On first start the app shows the engine for your
|
||||
graphics card with its size and one **Download** button, with progress and resume. If you already downloaded the
|
||||
engine file, choose **I already have the file** and it installs without internet. The Mac file keeps its small
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Strata media and video guide
|
||||
|
||||
For people and AI tools creating an article, overview or video. Last reviewed: 7 November 2026, for Strata 0.2.14.
|
||||
For people and AI tools creating an article, overview or video. Last reviewed: 7 November 2026, for Strata 0.2.15.
|
||||
Use [AI_REFERENCE.md](AI_REFERENCE.md) for product facts and [README.md](../README.md) for the public introduction.
|
||||
|
||||
## Short description
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Strata guides
|
||||
|
||||
**New here? Start with [Install Strata](INSTALL.md).** Download the one installer for your system (Windows, Linux or Mac), or install the Terminal with one line. Both use released engine packages. This documentation is for version 0.2.14.
|
||||
**New here? Start with [Install Strata](INSTALL.md).** Download the one installer for your system (Windows, Linux or Mac), or install the Terminal with one line. Both use released engine packages. This documentation is for version 0.2.15.
|
||||
|
||||
## Use Strata
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Install and build from a source checkout
|
||||
|
||||
Use this guide to work on Strata's code or maintain a source-based installation. It is for developers.
|
||||
To just use Strata (version 0.2.14), install the [desktop app or the Terminal](INSTALL.md). Installed apps do not use `START-HERE.bat`.
|
||||
To just use Strata (version 0.2.15), install the [desktop app or the Terminal](INSTALL.md). Installed apps do not use `START-HERE.bat`.
|
||||
|
||||
The repository includes `START-HERE.bat`, `SETUP.bat`, `UPDATE.bat`, `setup.sh` and `update.sh`.
|
||||
Run them from a cloned or extracted **source folder**. They may install dependencies, prepare model files and
|
||||
|
||||
+2
-2
@@ -16,8 +16,8 @@ Use the [current release](https://github.com/Niko1221/Strata/releases/latest). Y
|
||||
|
||||
| System | What to install | Engine variant |
|
||||
| --- | --- | --- |
|
||||
| Linux | `Strata-0.2.14-linux-x86_64.AppImage` (it downloads the engine on first start), or `strata launch` | `linux-x86_64-hip-halo` |
|
||||
| Windows | `Strata-0.2.14-windows-x64-setup.exe` (it downloads the engine on first start), or `strata launch` | `windows-x86_64-hip-rdna3` |
|
||||
| Linux | `Strata-0.2.15-linux-x86_64.AppImage` (it downloads the engine on first start), or `strata launch` | `linux-x86_64-hip-halo` |
|
||||
| Windows | `Strata-0.2.15-windows-x64-setup.exe` (it downloads the engine on first start), or `strata launch` | `windows-x86_64-hip-rdna3` |
|
||||
|
||||
Packaged engines carry the matching hipBLASLt tuning table for gfx1151 and select it on their own. Setup recognizes `gfx1151` and
|
||||
PCI ID `1002:1586`; other integrated Radeon chips have separate support limits. Unified memory is counted once. Setup does not
|
||||
|
||||
@@ -18,7 +18,7 @@ strata launch --status
|
||||
**I cannot find `START-HERE.bat` or `SETUP.bat`.**
|
||||
Open the installed Strata app, or run `strata launch`. Those wrappers are in the source repository and are not the
|
||||
startup path for the app. For a fresh desktop install, download the one installer for your system
|
||||
(`Strata-0.2.14-windows-x64-setup.exe`, `Strata-0.2.14-linux-x86_64.AppImage` or `Strata-0.2.14-macos-arm64.dmg`), not a
|
||||
(`Strata-0.2.15-windows-x64-setup.exe`, `Strata-0.2.15-linux-x86_64.AppImage` or `Strata-0.2.15-macos-arm64.dmg`), not a
|
||||
`strata-engine-…` archive.
|
||||
|
||||
**`strata` is not found.**
|
||||
|
||||
+16
-15
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"_about": "The release the current docs describe. tools/release_manifest.py --write puts these values into the version lines and installer file names of the current pages; --check fails when a page or a version source disagrees. Historical pages (release notes, measurements, history/) keep their own versions.",
|
||||
"tag": "v0.2.14",
|
||||
"published": "2026-11-14",
|
||||
"product_version": "0.2.14",
|
||||
"terminal_version": "0.2.14.1",
|
||||
"control_version": "0.1.60.1",
|
||||
"tag": "v0.2.15",
|
||||
"published": "2026-11-16",
|
||||
"product_version": "0.2.15",
|
||||
"terminal_version": "0.2.15",
|
||||
"control_version": "0.1.61",
|
||||
"engine_version": "0.1.60",
|
||||
"assets": [
|
||||
"SHA256SUMS.txt",
|
||||
"Strata-0.2.14-linux-x86_64.AppImage",
|
||||
"Strata-0.2.14-linux-x86_64.AppImage.sig",
|
||||
"Strata-0.2.14-macos-arm64.dmg",
|
||||
"Strata-0.2.14-windows-x64-setup.exe",
|
||||
"Strata-0.2.14-windows-x64-setup.exe.sig",
|
||||
"Strata-0.2.15-linux-x86_64.AppImage",
|
||||
"Strata-0.2.15-linux-x86_64.AppImage.sig",
|
||||
"Strata-0.2.15-macos-arm64.dmg",
|
||||
"Strata-0.2.15-windows-x64-setup.exe",
|
||||
"Strata-0.2.15-windows-x64-setup.exe.sig",
|
||||
"Strata.app.tar.gz",
|
||||
"Strata.app.tar.gz.sig",
|
||||
"install-manifest.txt",
|
||||
@@ -22,9 +22,9 @@
|
||||
"qwen3.8-flash-next-dflash2.strata1.q4_0-bf16sel.pack",
|
||||
"qwen3.8-flash-next-dflash2.strata1.q4_0-selq4.pack",
|
||||
"strata-control-0.1.59-linux-aarch64.tar.gz",
|
||||
"strata-control-0.1.60.1-linux-x86_64.tar.gz",
|
||||
"strata-control-0.1.60.1-macos-arm64.tar.gz",
|
||||
"strata-control-0.1.60.1-windows-x86_64.zip",
|
||||
"strata-control-0.1.61-linux-x86_64.tar.gz",
|
||||
"strata-control-0.1.61-macos-arm64.tar.gz",
|
||||
"strata-control-0.1.61-windows-x86_64.zip",
|
||||
"strata-dsv41-0.1.59-linux-aarch64-cuda-cuda13.tar.gz",
|
||||
"strata-dsv41-0.1.59-linux-x86_64-cuda-cuda13.tar.gz",
|
||||
"strata-dsv41-0.1.59-linux-x86_64-hip-rx9070.tar.gz",
|
||||
@@ -32,13 +32,13 @@
|
||||
"strata-dsv41-0.1.59-windows-x86_64-cuda-cuda13.tar.gz",
|
||||
"strata-dsv41-0.1.59-windows-x86_64-hip-rdna3.tar.gz",
|
||||
"strata-engine-0.1.59-linux-aarch64-cuda-cuda13.tar.gz",
|
||||
"strata-engine-0.1.59-linux-x86_64-sycl.tar.gz",
|
||||
"strata-engine-0.1.60-linux-x86_64-cuda-cuda12.tar.gz",
|
||||
"strata-engine-0.1.60-linux-x86_64-cuda-cuda13.tar.gz",
|
||||
"strata-engine-0.1.60-linux-x86_64-hip-halo.tar.gz",
|
||||
"strata-engine-0.1.60-linux-x86_64-hip-rx6000.tar.gz",
|
||||
"strata-engine-0.1.60-linux-x86_64-hip-rx7900.tar.gz",
|
||||
"strata-engine-0.1.60-linux-x86_64-hip-rx9070.tar.gz",
|
||||
"strata-engine-0.1.59-linux-x86_64-sycl.tar.gz",
|
||||
"strata-engine-0.1.60-macos-arm64-metal.tar.gz",
|
||||
"strata-engine-0.1.60-windows-x86_64-cuda-cuda12.tar.gz",
|
||||
"strata-engine-0.1.60-windows-x86_64-cuda-cuda13.tar.gz",
|
||||
@@ -49,5 +49,6 @@
|
||||
"strata-feed-linux-aarch64.json.sig",
|
||||
"strata-feed.json",
|
||||
"strata-feed.json.sig"
|
||||
]
|
||||
],
|
||||
"engines_from": "v0.2.14"
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# Strata packaging: targets, recipes and locks
|
||||
|
||||
This page is for developers who build the desktop app, the Terminal archive and the engine packages. To install Strata, use
|
||||
[docs/INSTALL.md](../docs/INSTALL.md). It describes the current release (app and Terminal 0.2.14, Control and engines 0.1.60).
|
||||
[docs/INSTALL.md](../docs/INSTALL.md). It describes the current release (app and Terminal 0.2.15, Control 0.1.61, engines 0.1.60).
|
||||
How packages are signed and published is in [UPDATES.md](UPDATES.md), and the package format is in [ENGINE-COMPONENT.md](ENGINE-COMPONENT.md).
|
||||
|
||||
Release assets show what was published; the platform guides and retained reports show what was tested. A published package does not
|
||||
|
||||
+10
-10
@@ -36,10 +36,10 @@ Comments are for this document only; actual feed files must be strict JSON.
|
||||
"sequence": 12, // goes up with every feed; an older one than the last accepted is refused
|
||||
"generated_at": "2026-10-20T10:00:00Z", "expires_at": "2027-10-20T10:00:00Z", // expires_at may be null
|
||||
"app": { // exactly Tauri's static updater JSON, plus sha256/size per platform
|
||||
"version": "0.2.14", "notes": "...", "pub_date": "2026-10-20T10:00:00Z",
|
||||
"platforms": {"windows-x86_64": {"url": "app/Strata-0.2.14-windows-x64-setup.exe", "signature": "<minisign, base64>", "sha256": "...", "size": 71000000}}
|
||||
"version": "0.2.15", "notes": "...", "pub_date": "2026-10-20T10:00:00Z",
|
||||
"platforms": {"windows-x86_64": {"url": "app/Strata-0.2.15-windows-x64-setup.exe", "signature": "<minisign, base64>", "sha256": "...", "size": 71000000}}
|
||||
},
|
||||
"control": {"version": "0.1.60.1", "packages": [{"platform": "linux-x86_64", "format": "tar.gz", "url": "control/...tar.gz",
|
||||
"control": {"version": "0.1.61", "packages": [{"platform": "linux-x86_64", "format": "tar.gz", "url": "control/...tar.gz",
|
||||
"size": 0, "sha256": "...", "installed_bytes": 0, "entry": "strata.py"}]},
|
||||
"engine": {"packages": [{
|
||||
"version": "0.1.60", "platform": "linux-x86_64", "backend": "cuda", "variant": "cuda13",
|
||||
@@ -190,8 +190,8 @@ All signing happens on the release PC, on the finished files.
|
||||
|
||||
**What is built (per OS)**
|
||||
|
||||
* *The installer*, one per OS (0.2.14). The Windows and Linux ones have no engine inside: built with `--config src-tauri/tauri.update.conf.json`, which drops `engine-bundle`. The Mac dmg keeps its small Metal engine (one Mac variant).
|
||||
Windows: `Strata-0.2.14-windows-x64-setup.exe`; Linux: `Strata-0.2.14-linux-x86_64.AppImage`; Mac: `Strata-0.2.14-macos-arm64.dmg` for people and
|
||||
* *The installer*, one per OS (0.2.15). The Windows and Linux ones have no engine inside: built with `--config src-tauri/tauri.update.conf.json`, which drops `engine-bundle`. The Mac dmg keeps its small Metal engine (one Mac variant).
|
||||
Windows: `Strata-0.2.15-windows-x64-setup.exe`; Linux: `Strata-0.2.15-linux-x86_64.AppImage`; Mac: `Strata-0.2.15-macos-arm64.dmg` for people and
|
||||
`Strata.app.tar.gz` as the updater archive (the updater cannot install from a dmg). The Windows and Linux files are both the first download and the
|
||||
file `latest.json` names; the first start of the app downloads the engine for the card (the first-run card), or installs a file the person already has.
|
||||
Why: an app update must not carry an engine, and the right engine depends on the card. Engines come per card from the signed feed
|
||||
@@ -201,17 +201,17 @@ All signing happens on the release PC, on the finished files.
|
||||
|
||||
python packaging/feed_tool.py sign-package <engine package folder> --key <feed-key.json> # every engine package (the Mac app bundles its UNSIGNED copy)
|
||||
python packaging/feed_tool.py pack-engine <engine package folder> --out RELEASE/engine --url-prefix=
|
||||
python packaging/feed_tool.py pack-control <control folder> --version 0.1.60.1 --platform P --out RELEASE/control --url-prefix= # --format zip for windows-x86_64
|
||||
python packaging/feed_tool.py pack-control <control folder> --version 0.1.61 --platform P --out RELEASE/control --url-prefix= # --format zip for windows-x86_64
|
||||
# --url-prefix= (not --url-prefix "") because PowerShell 5.1 drops an empty argument. The Control version is the VERSION file
|
||||
# (0.1.60.1), not the app version: a Control package newer than the installed one is installed by `strata update`.
|
||||
# (0.1.61), not the app version: a Control package newer than the installed one is installed by `strata update`.
|
||||
# Pack Linux and Mac packages on Linux / the Mac or on Windows with this tool: it sets the execute bit from the file header either way.
|
||||
cd apps/desktop && npx tauri build --bundles nsis --config src-tauri/tauri.update.conf.json # Windows installer (no engine inside)
|
||||
# Linux: tauri build --bundles appimage (no engine inside) is the AppImage
|
||||
# on the release PC, per updater artifact (Windows setup .exe, Linux .AppImage, Mac Strata.app.tar.gz):
|
||||
npx tauri signer sign -f <path to tauri-updater.key> <artifact> # writes <artifact>.sig
|
||||
python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target windows-x86_64 --version 0.2.14 --archive Strata-0.2.14-windows-x64-setup.exe --sig Strata-0.2.14-windows-x64-setup.exe.sig --notes "..."
|
||||
python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target linux-x86_64 --version 0.2.14 --archive Strata-0.2.14-linux-x86_64.AppImage --sig Strata-0.2.14-linux-x86_64.AppImage.sig
|
||||
python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target darwin-aarch64 --version 0.2.14 --archive Strata.app.tar.gz --sig Strata.app.tar.gz.sig
|
||||
python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target windows-x86_64 --version 0.2.15 --archive Strata-0.2.15-windows-x64-setup.exe --sig Strata-0.2.15-windows-x64-setup.exe.sig --notes "..."
|
||||
python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target linux-x86_64 --version 0.2.15 --archive Strata-0.2.15-linux-x86_64.AppImage --sig Strata-0.2.15-linux-x86_64.AppImage.sig
|
||||
python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target darwin-aarch64 --version 0.2.15 --archive Strata.app.tar.gz --sig Strata.app.tar.gz.sig
|
||||
python packaging/feed_tool.py build-feed --out RELEASE --sequence N --key <feed-key.json> --engine RELEASE/engine --control RELEASE/control --app-json RELEASE/tauri-latest.json (--carry-dsv41 <the last strata-feed.json> --carry-dsv41-base https://github.com/Niko1221/Strata/releases/download/<DSV41-TAG>/ | --no-dsv41-carry) [--shapes RELEASE/shapes] [--drafters RELEASE/drafters]
|
||||
python packaging/feed_tool.py verify-feed RELEASE --pub <feed-key.pub.json>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ SCHEMA_VERSION = 1
|
||||
|
||||
#: The version people are told: the Strata app's own (apps/desktop/src-tauri/Cargo.toml `version`; tests/terminal/test_tuiqa_version.py keeps the
|
||||
#: two equal, except for a Terminal-only release such as 0.2.3.1 or 0.2.4, whose app stays 0.2.3). `version()` below is the files' build number, which the engine-compatibility checks compare, so it stays numeric.
|
||||
PRODUCT_VERSION = "0.2.14.1"
|
||||
PRODUCT_VERSION = "0.2.15"
|
||||
|
||||
|
||||
def version() -> str:
|
||||
|
||||
@@ -33,23 +33,24 @@ class VersionBump(unittest.TestCase):
|
||||
# 0.2.7: Terminal and app are 0.2.7; Control and every engine package (Qwen, DeepSeek, Metal) are 0.1.52 (the CMake project version; the Qwen and DeepSeek C++ both changed since 0.2.6)
|
||||
# 0.2.13.1 (Control-only, Linux x86_64: the app on an Intel Arc card, ARCFIX): the Terminal is 0.2.13.1 and Control 0.1.59.1 (the CMake project version); the app stays 0.2.13 and every engine package 0.1.59 (as 0.2.8.1 and 0.2.3.1 did).
|
||||
# 0.2.14.1 (Control-only: the drafter fixes of the Terminal and Control): the Terminal is 0.2.14.1 and Control 0.1.60.1; the app stays 0.2.14 and every engine package 0.1.60.
|
||||
self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.14.1")
|
||||
self.assertEqual(strata_cli.version(), "0.1.60.1") # the CMake project version: Control
|
||||
self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.60.1")
|
||||
# 0.2.15 (an app + Control fix release): the app and the Terminal are 0.2.15 and Control 0.1.61; every engine package stays 0.1.60 (the v0.2.14 files).
|
||||
self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.15")
|
||||
self.assertEqual(strata_cli.version(), "0.1.61") # the CMake project version: Control
|
||||
self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.61")
|
||||
self.assertIn('STRATA_VERSION="0.1.60-metal"', (ROOT / "metal" / "CMakeLists.txt").read_text(encoding="utf-8"))
|
||||
|
||||
def test_every_place_the_app_version_lives_says_0_2_3(self):
|
||||
self.assertEqual(first("apps/desktop/src-tauri/Cargo.toml", r'^version = "([^"]+)"'), "0.2.14")
|
||||
self.assertEqual(first("apps/desktop/src-tauri/Cargo.toml", r'^version = "([^"]+)"'), "0.2.15")
|
||||
lock = (ROOT / "apps/desktop/src-tauri/Cargo.lock").read_text(encoding="utf-8")
|
||||
self.assertRegex(lock, r'name = "strata-desktop"\r?\nversion = "0.2.14"')
|
||||
self.assertEqual(json.loads((ROOT / "apps/desktop/package.json").read_text(encoding="utf-8"))["version"], "0.2.14")
|
||||
self.assertRegex(lock, r'name = "strata-desktop"\r?\nversion = "0.2.15"')
|
||||
self.assertEqual(json.loads((ROOT / "apps/desktop/package.json").read_text(encoding="utf-8"))["version"], "0.2.15")
|
||||
host = json.loads((ROOT / "apps/host/package.json").read_text(encoding="utf-8"))
|
||||
self.assertEqual(host["version"], "0.2.14")
|
||||
self.assertEqual(host["version"], "0.2.15")
|
||||
locked = json.loads((ROOT / "apps/host/package-lock.json").read_text(encoding="utf-8"))
|
||||
self.assertEqual((locked["version"], locked["packages"][""]["version"]), ("0.2.14", "0.2.14"))
|
||||
self.assertEqual((locked["version"], locked["packages"][""]["version"]), ("0.2.15", "0.2.15"))
|
||||
|
||||
def test_the_documents_that_state_the_current_version_agree(self):
|
||||
self.assertIn("Version 0.2.14, engine 0.1.60.", (ROOT / "AGENTS.md").read_text(encoding="utf-8"))
|
||||
self.assertIn("Version 0.2.15, engine 0.1.60.", (ROOT / "AGENTS.md").read_text(encoding="utf-8"))
|
||||
for name in ("README.md", "README.de.md", "README.es.md", "README.fr.md", "README.ja.md", "README.pl.md", "README.pt-BR.md", "README.zh-CN.md"):
|
||||
text = (ROOT / name).read_text(encoding="utf-8")
|
||||
self.assertRegex(text, r"Strata-0[.]2[.][0-9]+-", name) # (the restyled READMEs state the app version through the download buttons; their owner moves them to the release)
|
||||
@@ -58,7 +59,7 @@ class VersionBump(unittest.TestCase):
|
||||
def test_version_prints_the_product_and_the_build(self):
|
||||
done = subprocess.run([sys.executable, str(ROOT / "strata.py"), "--version"], capture_output=True, text=True, cwd=str(ROOT),
|
||||
env={**os.environ, "STRATA_NO_HANDOVER": "1"})
|
||||
self.assertTrue(done.stdout.startswith("strata 0.2.14.1 (build 0.1.60.1;"), done.stdout)
|
||||
self.assertTrue(done.stdout.startswith("strata 0.2.15 (build 0.1.61;"), done.stdout)
|
||||
|
||||
|
||||
class UpdateFromTheLastRelease(test_updater.UpdaterCase):
|
||||
|
||||
@@ -99,7 +99,11 @@ def carried(release):
|
||||
|
||||
|
||||
def versions_line(release):
|
||||
s = "App and Terminal %s, Control and engines %s" % (release["product_version"], release["engine_version"])
|
||||
c, e = release["control_version"], release["engine_version"]
|
||||
if c == e or c.startswith(e + "."): # one version (a Control-only hotfix part counts as the same build)
|
||||
s = "App and Terminal %s, Control and engines %s" % (release["product_version"], e)
|
||||
else: # 0.2.15: Control 0.1.61 with the 0.1.60 engines of v0.2.14
|
||||
s = "App and Terminal %s, Control %s, engines %s" % (release["product_version"], c, e)
|
||||
for ver, kinds in sorted(carried(release).items()):
|
||||
s += "; these packages stay at %s: %s" % (ver, "; ".join("%s %s" % (KIND_WORDS[k], ", ".join(sorted(p)))
|
||||
for k, p in sorted(kinds.items())))
|
||||
|
||||
@@ -39,8 +39,8 @@ LINES = [
|
||||
("docs/AI_SETUP.md", r"install Strata \(version " + V + r"\)", ["product_version"]),
|
||||
("docs/SOURCE_INSTALL.md", r"use Strata \(version " + V + r"\)", ["product_version"]),
|
||||
("AGENTS.md", r"^Version " + V + r", engine " + V + r"\.", ["product_version", "engine_version"]),
|
||||
("docs/AI_REFERENCE.md", r"against the " + V + r" release tree \(app and Terminal " + V + r"; Control and engines " + V + r"\)",
|
||||
["product_version", "product_version", "engine_version"]),
|
||||
("docs/AI_REFERENCE.md", r"against the " + V + r" release tree \(app and Terminal " + V + r"; Control " + V + r", engines " + V + r"\)",
|
||||
["product_version", "product_version", "control_version", "engine_version"]),
|
||||
("packaging/UPDATES.md", r"one per OS \(" + V + r"\)", ["product_version"]),
|
||||
("packaging/UPDATES.md", r'"app": \{[^\n]*\n\s*"version": "' + V + '"', ["product_version"]),
|
||||
("packaging/UPDATES.md", r"--target [a-z0-9_-]+ +--version " + V, ["product_version"]),
|
||||
@@ -50,7 +50,7 @@ LINES = [
|
||||
("packaging/UPDATES.md", r'"version": "' + V + r'", "platform": "linux-x86_64", "backend": "cuda"', ["engine_version"]),
|
||||
("packaging/UPDATES.md", r"engine/strata-engine-" + V + r"-linux-x86_64-cuda-cuda13", ["engine_version"]),
|
||||
("docs/MEDIA_KIT.md", r"for Strata " + V + r"\.", ["product_version"]),
|
||||
("packaging/README.md", r"\(app and Terminal " + V + r", Control and engines " + V + r"\)", ["product_version", "engine_version"]),
|
||||
("packaging/README.md", r"\(app and Terminal " + V + r", Control " + V + r", engines " + V + r"\)", ["product_version", "control_version", "engine_version"]),
|
||||
("packaging/ENGINE-COMPONENT.md", r'"name": "strata-engine", "version": "' + V + '"', ["engine_version"]),
|
||||
("packaging/ENGINE-COMPONENT.md", r"package_engine.py --src <build folder> --backend cuda --version " + V, ["engine_version"]),
|
||||
]
|
||||
@@ -118,6 +118,10 @@ def write(manifest):
|
||||
return changed
|
||||
|
||||
|
||||
def _vkey(version):
|
||||
return tuple(int(p) for p in str(version).split("."))
|
||||
|
||||
|
||||
def check(manifest):
|
||||
problems = []
|
||||
for key in ("tag", "product_version", "control_version", "engine_version", "assets"):
|
||||
@@ -132,7 +136,13 @@ def check(manifest):
|
||||
if where == "CMakeLists.txt (engine)":
|
||||
# the CMake project version is Control's. The engine packages carry it, except after a Control-only hotfix (Control 0.1.59.1,
|
||||
# engines still 0.1.59): then Control is the engine version plus one hotfix part.
|
||||
if found != manifest["control_version"] or not (found == want or found.startswith(want + ".")):
|
||||
# A release that builds no engine (0.2.15: Control 0.1.61, the 0.1.60 engines of v0.2.14 carried by absolute url) names the release
|
||||
# it takes them from in "engines_from"; then Control may be ahead of the engines, and the engine packages at engine_version must be
|
||||
# in the asset list (the packages the feed offers).
|
||||
carried = bool(manifest.get("engines_from")) and manifest["engines_from"] != manifest["tag"] \
|
||||
and _vkey(manifest["control_version"]) > _vkey(want) \
|
||||
and any(a.startswith("strata-engine-%s-" % want) for a in manifest["assets"])
|
||||
if found != manifest["control_version"] or not (found == want or found.startswith(want + ".") or carried):
|
||||
problems.append("%s says %s, docs/data/release.json %s is %s (control_version %s)" % (where, found, key, want, manifest["control_version"]))
|
||||
elif found != want:
|
||||
problems.append("%s says %s, docs/data/release.json %s is %s" % (where, found, key, want))
|
||||
|
||||
@@ -52,6 +52,10 @@ class CapabilityTable(unittest.TestCase):
|
||||
"assets": ["strata-control-0.1.59.1-linux-x86_64.tar.gz", "strata-engine-0.1.59-linux-x86_64-sycl.tar.gz"]}
|
||||
self.assertEqual(ct.versions_line(hotfix), "App and Terminal 0.2.13, Control and engines 0.1.59. "
|
||||
"App, Control and engine versions differ on purpose.")
|
||||
carried = {"product_version": "0.2.15", "control_version": "0.1.61", "engine_version": "0.1.60",
|
||||
"assets": ["strata-control-0.1.61-linux-x86_64.tar.gz", "strata-engine-0.1.60-linux-x86_64-cuda-cuda13.tar.gz"]}
|
||||
self.assertEqual(ct.versions_line(carried), "App and Terminal 0.2.15, Control 0.1.61, engines 0.1.60. "
|
||||
"App, Control and engine versions differ on purpose.")
|
||||
|
||||
def test_no_page_keeps_the_old_mac_sentence(self):
|
||||
for p in ct.PAGES:
|
||||
|
||||
@@ -55,6 +55,26 @@ class ReleaseManifest(unittest.TestCase):
|
||||
terminal = rm.code_versions()["strata_cli/__init__.py"][0]
|
||||
self.assertIn("strata_cli/__init__.py says %s" % terminal, "\n".join(rm.check(wrong)))
|
||||
|
||||
def test_a_release_that_carries_its_engines_names_where_they_come_from(self):
|
||||
"""0.2.15: Control 0.1.61 and the 0.1.60 engines of v0.2.14 (no engine built). Without "engines_from" Control may not be ahead of
|
||||
the engines; with it, the engines at engine_version must be packages the release offers."""
|
||||
m = copy.deepcopy(rm.load())
|
||||
m["engines_from"] = "v0.2.14"
|
||||
m["control_version"], m["engine_version"] = "0.1.61", "0.1.60"
|
||||
cmake = {"CMakeLists.txt (engine)": ("0.1.61", "engine_version"), "CMakeLists.txt (Control)": ("0.1.61", "control_version")}
|
||||
real = rm.code_versions
|
||||
try:
|
||||
rm.code_versions = lambda: {**real(), **cmake}
|
||||
self.assertNotIn("CMakeLists.txt (engine) says", "\n".join(rm.check(m)))
|
||||
no_from = copy.deepcopy(m)
|
||||
no_from.pop("engines_from")
|
||||
self.assertIn("CMakeLists.txt (engine) says", "\n".join(rm.check(no_from)))
|
||||
gone = copy.deepcopy(m)
|
||||
gone["engine_version"] = "0.1.58" # no 0.1.58 engine package in the asset list
|
||||
self.assertIn("CMakeLists.txt (engine) says", "\n".join(rm.check(gone)))
|
||||
finally:
|
||||
rm.code_versions = real
|
||||
|
||||
def test_installer_names_in_the_manifest_asset_list(self):
|
||||
m = rm.load()
|
||||
for name in rm.expand(m):
|
||||
|
||||
Reference in new issue
Block a user