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.

ci(release): run the truncation usage test before publishing

Som Tripathi2ba7a390b7d5
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 952add48..8311412a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -35,7 +35,7 @@ jobs:
run: |
python -m pip install --upgrade pip build twine
pip install torch --index-url https://download.pytorch.org/whl/cpu
- pip install -e .
+ pip install -e . pytest
- name: Tests must pass before anything is published
run: |
@@ -56,6 +56,7 @@ jobs:
python tests/test_decision_model.py
python tests/test_head_checkpointing.py
python tests/test_truncation.py
+ python -m pytest tests/test_truncation_direction.py -q
python tests/test_packaging.py
python tests/test_compose_env.py
python tests/test_doc_tables.py