> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shaktistudio.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy Fine-Tuned model

After training the model, you can deploy the LoRA Model with Shakti Studio.

To deploy your fine-tuned model, follow the detailed steps outlined below, which guide you through the process of optimizing, configuring, and completing the deployment to make your model ready for use.

### **Merge with Base Model**

Click on **Compile** to merge the LoRA adapter back into the base model, creating a fine-tuned model. This step will take you to the [**Add Model**](/model-suite/optimise-a-model) page. Follow the next steps to create an optimised version of the model ready to be deployed via the Shakti Studio Model Suite.

<img src="https://mintcdn.com/simplismart-2/Ev4A7Zpgq0Yv5s8a/images/deploy-a-finedtuned-1.png?fit=max&auto=format&n=Ev4A7Zpgq0Yv5s8a&q=85&s=ce10445c1d384c5d38c9900d98bea9d8" alt="title" width="2570" height="1348" data-path="images/deploy-a-finedtuned-1.png" />

***

### **Optimize the Fine-Tuned Model**

While compiling the LoRA with the base model, you will have the option to optimize the model for deployment.

***

### **Enter Model Details**

Provide the name for your fine-tuned model.

***

### **Select Optimizing Infrastructure**

Choose the right optimization infrastructure for the model based on the size of the base model, specifically the GPU RAM required to run the model for a given quantization.

<Note>
  For example, a **Llama 3.1 8B** model can run on a **T4 GPU** with a **4-bit quantization** but may run into **CUDA OOM errors** with an **FP16 quantization**.
</Note>

<img src="https://mintcdn.com/simplismart-2/M-JhZ2nDy3THo2rP/images/Screenshot2025-08-18at4.32.26PM.png?fit=max&auto=format&n=M-JhZ2nDy3THo2rP&q=85&s=d1577243ce8d107d54ee834f281c06da" alt="Screenshot 2025-08-18 at 4.32.26 PM.png" width="2648" height="1190" data-path="images/Screenshot2025-08-18at4.32.26PM.png" />

***

### **Update Optimization Configuration**

Modify the optimization settings as needed, and select the desired quantization for your optimised model. If unsure about the rest of the optimization configuration, leave it at the default values.

<Note>
  Please refrain from changing the **model configuration** in this step.
</Note>

***

### **Add the Model**

Click **Add Model** to save your fine-tuned model to the [**My Models**](https://uat-infer.shakticloud.ai/my-models) section.

***

### **Deploy the Model**

Once the model has been successfully optimised and saved to your repository, you can deploy it via the **Shakti Studio Model Suite**. You can refer to the deployment steps [here](/model-suite/deployments/creating-a-deployment).
