convert_native_lora_checkpoint_to_peft
"# convert_native_lora_checkpoint_to_peft\n\n```python\nfrom modal_dojo import convert_native_lora_checkpoint_to_peft\n```\n\nConvert a Miles native-LoRA `iter_*/adapter` directory to a PEFT adapter at `<adapter_path>_hf`.\n\n```python\nconvert_native_lora_checkpoint_to_peft(adapter_path: str, model: ModelConfig, checkpoints_volume_name: str, checkpoints_mount_path: str = '/checkpoints') -> str\n```\n"
from modal_dojo import convert_native_lora_checkpoint_to_peftConvert a Miles native-LoRA iter_*/adapter directory to a PEFT adapter at <adapter_path>_hf.
convert_native_lora_checkpoint_to_peft(adapter_path: str, model: ModelConfig, checkpoints_volume_name: str, checkpoints_mount_path: str = '/checkpoints') -> str