(quant_method: Literal['gptq', 'awq'] = 'awq')
| 25 | |
| 26 | |
| 27 | def test_audio_quant(quant_method: Literal['gptq', 'awq'] = 'awq'): |
| 28 | from swift import ExportArguments, export_main |
| 29 | export_main( |
| 30 | ExportArguments( |
| 31 | model='Qwen/Qwen2-Audio-7B-Instruct', |
| 32 | quant_bits=4, |
| 33 | dataset=['speech_asr/speech_asr_aishell1_trainsets:validation#1000'], |
| 34 | quant_method=quant_method)) |
| 35 | |
| 36 | |
| 37 | def test_vlm_bnb_quant(): |
nothing calls this directly
no test coverage detected