From 3bb66f3e81edd77d32cb0fac2543e69628d44887 Mon Sep 17 00:00:00 2001 From: shy3130 <415333856@qq.com> Date: Fri, 26 Jun 2026 11:25:50 +0800 Subject: [PATCH] =?UTF-8?q?docs(legacy-cpu):=20=E8=A1=A5=E5=85=85=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E4=BD=93=E7=A7=AF=E8=AF=B4=E6=98=8E=E4=B8=8E=E5=A4=9A?= =?UTF-8?q?=20extras=20=E7=94=A8=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 标注 legacy-cpu wheel 约 50MB,启用后镜像体积会相应增大 - 补充 BACKEND_EXTRAS 空格分隔可同时启用多个 extras 的用法 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23e8188..9deee2a 100644 --- a/README.md +++ b/README.md @@ -198,6 +198,7 @@ docker compose up --build ```ini BACKEND_EXTRAS=legacy-cpu +# 需要回测可同时启用(空格分隔):BACKEND_EXTRAS=legacy-cpu backtest ``` ```bash @@ -205,7 +206,7 @@ docker compose up --build ``` `legacy-cpu` 会让后端安装 `polars[rtcompat]`,适用于不支持 AVX2/FMA 的老 CPU; -默认留空则保持 Polars 高性能运行时。 +默认留空则保持 Polars 高性能运行时。该 wheel 约 50MB,启用后镜像体积会相应增大。 首次运行会自动安装前后端依赖(约 1-2 分钟),之后直接启动: