File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 49
49
name : Install specific dependencies and versions required for older transformers
50
50
run : pip install transformers==${{ matrix.transformers-version }} accelerate==0.* peft==0.13.*, diffusers==0.30.* transformers_stream_generator
51
51
52
- - if : ${{ matrix.transformers-version == 'latest' }}
52
+ - if : ${{ matrix.transformers-version == 'latest' && matrix.os != 'windows-2019' }}
53
53
name : Install auto-gptq, autoawq
54
54
run : |
55
55
pip install auto-gptq autoawq --extra-index-url https://download.pytorch.org/whl/cpu
Original file line number Diff line number Diff line change 15
15
import copy
16
16
import gc
17
17
import os
18
+ import platform
18
19
import tempfile
19
20
import time
20
21
import unittest
@@ -914,10 +915,14 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
914
915
"exaone" ,
915
916
"mistral-nemo" ,
916
917
"minicpm3" ,
917
- "opt_gptq" ,
918
918
)
919
919
920
- if is_openvino_version (">=" , "2024.6.0" ):
920
+ # gptq and awq install disabled for windows test environment
921
+ if platform .system () != "Windows" :
922
+ SUPPORTED_ARCHITECTURES += ("opt_gptq" ,)
923
+
924
+ # autoawq install disabled for windows test environment
925
+ if is_openvino_version (">=" , "2024.6.0" ) and platform .system () != "Windows" :
921
926
SUPPORTED_ARCHITECTURES += ("mixtral_awq" ,)
922
927
923
928
GENERATION_LENGTH = 100
You can’t perform that action at this time.
0 commit comments