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

oneapi报错 #1553

Open
5 tasks done
lingaoan2024 opened this issue Jun 22, 2024 · 1 comment
Open
5 tasks done

oneapi报错 #1553

lingaoan2024 opened this issue Jun 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lingaoan2024
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
本地ollama部署的qwen2,创建渠道测试成功,如下图:
image

分别测试两次:
1、root用户创建渠道测试通过后,直接创建令牌,报错如下:
2024-06-23 03:36:42 [ERR] 2024/06/22 - 19:36:42 | 2024062219364230120484593645821 | 该令牌无权使用模型:qwen2
2024-06-23 03:36:42 [GIN] 2024/06/22 - 19:36:42 | 2024062219364230120484593645821 | 403 | 532.536µs | 172.22.0.7 | POST /v1/chat/completions
2、创建其他用户,创建令牌,复制key,重新docker compose fastgpt,报错如下
2024-06-23 03:55:07 2024/06/22 19:55:07 /build/model/cache.go:35 record not found
2024-06-23 03:55:07 [0.336ms] [rows:0] SELECT * FROM tokens WHERE key = 'fastgpt' ORDER BY tokens.id LIMIT 1
2024-06-23 03:55:07 [GIN] 2024/06/22 - 19:55:07 | 2024062219550783290268839514798 | 401 | 423.215µs | 172.22.0.7 | POST /v1/chat/completions
2024-06-23 03:55:07 [SYS] 2024/06/22 - 19:55:07 | CacheGetTokenByKey failed: record not found
2024-06-23 03:55:07 [ERR] 2024/06/22 - 19:55:07 | 2024062219550783290268839514798 | 无效的令牌
复现步骤

预期结果

@lingaoan2024 lingaoan2024 added the bug Something isn't working label Jun 22, 2024
@lingaoan2024
Copy link
Author

补充一下,docker安装
image: ghcr.io/songquanpeng/one-api:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant