From f3f131fa9920b9175690d94fb49262d7dcf9822c Mon Sep 17 00:00:00 2001 From: Harwinder Sekhon Date: Sun, 27 Sep 2026 21:03:24 -0400 Subject: [PATCH] spec: record the relaxed runtime pins (live box is Python 3.9, ORT 1.19.2) --- docs/FOREXBOT2_INTEGRATION_SPEC.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/FOREXBOT2_INTEGRATION_SPEC.md b/docs/FOREXBOT2_INTEGRATION_SPEC.md index c52f87a..1eefa5f 100644 --- a/docs/FOREXBOT2_INTEGRATION_SPEC.md +++ b/docs/FOREXBOT2_INTEGRATION_SPEC.md @@ -19,8 +19,9 @@ numbers refer to `6af1237` and have drifted. Where the implementation differs, t processes load the model (owner decision); `NEWS_MODEL_MODE=off` stays as the memory fallback. - `warm_up_in_background()` is implemented (module-level once flag; a `NewsEngine` is built per scan). - `news_model.get_news_model()` also treats a missing `path` as a load failure (one warning). -- `requirements.txt` floors: `onnxruntime>=1.30,<2`, `tokenizers>=0.23.2,<1` (the versions that - verified the bundle). +- `requirements.txt` ranges: `onnxruntime>=1.19,<2`, `tokenizers>=0.22,<1`. The live box runs + Python 3.9, where only 1.19.2 / 0.22.2 install; verified on 2026-09-28 to score the bundle + identically to the dev box's 1.30.0 / 0.23.2 (golden pair, four probe headlines). - ML-NEWS `news_transformer.py` received the ยง3.4 edits in the same session; the vendored copy differs only in `load_model` having no default directory.