try to accomodate outdaten Python versions unsupported by current transformers

This commit is contained in:
kba 2026-05-09 18:03:40 +02:00
parent 03f3f9af17
commit ce5d6bc43c
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: clean up

View file

@ -1,2 +1,3 @@
torch
transformers >= 5
transformers < 5 ; python_version < '3.10'
transformers >= 5 ; python_version >= '3.10'