Skip to content

Commit 3c72863

Browse files
committed
fix(ci): exclude PyTorch dependencies entirely to prevent segfault
- Install all extras except nlp-advanced to avoid PyTorch/GLiNER - This prevents segmentation fault during Python cleanup in CI - Tests show 179 passed but process crashes during cleanup - GLiNER functionality will be tested locally and in dedicated workflows
1 parent 52f327f commit 3c72863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
sudo apt-get update
3939
sudo apt-get install -y tesseract-ocr libtesseract-dev
4040
41-
- name: Install all dependencies
41+
- name: Install dependencies (excluding PyTorch-based extras to prevent segfault)
4242
run: |
4343
python -m pip install --upgrade pip
44-
pip install -e ".[all]"
44+
pip install -e ".[nlp,ocr,distributed,web,cli,crypto,dev]"
4545
pip install -r requirements-dev.txt
4646
4747
- name: Run test suite (excluding GLiNER tests to prevent PyTorch segfault)

0 commit comments

Comments
 (0)