Open billionaire opened 2 months ago
Same error.. can't resolve till now.. if you get any solution. please post it here... Even the Gaianet team can't solve it...
@juntao @alabulei1 @CodeAunt any news?
It is most likely that your CPU does not support the modern AVX instructions.
Can you try to update WasmEdge to an no-avx version?
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5 --noavx
You can try gaianet start
again after that. Thanks.
It is most likely that your CPU does not support the modern AVX instructions.
Can you try to update WasmEdge to an no-avx version?
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5 --noavx
You can try
gaianet start
again after that. Thanks.
still no changes. /root/gaianet/bin/gaianet: line 584: 690713 Illegal instruction (core dumped) nohup "${cmd[@]}" > $log_dir/start-llamaedge.log 2>&1
# cat ~/gaianet/log/start-llamaedge.log
[2024-07-24 19:28:49.693] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:132: server_version: 0.7.4
[2024-07-24 19:28:49.693] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:140: model_name: Phi-3-mini-4k-instruct,Nomic-embed-text-v1.5
[2024-07-24 19:28:49.693] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:148: model_alias: default,embedding
[2024-07-24 19:28:49.694] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:162: ctx_size: 4096,512
[2024-07-24 19:28:49.694] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:176: batch_size: 4096,512
[2024-07-24 19:28:49.694] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:190: prompt_template: phi-3-chat,embedding
[2024-07-24 19:28:49.695] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:199: rag_prompt: You are a tour guide in Paris, France. Use information in the following context to directly answer the question from a Paris visitor.\n----------------\n
[2024-07-24 19:28:49.696] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:220: qdrant_url: http://127.0.0.1:6333
[2024-07-24 19:28:49.696] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:223: qdrant_collection_name: default
[2024-07-24 19:28:49.696] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:226: qdrant_limit: 1
[2024-07-24 19:28:49.696] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:229: qdrant_score_threshold: 0.5
[2024-07-24 19:28:49.696] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:240: chunk_capacity: 100
[2024-07-24 19:28:49.697] [wasi_logging_stdout] [info] server_config: rag_api_server in src/main.rs:243: rag_policy: system-message
[2024-07-24 19:28:49.697] [wasi_logging_stdout] [info] llama-core: llama_core in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/llama-core-0.13.0/src/lib.rs:496: Initializing the core context for RAG scenarios
[2024-07-24 19:28:49.698] [info] [WASI-NN] GGML backend: LLAMA_COMMIT 751fcfc6
[2024-07-24 19:28:49.698] [info] [WASI-NN] GGML backend: LLAMA_BUILD_NUMBER 3445
Thank you. Support for older CPUs is more complicated than we thought. We need this PR to be merged on WasmEdge to try again. Thanks.
Thank you. Support for older CPUs is more complicated than we thought. We need this PR to be merged on WasmEdge to try again. Thanks.
@juntao Hello there. PR has been merged. what are the startup instructions for the old CPUs now?
Steps to Reproduce:
curl -sSfL 'https://github.com/GaiaNet-AI/gaianet-node/releases/latest/download/install.sh' | bash
source /root/.bashrc
/root/gaianet/bin/gaianet init
/root/gaianet/bin/gaianet start
Expected Result: The LlamaEdge API Server should start without issues.
Actual Result: Error:
Illegal instruction (core dumped)
Logs and System Information:
Output from
/root/gaianet/bin/gaianet --version
:Output from
free -m
:Output from
uname -a
:Output from
lscpu
:Output from
ulimit -a
:Please let me know if you need any further information. start-llamaedge.log