okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
e46be1fe0
main
1STRATA @APP_VERSION@ FOR LINUX - TESTER BUILD FOR AMD RX 9000 (RDNA4) CARDS (RX 9070 XT) 2===================================================================== 3 4This is a private test version of Strata for Linux with an AMD graphics card. Please keep it to yourself: it is not a public release. 5THIS BUILD IS FOR AMD RX 9000 (RDNA4) CARDS ONLY (RX 9070 XT, RX 9070, RX 9060 XT, AI PRO R9700; gfx1200 / gfx1201). If your card is from another family the engine will not start and says 6so in one line; ask for the other build (the RX 7000 build: Strata-tester-linux-amd-rx7900.AppImage). 7 8You have two programs; try either or both: 9 1. The desktop app: @APPIMAGE@ (about @SIZE_GB:@APPIMAGE@@ GB) 10 2. The terminal app: Strata-Terminal-Linux-tester-amd-rx9070.zip (about @SIZE_GB:Strata-Terminal-Linux-tester-amd-rx9070.zip@ GB) 11Each one carries its own AI engine, so there is no engine to download. Only the AI model itself is downloaded when you pick one. 12 13Checks (sha256; to check your copy type sha256sum <file> - the long number must be the same): 14 @APPIMAGE@ @SHA256:@APPIMAGE@@ 15 Strata-Terminal-Linux-tester-amd-rx9070.zip @SHA256:Strata-Terminal-Linux-tester-amd-rx9070.zip@ 16 17 18WHAT YOU NEED 19------------- 20* Ubuntu 22.04 or newer, or CachyOS / Arch Linux (rolling), 64-bit. 21* An AMD RX 9000 (RDNA4) graphics card (RX 9070 XT, RX 9070, RX 9060 XT, AI PRO R9700; gfx1200 / gfx1201). No ROCm and no extra driver to install: the engine brings its own ROCm libraries, and the AMD 22 kernel driver (amdgpu) is already part of the Linux kernel. To check that the kernel sees your card, type: ls /dev/kfd /dev/dri 23 You should see /dev/kfd and a renderD128 line. If /dev/kfd is missing, tell us your kernel (uname -r) and what "lspci | grep -i vga" prints. 24* Your user must be in the groups "render" and "video". This is the one setting the engine needs. Type once: 25 sudo usermod -aG render,video $USER 26 then LOG OUT AND LOG IN AGAIN (or reboot). Check with the command id - it must list render and video. Without this the engine says 27 something like "No device of requested type available" or cannot open /dev/kfd. 28* 32 GB of RAM or more is best (the model list shows what fits your computer). The AI model's big parts live in your RAM; your card 29 holds the rest. Your RX 9070 XT has 16 GB: start with the 32K context the app suggests. 30* Disk: about 3 GB for the program and engine, plus 40 to 70 GB for each model you download (a fast NVMe disk is best). 31 32 33THE DESKTOP APP (AppImage) 34-------------------------- 351. Save the file somewhere you can find it, for example your Downloads folder. 362. Make it runnable: right-click > Properties > Permissions > "Allow executing file as program", or in a terminal: 37 chmod +x @APPIMAGE@ 383. Install FUSE 2 once, if your system does not have it (AppImages need it; Ubuntu 26.04 does not install it any more): 39 CachyOS / Arch: sudo pacman -S fuse2 Ubuntu 22.04: sudo apt install libfuse2 Ubuntu 24.04 and 26.04: sudo apt install libfuse2t64 40 Without FUSE you can still run it with: ./@APPIMAGE@ --appimage-extract-and-run 414. Start it by double-click, or from a terminal (a terminal also shows messages if something goes wrong): 42 ./@APPIMAGE@ 43 The very first start takes about a minute longer: the engine that came with the app is unpacked into ~/.local/share/strata. 44 Then open the Models page, pick a model and press the install button. A model download is big; it carries on where it stopped if it is interrupted. 45 Closing the window stops Strata and the engine. To stop a running Strata from a terminal: ./@APPIMAGE@ --quit 46 For the assistant (chat that works on files and runs tools) choose a context of 32K or more when you load the model; a smaller context is too small for the assistant's instructions. 47 48@INCLUDE:common-troubleshoot.txt@ 49 50Please tell us about the window: which Linux and desktop (for example "CachyOS, KDE Plasma, Wayland"), your graphics driver, and whether the Strata window showed up 51and worked: yes / opened in the browser instead / blank / closed by itself. 52 53 54THE TERMINAL APP (zip) 55---------------------- 56 unzip Strata-Terminal-Linux-tester-amd-rx9070.zip 57 cd strata-tester-linux-amd-rx9070 58 sh install-tester.sh 59 strata launch 60It needs python3, curl and tar (normally present). Everything is explained in README-TESTER.md inside the zip (AI-SETUP.md is the same for an AI assistant: 61give it that file and it can do the setup for you). The installer starts a tiny web server on your own computer only and stops it again; nothing is sent anywhere. 62 63 64WHAT TO SEND BACK 65----------------- 66* The desktop app: Settings > Engine > Diagnostics > View logs > Save logs. Send the saved file. If the window crashed or would not open, run 67 ./@APPIMAGE@ --save-logs in a terminal instead and send the file it writes in your Downloads folder (it includes the crash log). 68* The terminal app: the output of strata doctor (and uname -r , id , ls /dev/kfd /dev/dri ). 69* The speed: the tokens-per-second numbers. The app shows "generating - N tok/s" while it answers. In the terminal app, 70 with the server running: strata bench run --url http://127.0.0.1:8080 --suite serving-smoke --repeat 2 --out ~/strata-bench-1 71 prints "output ... tok/s" lines; please send ~/strata-bench-1/results.json too. 72 A line like "model iq2_xs, 32K context, RX 9070 XT: 40 tok/s" is perfect. 73* A few words about what you did and what you saw (a photo of the screen is fine). 74Please do not send API keys. 75 76 77WHAT WE TESTED AND WHAT WE DID NOT 78---------------------------------- 79* TESTED by us: this engine on an AMD Radeon AI PRO R9700 (RDNA4, the same chip family, gfx1201, as the RX 9070 XT) under Ubuntu 24.04: it loads a 80 model, answers, runs tool calls, and stops cleanly, from the app's host and from the terminal app. 81* NOT tested by us: an RX 9070 XT itself, CachyOS, the app window on a real desktop (our test box has no screen). A failure on your computer is a finding we want. 82* Pictures (image input) are on by default. The picture reader runs on the processor (CPU) for a card under 24 GB, so your 16 GB RX 9070 XT 83 uses the CPU reader (a few seconds per picture, nothing taken from the card's memory). The graphics-card reader (strata-vision-hip, for 84 gfx1200 / gfx1201) is in this build for cards of 24 GB and up; we tested it on the 32 GB R9700 (0.06 s for a small picture against 3.1 s on the 85 CPU) and tested the CPU reader. If the card's reader cannot start, Strata uses the CPU reader by itself. You can switch it per model. 86* Speed is not final; treat the numbers as a baseline. 87 88 89WHERE THINGS ARE (to remove Strata completely, delete the files and these folders) 90--------------------------------------------------------------------------------- 91 ~/.strata settings, chats, prepared model files 92 ~/.local/share/strata the unpacked engine and the terminal app, and logs/ (what the app printed, and a crash log if the window ever crashes) 93 ~/.local/bin/strata the terminal app's command 94 ~/Documents/Strata downloaded models (Models) and your work folder (Workspace)