mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #103] Ampere (A100) and CPUs without AVX-512: a Linux prebuilt with CUDA 12, PRs welcome? #57
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @architectds on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/103
Hi, and thanks for Strata: it really is fast.
I run it on Colab's A100-40G (Ampere, sm_80) under Linux, through collabosm, a small app that serves models on Colab GPUs. A few things there are outside what the setup expects today, and I made them work in a fork. Happy to send any of it as PRs, separately, if you want it upstream:
1. Ampere (sm_80). The engine builds and runs on sm_80 as it is (
-DCMAKE_CUDA_ARCHITECTURES=80; the CMake check already allows 8.0 and up). Measured on an A100-SXM4-40GB with IQ3_S at a 262K context:2. CPUs without AVX-512 VBMI. Colab's hosts are 6-core Xeons at 2.2 GHz with no VBMI. With
STRATA_PORTABLE=ONthe build is at the AVX2 baseline, and your run-time check keeps the AVX-512 expert kernels off, so it just works. At that hit rate, decode is mostly GPU-bound anyway.3. Drivers older than 580. Cloud GPUs often cannot update the driver, and CUDA 13 needs r580. The fork adds
STRATA_CUDA=12tosetup.py. It uses a ready-made engine built with CUDA 12.8 (driver 525 or newer), installs CUDA 12's pip wheels (nvidia-cublas-cu12,nvidia-cuda-runtime-cu12, whose libraries sit in separate folders), and refuses a prebuilt whoseBUILD.jsonnames another CUDA major. Unset, nothing changes.4. A Linux prebuilt from CI.
setup.pyalready looks forstrata-linux-x64.zip. The fork has a GitHub Actions workflow that builds it on Ubuntu 22.04 with no GPU: about 5 minutes for the engine, 12 more for the image encoder. Av*-linux-*tag publishes the build as that tag's release.5. The 262K cap for IQ3_*.
setup.pycuts IQ3_S and IQ3_XXS to 128K below 90 GB of RAM. With KV streaming the context costs mostly RAM, so the fork counts it: the experts' arena, plus the 8-bit KV, plus 24 GB of room. 64 GB PCs still get 128K for both models, while an 83.5 GiB box keeps 262K; it runs there in 59 GB.linux-prebuilt): https://github.com/architectds/Strata/tree/linux-prebuiltWould any of these be welcome as PRs?
@Niko1221 commented on GitHub (Sep 29, 2026):
Yes, PRs welcome, as separate pieces: (1) a Linux prebuilt (CUDA 12, sm_80/86/89 + PTX) from CI, (2) the RAM-based context cap in setup. Note that A100 (sm_80) is supported by the code; the Windows prebuilt just doesn't include sm_80, and a CPU without AVX-512 works (AVX2 path).
@Niko1221 commented on GitHub (Sep 29, 2026):
Thanks @architectds. A100 and AVX2-only CPUs both work, and the remaining pieces are now your PRs #134 (context cap from RAM) and #136 (Linux CUDA 12 prebuilt), so I'll close this and review those.