transformers/tests/peft_integration
Benjamin Bossan c2dc72bb5f
TST Fix PEFT integration test bitsandbytes config (#39082)
TST Fix PEFT integration test bitsandbytes config

The PEFT integration tests still used load_in_{4,8}_bit, which is
deprecated, moving to properly setting BitsAndBytesConfig. For 4bit,
also ensure that nf4 is being used to prevent

> RuntimeError: quant_type must be nf4 on CPU, got fp4
2025-06-27 18:33:11 +02:00
..
test_peft_integration.py TST Fix PEFT integration test bitsandbytes config (#39082) 2025-06-27 18:33:11 +02:00