neuml / codequestion

🔎 Semantic search for developers
Apache License 2.0
532 stars 47 forks source link

52177 segmentation fault codequestion #28

Open tonisives opened 1 year ago

tonisives commented 1 year ago

➜ python3.10 -m pip install codequestion

sformers, torch, txtai, codequestion
Successfully installed MarkupSafe-2.1.2 codequestion-2.0.0 faiss-cpu-1.7.3 html2markdown-0.1.7 huggingface-hub-0.13.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.1 python-louvain-0.16 scipy-1.10.1 sympy-1.11.1 tokenizers-0.13.3 torch-2.0.0 transformers-4.28.1 txtai-5.5.0

➜ python3.10 -m codequestion.download

Downloading model from https://github.com/neuml/codequestion/releases/download/v2.0.0/cqmodel.zip to /var/folders/4b/fykz7dvx2fj550ml_6t5qkww0000gn/T/cqmodel.zip
100%|
Decompressing model to /Users/tonis/.codequestion
Download complete

➜ codequestion

Loading model from /Users/tonis/.codequestion/models/stackexchange
[1]    58256 segmentation fault  codequestion

I also tried in venv. But I'm not a Python expert

davidmezzetti commented 1 year ago

Are you using macOS? If so, please see this issue. https://github.com/neuml/txtai/issues/377

Vikasgupta0423 commented 1 year ago

Who are you

On Mon, Apr 24, 2023, 19:59 David Mezzetti @.***> wrote:

Are you using macOS? If so, please see this issue. neuml/txtai#377 https://github.com/neuml/txtai/issues/377

— Reply to this email directly, view it on GitHub https://github.com/neuml/codequestion/issues/28#issuecomment-1520274873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWZPRVZYWC66J24PIVWTUADXC2E47ANCNFSM6AAAAAAXIL7U64 . You are receiving this because you are subscribed to this thread.Message ID: @.***>