An Azure machine learning service for building and deploying models.
Hi Prasanna Sai Kommineni,
Greetings of the day!
Yes, Azure supports this scenario. You can upload your custom-trained Small Language Model (SLM) to Azure, allow edge devices to download it, and then run the model locally without an internet connection.
1. Azure Machine Learning – Recommended
You can use Azure Machine Learning to register and manage your custom SLM.
This is useful when you want to maintain different versions of your model, for example:
- SLM v1
- SLM v2
- SLM v3
You can keep the model files in Azure and allow your edge application to download the required version.
Azure ML also provides model versioning and management capabilities.
Microsoft Learn – Register and manage Azure ML models
2. Azure Blob Storage – Simple option
If your main requirement is simply to store the model and allow edge devices to download it, Azure Blob Storage is a good option.
You can store model files such as:
- GGUF
- ONNX
- Safetensors
- Tokenizer and configuration files
The edge device can download the model once and store it locally. After that, the device can perform inference without continuously connecting to Azure.
3. Foundry Local – For local/offline inference
If your target device is supported, Foundry Local can be used to run AI models directly on the device.
Microsoft Learn – Foundry Local
4. Azure IoT Edge – For IoT devices
For IoT or industrial edge devices, Azure IoT Edge can also be considered for deploying and running machine learning workloads locally.
The model can be deployed to the edge device, and inference can happen locally instead of sending data to the cloud.
Microsoft Learn – Machine learning inference with Azure IoT Edge
Recommended approach:
For a production scenario, we would recommend using Azure Machine Learning Model Registry to manage and version the custom SLM, and Azure Blob Storage or another suitable Azure storage option to distribute the model to the edge devices.
The edge device can download the model, store it locally, and use a suitable runtime such as Foundry Local, ONNX Runtime, or llama.cpp, depending on the model format and device capabilities.
Azure ML registries can also be used when you need to share and version models across different Azure ML workspaces.