diff --git a/pyproject.toml b/pyproject.toml index 7b772f2d4..9d09a36b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ authors = [ {name = "Sukriti Sharma", email = "sukriti.sharma4@ibm.com"}, {name = "Anh Uong", email = "anh.uong@ibm.com"}, ] -license = "Apache-2.0" +license = {text = "Apache-2.0"} readme = "README.md" requires-python = "~=3.9" keywords = ['fms-hf-tuning', 'python', 'tuning'] diff --git a/tuning/data/setup_dataprocessor.py b/tuning/data/setup_dataprocessor.py index fca41675c..48d65c739 100644 --- a/tuning/data/setup_dataprocessor.py +++ b/tuning/data/setup_dataprocessor.py @@ -561,7 +561,7 @@ def setup_train_dataset_for_odm( eval_batch_size=train_args.per_device_eval_batch_size, reward_type=odm_config.odm.reward_type, ) - train_args.accelerator_config = {"split_batches": True} + train_args.accelerator_config = {"dispatch_batches": False} return (True, train_dataset, data_collator)