Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept tuples for lora.target_modules (#162)
Pydantic field is defined as `list`, but in pydantic world, it means more than just lists. E.g. it allows tuples. https://docs.pydantic.dev/2.0/usage/types/list_types/ This patch fixes the TypeError raised from the attempt to concatenate a list with a tuple. Related: instructlab/instructlab#2021 Signed-off-by: Ihar Hrachyshka <[email protected]>
- Loading branch information