foundation-model-stack / fms-hf-tuning

🚀 Collection of tuning recipes with HuggingFace SFTTrainer and PyTorch FSDP.
Apache License 2.0
9 stars 30 forks source link

build: use poetry for reproducible virtual environments #209

Open VassilisVassiliadis opened 1 week ago

VassilisVassiliadis commented 1 week ago

Description of the change

Related issue number

Contributes to #60

How to verify the PR

Use poetry install to install fms-hf-tuning from source. You will end up installing the python dependencies listed in poetry.lock

Was the PR tested

VassilisVassiliadis commented 5 days ago

I updated the description of the issue with a couple more changes that I had to do for the tests to pass.