-
|
I am trying to run some fairly simple examples, but when running the SFTTrainer it's throwing a psutil is not defined deep in the SFTTrainer. The exact same thing happens running locally and using google collab. --> 854 train_dataset = self._prepare_dataset( File ~/code/FineTuning/aviation/unsloth_compiled_cache/UnslothSFTTrainer.py:1026, in _UnslothSFTTrainer._prepare_dataset(self, dataset, processing_class, args, packing, formatting_func, dataset_name) NameError: name 'psutil' is not defined Not sure where to go with this? I have tried all versions from 19.1 upwards Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Found the issue, it didn't like the use of args = training arguments in my SFTTrainer definition, had to switch to use SFTConfig. |
Beta Was this translation helpful? Give feedback.
Found the issue, it didn't like the use of args = training arguments in my SFTTrainer definition, had to switch to use SFTConfig.