Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

Merge pull request #539 from dantedeprenda/test/ci-run-model-free-suites

Nandakishor66d854750e14
diff --cc .github/workflows/ci.yml
index 68f1c2ec,cda76275..4a75138c
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@@ -137,21 -132,11 +137,25 @@@ jobs
python tests/test_portability.py
python tests/test_training.py
python tests/test_example_server_limits.py
+ python tests/test_blank_lang_routing.py
+ python tests/test_load_errors.py
+ python tests/test_predict_batch.py
+ python tests/test_revision_pinning.py
+ - name: LangChain integration runs on the real base class
+ run: |
+ # The install above is what makes tests/test_langchain.py run on real Runnables, and
+ # nothing proves it took: with langchain-core missing, the eight checks inside that
+ # file's `if _RUNNABLE_AVAILABLE:` block vanish instead of failing, and it still
+ # prints FAIL: 0 -- measured here: PASS: 87 with the extra, PASS: 80 without, exit 0
+ # both ways. This step asserts the install took, then checks what only a real install
+ # can check.
+ python -c "from laya.integrations.langchain import RunnableSerializable; \
+ assert RunnableSerializable is not object, \
+ 'langchain-core is missing: laya.integrations.langchain fell back to a plain object, ' \
+ 'so the LangChain suites in this job test a shape no install produces'"
+ python tests/test_langchain_real_mode.py
+
- name: Email cleaning tests
run: python tests/test_email.py
# Full dependency tree here, so the stub pipeline and the metric pins that need numpy