Open ajweber opened 2 months ago
Same error on Pop_OS! 22.04 when using run_linux.sh. On the same machine, the docker installation fails too.
This might be problem with inbrowser=True
setting from Gradio which aim to call xdgopen
for browser.
Can you try editting kotaemon/app.py
and set inbrowser=False
?
This might be problem with
inbrowser=True
setting from Gradio which aim to callxdgopen
for browser. Can you try edittingkotaemon/app.py
and setinbrowser=False
?
No change in results. "Illegal instruction"
Are there some x-win dependencies I'm missing because I do not have any X installed?
I found this in /var/log/messages:
Sep 5 14:51:30 kotaemon kernel: traps: python[34487] trap invalid opcode ip:7fce2f7c17a2 sp:7ffea3384610 error:0 in _lancedb.abi3.so[7fce2dd6c000+2b51000] Sep 5 14:51:30 kotaemon systemd[1]: Started Process Core Dump (PID 34509/UID 0). Sep 5 14:51:30 kotaemon systemd-coredump[34510]: Resource limits disable core dumping for process 34487 (python). Sep 5 14:51:30 kotaemon systemd-coredump[34510]: Process 34487 (python) of user 0 dumped core. Sep 5 14:51:30 kotaemon systemd[1]: systemd-coredump@11-34509-0.service: Succeeded.
This seems to be strange. No idea about this issue for now, but we will collect further feedback report and investigate if it reproducible.
Refer to lancedb/lance#2195, it is because of lancedb is requiring AVX2 CPU support.
Sep 5 14:51:30 kotaemon kernel: traps: python[34487] trap invalid opcode ip:7fce2f7c17a2 sp:7ffea3384610 error:0 in _lancedb.abi3.so[7fce2dd6c000+2b51000]
The storages doc store and vector store are using lancedb, even may not fully used, the library import will cause this error.
In AVX support only CPU server, disable (comment) all lancedb import from related python file may skip this issue, but I see other issues, not sure if this is related to lack of AVX2 support or not. Simple change to AVX2 supported CPU get issue gone.
In AVX support only CPU server, disable (comment) all lancedb import from related python file may skip this issue, but I see other issues, not sure if this is related to lack of AVX2 support or not. Simple change to AVX2 supported CPU get issue gone.
"Simple change"? Open your workstation or server and replace the CPUs. Simple as that!
There are a number of dependencies that the project devs/maintainers should document ASAP if this project is to mature in a useful way.
Thank you for identifying the issue in any case.
@ajweber do I really need to buy new CPU? I use E5-2690v2 how do even find compatible AVX2 CPU with such motherboard FCLGA2011 Replacing the whole motherboard would be the same as buying new workstation I'm living in a world where $400 tech Goods marked up by taxed into $1500 workstation. it was almost $9000 to get DDR4 motherboard, with latest Intel Gen...
I really do hope there is workaround this pdf thing...
Description
Trying to test kotaemon on a minimal linux (AlmaLinux 8.10) machine. Thus, no X-windows and no installed browser.
Is there a way to launch and connect via remote browser via http(s)? I assume this is the issue.
Thanks.
Reproduction steps
Screenshots
No response
Logs
No response
Browsers
No response
OS
Linux
Additional information
No response