cerebras.modelzoo.tools.convert_checkpoint.convert_checkpoint_from_file#
- cerebras.modelzoo.tools.convert_checkpoint.convert_checkpoint_from_file(model: str, src_fmt: str, tgt_fmt: str, checkpoint_file: str, config_file: str, outputdir: Optional[str] = None, hf_shard_size: str = '10GB', export_safetensors: bool = False, drop_unmatched_keys: bool = False, no_progress_bar: bool = True, debug: bool = False)[source]#