mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #623] avx1 not supprted for xeonV2 #297
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#297
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 @yotadrivers-blip on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/623
hello! i have dual 2680v2 xeon with 64 ram it's possible to add avx1 support? i try to compile but it's too complex for newbie :) it's will be a bit slow but other hand 24 cores
@xvel commented on GitHub (Oct 3, 2026):
Yes I made a patch to do that and it works on 2696v2 + 4 channel DDR3 1866mhz + RTX3060 12GB at about 25tok/s generation but it's sort of beta right now so I'll maybe post it later, probably some more performance can be squeezed out
You have dual CPU machine, I'm not really sure right now if strata will work properly on such machine
@yotadrivers-blip commented on GitHub (Oct 3, 2026):
ive made some try of compile sources but it's still get no AVX error, try to make 256->128 kernel fallback but as im newbie will wait a professional :)))
@Niko1221 commented on GitHub (Oct 3, 2026):
Thanks for asking. Strata needs AVX2: its CPU expert kernels are written for 256-bit AVX2 (and AVX-512), which is why setup stops with "this CPU has no AVX2". An AVX1 port would be a second set of CPU kernels that we cannot test or maintain, so it isn't planned. @xvel, if you publish your patch as a fork, others with Xeon v2 CPUs can try it there. Closing.
@xvel commented on GitHub (Oct 3, 2026):
https://github.com/xvel/Strata-AVX1
download and --build on your machine, you maybe may have issues because of dual CPU NUMA stuff, if so try with one CPU (you need all ram 4 channels to be installed on that CPU then)
@Niko1221 commented on GitHub (Oct 4, 2026):
Reopening: we're reversing what we said earlier. 0.1.39 adds experimental support for CPUs without AVX2, Xeon E5 v2 included. Run setup as usual. On your 2680 v2 it says the CPU has no AVX2, warns that this is experimental and slow, and compiles the engine on your PC for AVX (10-20 minutes once; on Windows it offers to install the build tools). It doesn't stop. The CPU's share of the experts then runs on ggml-cpu's AVX kernels, which is slower: with the AVX path forced on our Ryzen, decode dropped to about half the normal build's speed, and an old Xeon with DDR3 will be slower still. A GPU with more VRAM helps most. With two sockets, memory attached to the other CPU is slow, as xvel said. We have no such CPU to test on, so please tell us here how it goes, with the tok/s setup or the app shows. Details: docs/INSTALL.md, "Older CPUs (experimental)".