src/transformers/integrations/deepspeed.py/HfDeepSpeedConfig/__init__
class HfDeepSpeedConfig:    def __init__(self, config_file_or_dict):
        # set global weakref object
        set_hf_deepspeed_config(self)
        dep_version_check("accelerate")
        dep_version_check("deepspeed")
        super().__init__(config_file_or_dict)