High-Performance LLM Deployment with SageMaker AI

salesforce · Tech · 2025 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: enterprise AI model serving and FMOps

Salesforce's AI Model Serving team needed to deploy LLMs, multimodal foundation models, speech models, computer-vision models, and traditional ML models quickly across AWS Regions while balancing latency, throughput, cost-efficiency, security, and reliability.

Constraints:

Architecture

Salesforce built a SageMaker AI hosting framework for end-to-end model serving. Data science and research teams provide models and performance requirements; the AI Model Serving team hosts, optimizes, scales, and deploys them with SageMaker AI, Deep Learning Containers, distributed inference, multi-model deployments, rolling-batch inference, elastic load balancing, instance scaling, and real-time monitoring. The DLC architecture's engine abstraction layer, model store, and workload manager let project teams optimize isolated components such as rolling batch inference without disrupting latency or multi-framework support. CI/CD pipelines using tools such as Jenkins and Spinnaker run vulnerability, compliance, model-integrity, performance, regression, and security checks; YAML configuration stored in git allows rapid optimizer and hyperparameter experimentation. Ongoing work explores quantization, tensor parallelism, caching, AWS AI chips, Graviton, distributed inference, and more granular DJL logging metrics.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Salesforce model producers"] --> B["AI Model Serving team"]
  B --> C["SageMaker AI hosting framework"]
  C --> D["Deep Learning Containers"]
  D --> E["Engine abstraction layer"]
  D --> F["Model store"]
  D --> G["Workload manager"]
  G --> H["Rolling-batch inference"]
  I["Git-backed YAML configuration"] --> J["CI/CD pipelines"]
  B --> J
  J --> K["FMOps and security review"]
  J --> C
  H --> L["SageMaker scaling and monitoring"]
  C --> L
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Salesforce model producers Data science and research teams that build LLMs, multimodal foundation models, speech models, computer-vision models, and traditional ML models. AI Model Serving team
AI Model Serving team Owns requirement gathering, hosting, optimization, scaling, deployment, and performance testing for Salesforce models. SageMaker AI hosting framework, CI/CD pipelines, FMOps and security review
SageMaker AI hosting framework AWS model hosting framework used for distributed inference, multi-model deployments, scaling, routing, load balancing, and monitoring. Deep Learning Containers, SageMaker scaling and monitoring
Deep Learning Containers Pre-built SageMaker AI containers with optimized frameworks, CUDA settings, best-practice defaults, and DJL-serving capabilities. Engine abstraction layer, Model store, Workload manager, Rolling-batch inference
Engine abstraction layer DLC modular component that isolates serving-engine concerns from other container functionality. Workload manager
Model store DLC modular component for managing model artifacts served through the container. Workload manager
Workload manager DLC modular component coordinating serving workloads and optimizations such as rolling batch inference. Rolling-batch inference
Rolling-batch inference Request batching capability tuned through max_rolling_batch_size and job_queue_size to balance throughput and latency. SageMaker scaling and monitoring
Git-backed YAML configuration Versioned configuration stored with inference code for optimizer and hyperparameter experimentation without code edits. CI/CD pipelines
CI/CD pipelines Automated Jenkins/Spinnaker and related pipelines that run testing, regression checks, security checks, compliance validation, and model-integrity checks. FMOps and security review, SageMaker AI hosting framework
FMOps and security review Cross-functional review involving development, FMOps, and security teams to align optimizations with project-wide objectives. CI/CD pipelines
SageMaker scaling and monitoring Elastic load balancing, instance scaling, real-time model monitoring, and customer-controlled routing/scaling strategies. —

Data flow

Salesforce data science and research teams build models and supply requirements. The AI Model Serving team evaluates models across environments, packages and configures them with SageMaker AI Deep Learning Containers, tunes rolling-batch and distributed-inference settings, stores configuration in git-backed YAML alongside inference code, and deploys through automated CI/CD. During development and release, pipelines run performance tests, regression tests, security checks, vulnerability scanning, compliance validation, and model-integrity checks. In production, SageMaker AI provides elastic load balancing, instance scaling, real-time monitoring, enterprise security controls, and routing/scaling control for model endpoints.

3 supporting quotes
“The team is responsible for the end-to-end process of gathering requirements and performance objectives, hosting, optimizing, and scaling AI models”article, stated
“This cross-functional collaboration is complemented by comprehensive testing.”article, stated
“Configuration management using simple YAML files enabled rapid experimentation across optimizers and hyperparameters without altering the underlying code.”article, stated

Why this architecture

Salesforce chose a SageMaker AI and DLC-based framework because it needed a self-service, secure, multi-region model-serving path that handles many model types while optimizing latency, throughput, and cost. DLCs reduce infrastructure setup overhead and provide best-practice serving defaults, while modular container internals allow one team to tune throughput without disrupting other frameworks or latency-sensitive functionality. CI/CD, git-backed YAML config, and security-by-design practices let the team iterate quickly while preserving trust and reliability.

