Open rbarreiros opened 1 month ago
I found the issue.... I would assume CMake would check for processor capabilities... apparently not, I found it when playing with the same project on my linux workstation, and having segfaults when compiled with cmake, and no segfault when compile with Makefile.
Apparently, the top level makefile, checks cpu capabilities and enables/disables depending on their presence, while CMake doesn't check the options. The CPU where I tested this doesn't support AVX/AVX2, it's an I7-3770K, and I never thought about checking capabilities myself, maybe CMake should check for their presence and warn about it, since one could want to compile anyway to deploy on another CPU.
Hello,
I'm having a weird problem, I'm using Visual Studio 2022 community edition, on windows 10, and I'm getting a seg fault on different places (both in whisper.dll) running the examples.
bench.exe throws an illegal exception on
Unhandled exception at 0x00007FFEDA3B25E7 (whisper.dll) in bench.exe: 0xC000001D: Illegal Instruction.
on ggml.c, line 1696 on ggml_vec_dot_f16
Stack Trace
Locals:
On command.exe (using SDL2 2.30.3 for VC (I tried bench.exe without SDL2, same result)
Unhandled exception at 0x00007FFEDED8C828 (whisper.dll) in command.exe: 0xC000001D: Illegal Instruction.
on regex standard header, void _Mark(_Elem _Ch)
Stack Trace
Locals
Completely oblivious to what's going on, I'm positive they're related, but I can't figure out why. This is a fresh git clone, only used SDL2 for command.exe, bench.exe was tested without SDL2 complete clean rebuild, same result.... Any idea on what's the issue, or how can I better debug this ?