Commit Graph

19 Commits (984a2c3611f785a0cc5293be4517e9eb4d3fce7a)

Author SHA1 Message Date
Linxiushen 984a2c3611 [fix] requirements.txt 缺 fastapi/uvicorn,按 README 跑 serve_openai_api.py 直接崩
README 的「第0步」让用户 pip install -r requirements.txt 完成环境搭建,
随后在 OpenAI 兼容服务一节给出可直接运行的命令(README.md:1652):

    cd scripts && python serve_openai_api.py

但 scripts/serve_openai_api.py 第12行 import uvicorn、第16-17行
from fastapi import ... 都是顶层硬依赖,而 requirements.txt 里两个都没有。

复现(venv 严格按 requirements.txt 装齐):
    $ cd scripts && python serve_openai_api.py --help
    ModuleNotFoundError: No module named 'uvicorn'

补上两行。版本已在独立 venv 里验证可与已声明的 pydantic==2.11.5 共存。
2026-09-20 11:57:27 +08:00
jingyaogong c9a8ab4632 [update] dependency version 2026-08-31 17:54:37 +08:00
jingyaogong e84156818a [update] dependency version 2026-08-29 15:12:28 +08:00
jingyaogong 9da8e1ab18 [update] requirements 2026-05-16 18:08:37 +08:00
jingyaogong 101d7df2da [update] minimind-3 2026-03-25 23:57:45 +08:00
jingyaogong de23e1ea39 [feat] update datasets 2025-10-30 11:08:13 +08:00
jingyaogong c4e9789d7e [feat] update requirements 2025-10-23 23:54:55 +08:00
jingyaogong 4276f8a72f [feat] update requirements 2025-10-23 23:50:21 +08:00
jingyaogong 0682134e21 [feat] update requirements 2025-10-17 00:14:37 +08:00
jingyaogong 561979c7e3 update torch version 2025-04-30 16:47:26 +08:00
gongjy 04b56ea86c update readme 2025-02-23 20:07:26 +08:00
gongjy 58e3af0359 add minimind2 2025-02-09 23:49:47 +08:00
gongjy 02adb7bc0d update trl 2024-10-13 22:44:28 +08:00
gongjy 1b864453fa update requirements.txt 2024-10-03 14:45:58 +08:00
gongjy e4ad822c40 update model 2024-09-16 15:29:57 +08:00
gongjy 3696d3bf80 update requirements.txt 2024-09-13 16:43:06 +08:00
gongjy 0fb22635a1 update requirements.txt 2024-09-13 16:09:42 +08:00
MuWinds 3732b2d3b5
Update requirements.txt
Fix conflict with flask and jinja
2024-09-05 15:10:38 +08:00
gongjy 8be42693f6 MiniMind first open source 2024-08-28 16:41:44 +08:00