ModuleNotFoundError: No module named 'peft' Sagemaker BLOOM Finetuning
Hi,I am trying to replicate this tutorial:Train and Deploy BLOOM with Amazon SageMaker and PEFTbut I am getting this error in training job:ErrorMessage “ModuleNotFoundError: No module named ‘peft’”
2023-04-28T06:20:46Z
It looks like that yoursource_diris missing therequirements.txtwhich installs peft in the beginning of the training.Make sure to also include theinfernece.pyscript.
2023-05-01T20:48:05Z
Thanks for the reply. Yes, this was the issue. The requirements.txt was outside the directory.