From fe9e807dbf63c8fce05394208125de4bd308b848 Mon Sep 17 00:00:00 2001 From: olyasir Date: Tue, 10 Feb 2026 20:54:26 +0200 Subject: [PATCH] fix(ci/ocr): download rec_512 models from correct S3 path The integration test workflow was downloading models from the old 2025-12-16 S3 path which contains models expecting 2560px width input. The current code uses RECOGNIZER_MODEL_WIDTH=512, so switch to downloading from s3://tether-ai-dev/qvac_models_compiled/ocr/rec_512/ which has the correct 512-width models. --- ...est-qvac-lib-inference-addon-onnx-ocr-fasttext.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/integration-test-qvac-lib-inference-addon-onnx-ocr-fasttext.yml b/.github/workflows/integration-test-qvac-lib-inference-addon-onnx-ocr-fasttext.yml index a40f7d77f6..f55e6c7106 100644 --- a/.github/workflows/integration-test-qvac-lib-inference-addon-onnx-ocr-fasttext.yml +++ b/.github/workflows/integration-test-qvac-lib-inference-addon-onnx-ocr-fasttext.yml @@ -117,16 +117,7 @@ jobs: shell: bash run: | mkdir -p models/ocr/rec_512 - aws s3 cp s3://tether-ai-dev/qvac_models_compiled/ocr/2025-12-16/recognizer_japanese.onnx models/ocr/recognizer_japanese.onnx - aws s3 cp s3://tether-ai-dev/qvac_models_compiled/ocr/2025-12-16/recognizer_korean.onnx models/ocr/recognizer_korean.onnx - aws s3 cp s3://tether-ai-dev/qvac_models_compiled/ocr/2025-12-16/recognizer_latin.onnx models/ocr/recognizer_latin.onnx - aws s3 cp s3://tether-ai-dev/qvac_models_compiled/ocr/2025-12-16/recognizer_thai.onnx models/ocr/recognizer_thai.onnx - aws s3 cp s3://tether-ai-dev/qvac_models_compiled/ocr/2025-12-16/recognizer_zh_sim.onnx models/ocr/recognizer_zh_sim.onnx - aws s3 cp s3://tether-ai-dev/qvac_models_compiled/ocr/2025-04-25/detector_craft.onnx models/ocr/detector_craft.onnx - cp models/ocr/detector_craft.onnx models/ocr/rec_512/detector_craft.onnx - for model in models/ocr/recognizer_*.onnx; do - cp "$model" models/ocr/rec_512/ - done + aws s3 cp s3://tether-ai-dev/qvac_models_compiled/ocr/rec_512/ models/ocr/rec_512/ --recursive - name: Run integration test working-directory: ${{ inputs.workdir }}