mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-12-04 03:58:13 +00:00
The bergamot wheel needs AVX. On a CPU without it (Celeron N5105, N100-class
mini PCs) importing it dies with SIGILL, which killed the whole proxy on the
first translated page; Docker restarted it and the /viewer healthcheck kept
reporting healthy.
At startup the proxy now tries the import once in a child process. If the
child dies, no language is offered, the library is forwarded untranslated,
and the reason ("this CPU lacks the AVX instructions ...") is logged and shown
in the page's translate bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118UBk31k7JCzTSuktPuqVi