3 supporting quotes
“the team developed a hosting framework on AWS to simplify their model lifecycle, allowing them to quickly and securely deploy models at scale while optimizing for cost.”article, stated
“This significantly reduces the setup and configuration overhead, allowing engineers to focus on model optimization rather than infrastructure concerns.”article, stated
“These practices made sure that performance or security improvements were well-coordinated and didn’t introduce trade-offs in other areas.”article, stated

Models used: large language models · multi-modal foundation models · speech recognition models · computer vision models · traditional ML models · TensorRT · vLLM

Scale

Alternatives considered (roads not taken)

Hand-build model-serving infrastructure for each deployment

Rejected because: DLCs provide optimized frameworks, CUDA settings, and best-practice defaults so engineers can spend time on model optimization rather than infrastructure setup.

“These pre-built containers come with optimized deep learning frameworks and best-practice configurations, providing a head start for AI teams.”article, stated
“allowing engineers to focus on model optimization rather than infrastructure concerns.”article, stated

Tune one project monolithically inside the serving container

Rejected because: A monolithic approach would risk breaking other deployments or capabilities; the DLC modular architecture isolates component-level optimization.

“they adopted a modular development approach.”article, stated
“This structure allows the team to isolate and optimize individual components on the container”article, stated

Change inference code for each optimizer or hyperparameter experiment

Rejected because: Git-backed YAML configuration allowed rapid experimentation across optimizers and hyperparameters without altering code.

“Configuration management using simple YAML files enabled rapid experimentation across optimizers and hyperparameters without altering the underlying code.”article, stated

Treat security as a post-deployment review

Rejected because: The team embedded secure-by-design principles, vulnerability checks, compliance validation, model-integrity checks, and development-environment security testing throughout the lifecycle.

“Secure-by-design principles are adopted from the outset, making sure that security requirements are integrated into the architecture.”article, stated
“Automated continuous integration and delivery (CI/CD) pipelines with built-in checks for vulnerabilities, compliance validation, and model integrity”article, stated

Patterns

latency-optimization (serving)

Salesforce used SageMaker AI DLCs, distributed inference, rolling-batch inference, GPU utilization defaults, memory allocation defaults, TensorRT, vLLM, and future quantization/tensor-parallel strategies to improve latency and throughput.

“The team uses the DLC’s rolling-batch capability, which optimizes request batching to maximize throughput while maintaining low latency.”article, stated
“Regression testing made sure that optimizations, such as deploying models with TensorRT or vLLM, didn’t negatively impact scalability or user experience.”article, stated

cost-aware-routing (serving)

The hosting framework explicitly balances throughput, latency, hardware cost, scaling strategy, and cost-efficiency across inference environments.

“balancing latency and throughput while achieving cost-efficiency when scaling these models based on demand.”article, stated
“SageMaker AI provides elastic load balancing, instance scaling, and real-time model monitoring, and provides Salesforce control over scaling and routing strategies”article, stated

eval-driven-development (quality)

Model serving changes are gated by extensive performance testing, regression testing, development-environment security testing, and regular cross-functional review.

“They accomplish this through evaluation of ML models across multiple environments and extensive performance testing to achieve scalability and reliability”article, stated
“Regression testing made sure that optimizations, such as deploying models with TensorRT or vLLM, didn’t negatively impact scalability or user experience.”article, stated

canary-rollout (release)

The team uses small incremental deployments with frequent automated testing to identify issues early and minimize release risk.

“Frequent automated testing for both performance and security is employed through small incremental deployments”article, stated
“allowing for early issue identification while minimizing risks.”article, stated

safety-policy-enforcement (security)

Security requirements are embedded into architecture and CI/CD through vulnerability checks, compliance validation, model integrity checks, encryption, RBAC, and network isolation.

“Automated continuous integration and delivery (CI/CD) pipelines with built-in checks for vulnerabilities, compliance validation, and model integrity”article, stated
“Using AWS services like SageMaker AI that provide enterprise-grade security features such as role-based access control (RBAC) and network isolation”article, stated

observability-tracing (operations)

Production model serving relies on real-time model monitoring, continuous deployment monitoring, and planned granular logging metrics in DJL.

“SageMaker AI provides elastic load balancing, instance scaling, and real-time model monitoring”article, stated
“additional configuration parameters, environment variables, and more granular metrics for logging.”article, stated

Tradeoffs

Use SageMaker AI DLCs as the deployment substrate

Chose pre-built optimized containers with best-practice settings over custom per-model serving environments.

Rationale: DLCs reduce setup overhead, provide optimized frameworks and CUDA settings, and let engineers focus on model-specific optimization.

“DLCs provide optimized library versions, preconfigured CUDA settings, and other performance enhancements that improve inference speeds and efficiency.”article, stated
“This significantly reduces the setup and configuration overhead”article, stated

Tune rolling batch inference through exposed configuration

