Open pointearth opened 3 weeks ago
Pinging @elastic/ml-core (Team:ML)
Is there any situation as follows:
Thanks for the crash report, the pytorch_inference
process crashed with segmentation violation. It looks like you are using an Intel based mac, our testing runs on Apple silicon. I will try to reproduce the issue on similar hardware.
@davidkyle Appreciate it! yes, my laptop is an intel based mac, if it doesn't work because of Intel chip, it is acceptable. I would like to suggest putting a warning on the ML overview page when detecting the hardware that doesn't support it yet. you can close this issue. Thanks!
I reproduced the same crash in pytorch_inference
on macOS 14.5 with Elasticsearch version 8.14.2. On the same machine Elasticsearch version 8.12.2 does not crash, I suspect the cause of the crash is the upgrade to PyTorch 2.1.2 (https://github.com/elastic/ml-cpp/pull/2588) in version 8.13.
Sadly I think this cannot be fixed until the next upgrade of PyTorch and I can't give you a timeline on that.
Machine Learning on x86 macs is deprecated and won't be supported after December 2024, you might have better luck running it inside docker as suggested here, or you can temporarily downgrade to 8.12.
Elasticsearch Version
8.14
Installed Plugins
No response
Java Version
bundled
OS Version
macOS 13.6.7 on MacBook Pro 15-inch, 2017
Problem Description
following your official lab, I am trying to use Langchain RAG with Elasticsearch.
Steps to Reproduce
Logs (if relevant)
Elasticsearch logs:
=====================================================================
Crash reports: to see the attachment torch_inference_log.pl.zip