LlamaEdge / search-api-server

An extended version of the LlamaEdge API Server with web search. In development.
3 stars 0 forks source link

Can't compile successfully #3

Open alabulei1 opened 2 months ago

alabulei1 commented 2 months ago

Following the instructions from README.md, I can't compile the source code to Wasm

root@Laptop-for-JYC:/search-api-server# cargo build --target wasm32-wasi --release
    Updating git repository `https://github.com/second-state/wasi_hyper.git`
    Updating git repository `https://github.com/second-state/wasi_reqwest.git`
    Updating git repository `https://github.com/second-state/socket2.git`
    Updating git repository `https://github.com/second-state/wasi_tokio.git`
    Updating crates.io index
    Updating git repository `https://github.com/suryyyansh/LlamaEdge.git`
    Updating git repository `https://github.com/WasmEdge/wasmedge-stable-diffusion.git`
error: failed to select a version for the requirement `wasmedge_stable_diffusion = "^0.1.0"`
candidate versions found which didn't match: 0.2.0
location searched: Git repository https://github.com/WasmEdge/wasmedge-stable-diffusion.git
required by package `llama-core v0.16.0 (https://github.com/suryyyansh/LlamaEdge.git?branch=dev#e264fd20)`
    ... which satisfies git dependency `llama-core` of package `search-api-server v0.1.0 (/search-api-server)`

WasmEdge version: 0.13.5 Rust version: 1.80.1 OS: WSL Ubuntu 22.04.1 LTS

suryyyansh commented 2 months ago

Could you please try building the dev branch? The CI is passing and I've updated llama-core to 0.16.1 along with chat-prompts and endpoints. I will then push to main.