OSX Segmentation fault 11 with every command that tries to load a model #1616
Labels
bug
Something isn't working
Content-Length: 220594 | pFad | http://github.com/postgresml/postgresml/issues/1616
A4Fetched URL: http://github.com/postgresml/postgresml/issues/1616
Alternative Proxies:
Hello.
Postgres crashes in my MacBook Pro M3.
I tried Python 3.11, a clean install of postgresql@15 and I got a crash with every pgml command that tries to load a model. I also tried with Postgres.app with postgresql 16.
Then I copied changes from requirements.py312.txt to requirements.macos.txt to get a working version with python@3.12.
So I tried Python 3.11 with pyarrow==11.0.0 and pyarrow-hotfix==0.6. I also tried Python 3.12 with pyarrow==16.1.0. Finally I tried with a requirements file that has no version numbers.
I tried with Rust nightly-aarch64-apple-darwin, stable-aarch64-apple-darwin, and 1.79-aarch64-apple-darwin.
All of them work with non-model commands and with the command
SELECT * FROM pgml.load_dataset('fka/awesome-chatgpt-prompts', 'default');
. But with every command that tries to load a model, Postgres crashes.Python crash should not crash Postgres.
Here is a server log of
SELECT pgml.embed('Alibaba-NLP/gte-base-en-v1.5', 'passage: hi mom', '{"trust_remote_code": true}'::JSONB);
:The text was updated successfully, but these errors were encountered: