()
| 35 | |
| 36 | |
| 37 | def test_vlm_bnb_quant(): |
| 38 | from swift import ExportArguments, InferArguments, export_main, infer_main |
| 39 | export_main(ExportArguments(model='Qwen/Qwen2-VL-7B-Instruct', quant_bits=4, quant_method='bnb')) |
| 40 | |
| 41 | # infer_main(InferArguments(ckpt_dir='Qwen/Qwen2-VL-7B-Instruct-bnb-int4')) |
| 42 | |
| 43 | |
| 44 | def test_bert(): |
nothing calls this directly
no test coverage detected