mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-05-13 01:13:54 +02:00
try to accomodate outdaten Python versions unsupported by current transformers
This commit is contained in:
parent
03f3f9af17
commit
ce5d6bc43c
2 changed files with 3 additions and 2 deletions
2
.github/workflows/test-eynollah.yml
vendored
2
.github/workflows/test-eynollah.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
torch
|
||||
transformers >= 5
|
||||
transformers < 5 ; python_version < '3.10'
|
||||
transformers >= 5 ; python_version >= '3.10'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue