[GH-ISSUE #623] avx1 not supprted for xeonV2 #297

Closed
opened 2026-11-04 01:41:44 +07:00 by bsakaguchi · 5 comments
Owner

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

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
Author
Owner

@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

<!-- gh-comment-id:5969527606 --> @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
Author
Owner

@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 :)))

<!-- gh-comment-id:5969768873 --> @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 :)))
Author
Owner

@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.

<!-- gh-comment-id:5970945880 --> @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.
Author
Owner

@xvel 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 :)))

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)

<!-- gh-comment-id:5972396529 --> @xvel 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 :))) 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)
Author
Owner

@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)".

<!-- gh-comment-id:5979981158 --> @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)".
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#297
No description provided.