NEW REFERENCE ARCHITECTURE: Batch scoring on Azure for deep learning models
Written by JS Tan from AzureCAT. Reviewed by Mike Wasson.
Reference architectures provide a consistent approach and best practices for a given solution. Each architecture includes recommended practices, along with considerations for scalability, availability, manageability, and security. This architecture includes a deployable solution as well. The full array of reference architectures is available on the Azure Architecture Center.
This reference architecture shows how to apply neural style transfer to a video, using Azure Batch AI. Style transfer is a deep learning technique that composes an existing image in the style of another image. This architecture can be generalized for any scenario that uses batch scoring with deep learning.
This architecture consists of the following components:
- Compute: Azure Batch AI
- Storage: Blob storage
- Trigger/scheduling: Azure Logic Apps, Azure Container Instances, DockerHub
- Data preparation: AzCopy, FFmpeg
This article covers the following topics:
- Performance considerations
- GPU vs. CPU
- Parallelizing across VMs vs cores
- Images batch size per Batch AI job
- File servers
- Security considerations
- Restricting access to Azure blob storage
- Data encryption and data movement
- Securing data in a virtual network
- Protecting against malicious activity
- Monitoring and logging
- Monitoring Batch AI jobs
- Logging in Batch AI
- Cost considerations
- Deploy the solution
Head to the article page to learn more and to deploy the solution.
"Hands-on solutions, with our heads in the Cloud!"