Chose max_rolling_batch_size and job_queue_size configuration with best-practice defaults over extensive custom batching engineering.

Rationale: The team could balance GPU utilization, throughput, and real-time latency by adjusting exposed DLC parameters.

“SageMaker AI DLCs expose configurations for rolling batch inference with best-practice defaults”article, stated
“By adjusting parameters such as max_rolling_batch_size and job_queue_size, the team was able to fine-tune performance without extensive custom engineering.”article, stated

Use modular container architecture

Chose engine abstraction layer, model store, and workload manager components over one tightly coupled serving container.

Rationale: Modularity lets teams optimize rolling batching or streaming independently without disrupting latency, multi-framework support, or other critical container behavior.

“The SageMaker AI DLC architecture is designed with modular components such as the engine abstraction layer, model store, and workload manager.”article, stated
“without disrupting critical functionality such as latency or multi-framework support.”article, stated

Store serving configuration in git-backed YAML

Chose configuration managed alongside inference code over hardcoded optimizer and hyperparameter settings.

Rationale: Versioned YAML lets teams experiment rapidly and coordinate changes through CI while keeping the underlying inference code stable.

“Configuration management is also part of the CI pipeline. To be precise, configuration is stored in git alongside inference code.”article, stated
“enabled rapid experimentation across optimizers and hyperparameters without altering the underlying code.”article, stated

Gotchas (what bit them)

Serving improvements can break unrelated deployments or model frameworks.

Root cause: The team supports multiple simultaneous projects, so tuning one component can affect latency, scalability, user experience, or multi-framework support elsewhere.

Resolution: Salesforce adopted modular DLC development and regression testing so individual optimizations can be isolated and checked before release.

“they needed to make sure enhancements in each project didn’t compromise others.”article, stated
“This allows project teams to work on individual projects such as performance tuning while allowing others to focus on enabling other functionalities”article, stated

Rapid model deployment can conflict with enterprise trust and security requirements.

Root cause: New models must move quickly, but Salesforce still needs secure hosting, customer-data protection, compliance, and model-integrity validation.

Resolution: Security is embedded throughout development and deployment with secure-by-design architecture, automated checks, encryption, RBAC, network isolation, monitoring, and collaboration with security teams.

“Balancing rapid deployment with high standards of trust and security requires embedding security measures throughout the development and deployment lifecycle.”article, stated
“Rigorous testing of all models is conducted in development environments alongside performance testing”article, stated

Manual configuration slows model-serving experimentation.

Root cause: Optimizer and hyperparameter experiments would otherwise require code changes or bespoke infrastructure work.

Resolution: Configuration is stored in git as YAML next to inference code, enabling fast experimentation without altering the serving code.

“Configuration management is also part of the CI pipeline. To be precise, configuration is stored in git alongside inference code.”article, stated
“Configuration management using simple YAML files enabled rapid experimentation across optimizers and hyperparameters without altering the underlying code.”article, stated

Inference optimization is a moving target as models and hardware change.

Root cause: Salesforce's generative AI needs and the model landscape keep scaling and changing, requiring constant evaluation of optimization techniques and hardware options.

Resolution: The team continues research and development around quantization, tensor parallelism, batching, DJL caching, AWS AI chips, Graviton, FMOps automation, and distributed inference.

“As Salesforce’s generative AI needs scale, and with the ever-changing model landscape, the team continually works to improve their deployment infrastructure”article, stated
“Advanced quantization methods (INT-4, AWQ, FP8)”article, stated

Evaluation

Salesforce evaluates model-serving deployments through performance testing across multiple environments, regression testing for optimizations such as TensorRT and vLLM, development-environment security testing, automated CI/CD checks for vulnerabilities, compliance, and model integrity, and regular cross-functional reviews with development, FMOps, and security teams.

Metrics: throughput · latency · cost-efficiency · scalability and reliability for inferencing on AWS · deployment time reduced by as much as 50% · iteration cycles measured in days or hours instead of weeks · vulnerability, compliance, and model-integrity checks

3 supporting quotes
“They accomplish this through evaluation of ML models across multiple environments and extensive performance testing to achieve scalability and reliability for inferencing on AWS.”article, stated
“Regression testing made sure that optimizations, such as deploying models with TensorRT or vLLM, didn’t negatively impact scalability or user experience.”article, stated
“With SageMaker AI, they reduced their model deployment time by as much as 50%.”article, stated

Outcomes

The framework serves Salesforce enterprise AI across multiple AWS Regions and multiple simultaneous model deployments, covering LLMs, multimodal foundation models, speech recognition, computer vision, and traditional ML models with automated CI/CD, monitoring, scaling, and security controls.

3 supporting quotes
“Though exact metrics vary by use case, the Salesforce AI Model Serving team saw substantial improvements in terms of deployment speed and cost-efficiency”article, stated
“They experienced faster iteration cycles, measured in days or even hours instead of weeks.”article, stated
“With SageMaker AI, they reduced their model deployment time by as much as 50%.”article, stated