russellsparadox
russellsparadox
I tried to follow [this suggestion](https://github.com/lvwerra/trl/blob/main/examples/sentiment/scripts/gpt2-sentiment_peft.py#L143-L157) but got the following error:
https://github.com/huggingface/peft/issues/269#issuecomment-1498868232
I uninstall and reinstalled everything with: ``` pip install git+https://github.com/huggingface/peft.git pip install git+https://github.com/huggingface/accelerate.git pip install git+https://github.com/huggingface/transformers.git ``` It didn't help and it gives familiar: `RuntimeError: expected scalar type Half but...
Hi @Jblauvs , Do you mind sharing here particular lines of code you changed?