AstrAI/tests/inference
ViperEkura dc7d2cfbca refactor : FastAPI 懒加载单例,消除模块级副作用
- import astrai.inference 不再在模块加载时创建 FastAPI 实例
- 路由移至 APIRouter;get_app() 首次调用时懒构造单例
- _create_engine 和 run_server 的 param_path 改为必填
- 更新测试改用 get_app() 替代模块级 app
2026-06-04 15:52:27 +08:00
..
conftest.py refactor : FastAPI 懒加载单例,消除模块级副作用 2026-06-04 15:52:27 +08:00
test_cache.py refactor: 重构 cache 和 inference 参数体系,分离存储与分配 2026-05-14 20:05:08 +08:00
test_engine.py refactor: 重构 inference 模块架构,引入设计模式并分组文件 2026-05-14 17:42:37 +08:00
test_protocol.py fix: ProgressBar默认输出到stdout 2026-05-26 13:27:05 +08:00
test_sample.py fix: 修复推理引擎 batch decode 中多项正确性与并发问题 2026-05-14 21:31:39 +08:00
test_scheduler.py test: 补充推理协议层单测覆盖 2026-05-26 00:21:52 +08:00
test_server.py refactor : FastAPI 懒加载单例,消除模块级副作用 2026-06-04 15:52:27 +08:00
test_task.py refactor: 重构 inference 模块架构,引入设计模式并分组文件 2026-05-14 17:42:37 +08:00