Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切换模型时呼叫API:switch-model发生异常 #404

Open
tzengshinfu opened this issue Nov 21, 2024 · 0 comments
Open

切换模型时呼叫API:switch-model发生异常 #404

tzengshinfu opened this issue Nov 21, 2024 · 0 comments

Comments

@tzengshinfu
Copy link

您好,设定如下:

请求体

{
  "customCuda": false,
  "deploy": false,
  "model": "models/RWKV-x060-World-1B6-v2.1-20240328-ctx4096.pth",
  "strategy": "cpu fp32i8",
  "tokenizer": ""
}

回传结果

{
  "detail": "failed to load: /app/backend-python/rwkv_pip/cpp/librwkv.so: undefined symbol: rwkv_gpu_offload_layers"
}

执行方式:docker
docker-compose.yml内容:

services:
  rmkv_runner:
    image: rwkv-runner:latest
    build: .
    # Append "--rwkv.cpp" parameter to use rwkv.cpp
    command: python3.10 ./backend-python/main.py  --port 27777 --host 0.0.0.0 --webui --rwkv.cpp
    volumes:
      - /mnt:/mnt
    ports:
      - "27777:27777"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant