Export Task¶
An export task writes the successfully fine-tuned model to a specified storage location for later use.
Prerequisites¶
- A fine-tune task has been created and is in Success status.
- A writable file storage directory or PVC has been prepared, with sufficient capacity for the export results.
Steps¶
-
In the left navigation, expand Model Fine-tuning, choose Fine-tune Task, and click the target task in Success status. On the details page, select the Model Export tab and click Export Model.
-
Enter the export task name and confirm the fine-tune configuration and fine-tune task brought in by the page. Select the Export Location, fill in the target storage information, then set the shard size and export format, and click OK. The screenshot uses PVC storage and the
safetensorsformat as an example.Parameter Description Export Task Name Required, used to identify this operation in the export task list. Fine-tune Configuration, Fine-tune Task Brought in from the current task; verify the export source before submitting. Export Location Select the storage type for the exported files. Required. The screenshot shows PVC storage. Namespace, PVC, Subpath When using PVC storage, select the target namespace and PVC, and specify a subpath as needed. Mount Path The mount path of the export location in the task, shown on the page. Shard Size Set the size of each exported file shard. The page unit is GB. Required. Export Format Select the format of the exported model files. Required. The screenshot example is safetensors. -
Return to the Model Export tab and check the task status. When the status is Success, verify the storage location, storage directory, mount path, shard size, and export format, and check the exported files at the target storage location.
Next Steps¶
- To manage weight versions, add a weight file pointing to the export directory for the model in Model Management, then start a deployment from model management.
- You can also create a model service through Deploy New Model. If the deployment environment supports custom storage mounts, mount the directory containing the exported files to the inference container, and make sure the runtime can access the weight files.