okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-020-docs2 into f-020-int (0.2.0 release wiring and docs)e46be1fe0

main
7.4 KiB98 linesraw
1STRATA @APP_VERSION@ FOR LINUX - TESTER BUILD FOR AMD RX 7000 (RDNA3) CARDS (RX 7900 XTX)
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 7000 (RDNA3) CARDS ONLY (RX 7900 XTX, RX 7900 XT, RX 7800 XT, RX 7700 XT, RX 7600; gfx1100 / gfx1101 / gfx1102). 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 9000 build: Strata-tester-linux-amd-rx9070.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-rx7900.zip   (about @SIZE_GB:Strata-Terminal-Linux-tester-amd-rx7900.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-rx7900.zip   @SHA256:Strata-Terminal-Linux-tester-amd-rx7900.zip@
16
17
18WHAT YOU NEED
19-------------
20* Ubuntu 22.04 or newer, 64-bit.
21* An AMD RX 7000 (RDNA3) graphics card (RX 7900 XTX, RX 7900 XT, RX 7800 XT, RX 7700 XT, RX 7600; gfx1100 / gfx1101 / gfx1102). 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 7900 XTX has 24 GB: the 32K or 64K context the app suggests is a good start.
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       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 "Ubuntu 24.04, GNOME, 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-rx7900.zip
57      cd strata-tester-linux-amd-rx7900
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 7900 XTX: 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* NOT TESTED by us on any RDNA3 card (RX 7000 series): we have no such card. The engine and the libraries inside contain code for gfx1100, gfx1101 and
80  gfx1102 (we checked the files), but this packaged build has never run on real hardware. Earlier engines built from source were run by community
81  members on an RX 7900 XTX and an RX 7800 XT (see docs/AMD_HIP.md in the Strata repository), which is why we expect it to work. Expect problems; every
82  report helps. This is the most important thing to know.
83* The same program was tested on an RDNA4 card (AMD Radeon AI PRO R9700) under Ubuntu 24.04: it loads a model, answers, runs tool calls and stops cleanly.
84  The RDNA3 code is the same source compiled for your card.
85* NOT tested by us either: the app window on a real desktop (our test box has no screen).
86* Pictures (image input) are on by default. The picture reader runs on the processor (CPU) for a card under 24 GB and on the graphics card from 24 GB, so
87  your 24 GB RX 7900 XTX uses the card's reader (strata-vision-hip, for gfx1100 / gfx1101 / gfx1102) and a 20 GB RX 7900 XT or a 16 GB RX 7800 XT uses the CPU
88  reader. The card's reader compiles for RDNA3 but has never run on an RDNA3 card here (we ran it on an R9700, RDNA4). If it cannot start, Strata uses the
89  CPU reader by itself. You can switch it per model. Please tell us whether pictures worked.
90* Speed is not final; treat the numbers as a baseline.
91
92
93WHERE THINGS ARE (to remove Strata completely, delete the files and these folders)
94---------------------------------------------------------------------------------
95  ~/.strata                      settings, chats, prepared model files
96  ~/.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)
97  ~/.local/bin/strata            the terminal app's command
98  ~/Documents/Strata             downloaded models (Models) and your work folder (Workspace)