From 76cbea774cb446c54e069bbecbe41505721c443e Mon Sep 17 00:00:00 2001 From: tfarcraw <123211521@163.com> Date: Sun, 8 Nov 2026 22:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4=EF=BC=9A=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=20Linux=20=E6=A0=87=E6=B3=A8=E7=8E=AF=E5=A2=83=E9=AA=8C?= =?UTF-8?q?=E6=94=B6=E5=B9=B6=E7=BB=9F=E4=B8=80=E8=84=9A=E6=9C=AC=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 2 +- LINUX.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 8ece800..dfdb8b7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -tools/linux/*.sh text eol=lf +*.sh text eol=lf diff --git a/LINUX.md b/LINUX.md index 80cda0b..db96338 100644 --- a/LINUX.md +++ b/LINUX.md @@ -52,6 +52,11 @@ Python 启动真实 worker,检查标注依赖;不启动界面或相机。 `pip check` 通过。部署脚本连续切换两个测试版本时,共享 Python 和模型缓存均保持不变。 SAM2/PyTorch 标注环境当前使用 CPU,与实时 SOP 检测的 AMD WebGPU 后端分别配置。 +已部署至 `~/sophelper/releases/avalonia-20261108-225209`。新版 `--check-training` 确认识别 +Python 3.12.16,cv2、numpy、torch、ultralytics、sam2 和 onnx 均可用; +`--check-runtime` 和 `--check-gpu` 也通过,实时检测仍报告 AMD WebGPU。 +原来正在运行的版本同样已连接共享环境,可直接重试标注,不需要关闭未保存的项目。 + ```bash python/bin/python3 tests/Training.WorkerSmoke/check.py tools/worker.py --sam2 bash tests/Linux.RuntimePersistence/check.sh