Open RobotSail opened 1 month ago
In main_ds.py and possibly other files, we import DeepSpeed at the top level regardless if it's installed or not. To make it truly optional, we should either make this an either a conditional or try/catch import, or just remove it entirely.
Hello @RobotSail I made a PR for this issue https://github.com/instructlab/training/pull/267 , Please let me know if I missed anything
In main_ds.py and possibly other files, we import DeepSpeed at the top level regardless if it's installed or not. To make it truly optional, we should either make this an either a conditional or try/catch import, or just remove it entirely.