Closed DA21S321D closed 6 months ago
It might be a system error, you may need to solve the UserWarning: Can't initialize NVML warnings.warn("Can't initialize NVML")
warning first.
Thanks for your kind patience. The solution is turn "{'input_length': 8}" into "input_shape(8,)" caused by a version problem. Also the peft latest version 0.10.0 have deprecated "prepare_model_for_int8_training" as here happens prepare_model_for_int8_training deprecated. Since the version causes much chaos, could you please make the requirements more detailed?
Thank you for your feedback. I have added the peft
requirement in the README.
Also the peft latest version 0.10.0 have deprecated "prepare_model_for_int8_training" as here happens prepare_model_for_int8_training deprecated. Since the version causes much chaos, could you please make the requirements more detailed?
Note that you can just use prepare_model_for_kbit_training
instead of prepare_model_for_int8_training
. If this is the only issue with PEFT, I would recommend to replace the function instead of fixing an old PEFT version.
Here is the full record :