Deploying LLMs on AWS Inferentia2 for Clinical Workflows: A Production Journey
From the publisher’s feed, collected in the ZeroLabs newsroom.
TL;DRWe describe the end-to-end journey of deploying quantized large language models and speech recognition on AWS Inferentia2 for an on-premise clinical workflow: Bahasa Indonesia speech-to-text transcription followed by SOAP note generation. Starting from the Qwen3–30B-A3B Mixture-of-Experts model and iterating through Qwen3–14B dense, Gemma3–12B, Qwen3-ASR-1.7B, Qwen3–8B, and Whisper large-v3-turbo, we converged on two inf2.xlarge instances serving Qwen3-8B INT8 at 30 tok/s and Whisper turbo at RTF 0.19×. We document every OOM, kernel panic, undocumented compiler bug, and the memory arithmetic that actually matters — including the 24.7× NEFF-to-HBM expansion, DMA-pinned memory constraints, the counterintuitive tp_degree=1 trap, and the NxD staging buffer regression. The pipeline runs at $1.52/hr (~$1,100/month), keeps patient data on-premise, and serves clinical notes in ~8 seconds end-to-end.1. MotivationWe build medical software. Our EMR system needs a local LLM for clinical note generation and SOAP structuring — work where sending patient data to a third-party API is unacceptable, and where the model must be fast and cheap enough to run around the clock. The target pipeline: a physician dictates in Bahasa Indonesia, the ASR transcribes, and the LLM produces a structured clinical note.The honest pitch for Inferentia2 is not raw performance — it’s memory per dollar:Instance$/hrAccelerator MemoryNotesg4dn.xlarge (T4)~$0.5316 GB GPU VRAM8–12 tok/s for 14B INT4inf2.xlarge (Neuron)~$0.7632 GB Neuron DRAM2 NeuronCoresp3.2xlarge (V100)~$3.0616 GB GPU VRAMOverkill, same memory constraint as T4g5.xlarge (A10G)~$1.0124 GB GPU VRAMCompetitive on latency; 28% higher cost than inf2At 43% higher cost than a T4, the inf2.xlarge gives twice the accelerator memory. An 8B INT8 model (~9 GB) fits with comfortable headroom, leaving room for 32 GB of KV cache and runtime overhead.2. Software StackComponentVersionNeuron SDK2.28 (last SDK with inf2 support)neuronx-cc2.25.3371.0Neuron Runtime2.32.31.0vLLM0.16.0 (AWS Neuron fork)vllm-neuron plugin0.5.1neuronx-distributed (NxD)0.19neuronx-distributed-inference (NxDi)0.10Python3.12OSUbuntu 22.04 Deep Learning AMI Neuron> ⚠️ SDK 2.29+ drops inf2 support. Pin to 2.28 permanently for inf2 fleets.3. The Models We Tried3.1 Qwen3–30B-A3B MoE — Blocked by OOMThe MoE quantized checkpoint was 30.6 GB on disk. The inf2.xlarge has 16 GB CPU RAM — loading 30 GB of tensors through CPU RAM to Neuron DRAM is impossible. The OOM killer fired predictably. Lesson: CPU RAM is the first bottleneck, not Neuron DRAM.Additionally, per_tensor_symmetric quantization is broken for MoE in NxD. The scale tensor is indexed as 3D (self.scale[expert_indices, :, :]) but per-tensor produces a 1D scale. The fix is per_channel_symmetric with manual expert-scale stacking, but the CPU RAM constraint alone blocks MoE on inf2.xlarge. Status: BLOCKED for inf2.xlarge. Requires inf2.8xlarge.3.2 Qwen3–14B Dense — Worked, PivotedQuantized to INT8 (~14 GB), compiled at tp_degree=2, Qwen3-14B loaded successfully on an older AMI (Ubuntu 22.04, pre-regression NxD). Performance was ~18 tok/s. We pivoted because it used both NeuronCores, leaving none for ASR on a single instance, and because the 14B model could not be recompiled on the newer NxD due to the staging buffer regression (see Section 8.4). Status: COMPILED and LOADED on older AMI only. Not deployed on current stack.3.3 Gemma3–12B — Three Config Bugs, Then OOM WallGemma3–12B INT8 compiled cleanly but failed loading with three sequential bugs:neuron_config.json contains extra HuggingFace fields that Gemma3InferenceConfig.__init__ rejects (no **kwargs — unlike Qwen3InferenceConfig). Fix: strip to 2 keys.vllm_neuron's _load_compiled_model discards the pre-built config and reloads from json — losing architecture attrs. Fix: two-line patch to thread config through.Gemma3 nests model params under text_config — validator looks at top level, fails with Missing num_key_value_heads. Fix: flatten config or patch validator.Had we fixed all three, the DMA memory wall (13 GB INT8 checkpoint, tp_degree=1, one process pinning the full 13 GB into 15 GB RAM) would have been next. Status: NOT VIABLE on inf2.xlarge.3.4 Qwen3-ASR-1.7B — NEFF Expansion Kills ItThe encoder NEFF (643 MB on disk) expands to 15.9 GB in Neuron DRAM (24.7×). The decoder (4.0 GB on disk) expands to 15.9 GB. Together they need 31.8 GB — fits in 32 GB total, but the decoder’s 112 MB scratchpad pushes Core 1 to 16.003 GB > 16.000 GB. Fails by ~3 MB. Status: NOT VIABLE on inf2.xlarge. Would work on inf2.8xlarge.3.5 Whisper large-v3-turbo — LIVE ✅The turbo variant uses the full large-v3 encoder (32 layers, 1280 hidden) with a drastically reduced decoder (4 layers, ~25 M params). Compiled encoder-only NEFF at NEURON_RT_NUM_CORES=1 yields ~3.4 GB HBM usage (2.1× expansion vs the 24.7× from 2-core compilation). Decoder runs on CPU via HuggingFace generate() with full KV cache — the 4-layer decoder hits ~50 tok/s on CPU, making the encoder the bottleneck. Status: LIVE on inf2-asr.3.6 Qwen3–8B INT8 TP2 — LIVE ✅The production LLM. 9.4 GB INT8 checkpoint, tp_degree=2 splits DMA pinning to 4.7 GB per process — both fit comfortably in 15 GB physical RAM. On-the-fly vLLM compile takes ~55 minutes on first boot; subsequent boots load cached NEFFs in ~3 minutes. Status: LIVE on inf2-llm at 30 tok/s sustained.ModelStatusWhyQwen3–30B MoE❌CPU RAM OOM (30 GB checkpoint)Qwen3–14B dense⚠️Compiles, blocked by staging buffer regressionGemma3–12B❌3 config bugs + DMA memory wallQwen3-ASR-1.7B❌NEFF expansion to 31.8 GB (3 MB over)Whisper large-v3-turbo✅ LIVEEncoder Neuron + Decoder CPUQwen3–8B INT8 TP2✅ LIVE30 tok/s, max_num_seqs=14. Production Architecture┌─────────────────────────────┐ ┌──────────────────────────────┐│ inf2-llm (i-09722...945b) │ │ inf2-asr (i-0f592...58aa) ││ 100.31.243.211 │ │ 98.82.163.131 ││ │ │ ││ Qwen3-8B INT8 TP2 │ │ Whisper large-v3-turbo ││ Both NeuronCores for LLM │ │ Encoder: Core 0 (~3.4 GB) ││ Port 8000 │ │ Decoder: CPU (4-layer) ││ /v1/chat/completions │ │ Port 8001 /transcribe ││ 30 tok/s, context 2048 │ │ RTF 0.14–0.21× ││ OpenAI-compatible API │ │ Balinese/Indonesian medical │└──────────────┬──────────────┘ └──────────────┬───────────────┘ │ │ └──── HTTP (same VPC) ─────────────┘ from EMR backend2× inf2.xlarge instances, both in us-east-1Total cost: $1.52/hr ≈ $1,100/monthQuota: 8 vCPU cap on Inf instances (L-1945791B). At max with 2× inf2.xlarge.No compile server — artifacts stored on HuggingFace Hub (aqidd/qwen3-8b-int8-inf2, aqidd/whisper-large-v3-turbo-inf2)No third-party API — all audio and text stays on AWSPipeline wall clock (46s audio → SOAP note)StepTimeNotesASR (audio → transcript)6.6 s0.34s encoder (Neuron) + CPU decoder + networkLLM (transcript → SOAP)16.3 s500 tokens at 30.7 tok/sTotal22.9 sEnd-to-end for clinical note generationRTF for ASR alone: 6.6s / 46.2s audio = 0.14× (~7× faster than real-time).5. NxD Patches (Required for INT8 on vLLM 0.16)Three patches are required on every inf2-llm instance. A fourth (scale sharding) was previously applied but must be removed — it conflicts with vLLM's internal weight loader.Patch 1 — trace.py preprocess_checkpoint (~line 641)Keep .scale / .input_scale from deletion during checkpoint key cleanup:keys_to_delete = [key for key in checkpoint.keys() if key not in model.state_dict() and not key.endswith('.scale') and not key.endswith('.input_scale')]Patch 2 — modeling_qwen3.py convert_hf_to_neuron_state_dict (~line 280)Rename o_proj.scale → o_proj.o_proj.scale to match NEFF key paths (QuantizedLinear wrapping adds an extra o_proj nesting level):for i in range(num_layers): for attr in ("scale", "input_scale"): old_key = f"layers.{i}.self_attn.o_proj.{attr}" new_key = f"layers.{i}.self_attn.o_proj.o_proj.{attr}" if old_key in state_dict: state_dict[new_key] = state_dict.pop(old_key)Patch 3 — model_builder.py cast_weights (~line 814)Skip INT8→BF16 cast during weight loading:if checkpoint[parameter_name].dtype == torch.int8: continuePatch 4 (REMOVED)Scale tensor sharding in shard_children conflicts with vLLM's internal weight loader. The loader compiles layout_opt/graph.neff expecting full-rank scales. With this patch active, TP-sharded half-size scales cause output tensor too small errors. Do not apply.6. vLLM Launch Configurationexport NEURON_RT_NUM_CORES=2export NEURON_RT_DBG_NO_MMAP_COMM_BUFF=1export NEURON_COMPILED_ARTIFACTS=/opt/ai-stack/compiled/qwen3-8b-int8-tp2-v6sync && sudo sysctl -w vm.drop_caches=3vllm serve Qwen/Qwen3-8B \ --max-model-len 2048 \ --tensor-parallel-size 2 \ --block-size 8 \ --max-num-seqs 1 \ --no-async-scheduling \ --port 8000 --host 0.0.0.0 \ --additional-config '{"override_neuron_config": { "quantized": true, "quantization_dtype": "int8", "quantization_type": "per_channel_symmetric", "quantized_checkpoints_path": "/opt/ai-stack/compiled/qwen3-8b-int8-tp2/quantized_checkpoints" }}'Critical flags explained--max-num-seqs 1: avoids batch_size=4 block_tables shape mismatch. vLLM-Neuron V1 sends [1, 2048] block_tables but NEFF expects [1, 1]. At max_num_seqs=4, the bug becomes fatal after a few requests. At 1, it fires inconsistently but the server stays alive.--no-async-scheduling: V1's batch queue submits execute_model and sample_tokens as separate futures expecting overlapped GPU streams. On Neuron, they resolve out of order — sample_tokens runs before execute_model caches logits, producing RuntimeError. Not documented anywhere.NEURON_RT_DBG_NO_MMAP_COMM_BUFF=1: bypasses the 14.6 GB staging buffer pre-allocation (Section 8.4).vm.drop_caches=3: evicts checkpoint data from the filesystem page cache before loading, preventing DMA-pinned page cache from consuming the DMA budget.Do NOT waste time on❌ Cross-compile on r5 — neuronx-cc needs actual Neuron hardware to produce NEFFs❌ neuron_parallel_compile on r5 — trial run extracts HLOs but compilation phase never completes❌ neuron_parallel_compile on inf2.xlarge — OOMs during GQA conversion (~30 GB RSS)❌ Standalone NxD model.compile() — produces NEFFs incompatible with vLLM runtime❌ Default --async-scheduling — broken on Neuron V1❌ --max-num-seqs > 1 — block_tables shape mismatch after a few requests❌ Patch 4 (scale tensor sharding) — conflicts with vLLM weight loader7. ASR Configuration (Whisper large-v3-turbo)import os, torch, torch_neuronx, gcfrom transformers import WhisperForConditionalGeneration, WhisperProcessorfrom transformers.modeling_outputs import BaseModelOutputos.environ["NEURON_RT_NUM_CORES"] = "2"# Load encoder NEFF (Core 0)encoder_neff = torch.jit.load("/opt/ai-stack/compiled/whisper-large-v3-turbo/encoder.pt")encoder_neff.eval()# Warmup — critical: first real audio is 2.8s without thisdummy_mel = torch.zeros(1, 128, 3000)with torch.no_grad(): _ = encoder_neff(dummy_mel)gc.collect()# Load decoder on CPUcpu_model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-large-v3-turbo")processor = WhisperProcessor.from_pretrained("openai/whisper-large-v3-turbo")# Inferencedef transcribe(audio_path, language="id"): mel = load_and_pad_mel(audio_path) # always [1, 128, 3000] enc_hs = encoder_neff(mel) # Neuron: 0.34s outputs = cpu_model.generate( encoder_outputs=BaseModelOutput(last_hidden_state=enc_hs.cpu()), language=language, task="transcribe", max_new_tokens=440, ) return processor.tokenizer.decode(outputs[0], skip_special_tokens=True)Why CPU decoder?Whisper’s decoder is a causal transformer — each generated token must attend to all previous tokens. A compiled NEFF at [1, 1] input feeds only the last token, giving the decoder no history. Fixed-shape tracing can't accommodate growing autoregressive sequences without recompilation at every length. The 4-layer turbo decoder (~25 M params) is fast enough on CPU (~50 tok/s) that the encoder remains the bottleneck.Critical gotchasEncoder NEFF compiled with NEURON_RT_NUM_CORES=1 at compile time (no data-parallel replication)NEURON_RT_NUM_CORES=2 at runtime (encoder lands on Core 0, runtime uses Core 1 for the decoder NEFF even though we don't use it)Always pad audio to FIXED 3000 mel frames (static shape requirement)Always warmup with dummy zeros after load8. The Memory Arithmetic That Actually Matters8.1 NEFF file size ≠ Neuron DRAM usageThe single most surprising finding. A 643 MB compiled NEFF occupied 15.9 GB HBM when compiled with NEURON_RT_NUM_CORES=2. The same architecture compiled with NEURON_RT_NUM_CORES=1 used only 3.4 GB. The 24.7× expansion was not a property of the model — it was data-parallel replication. Each core holds a full weight copy when NUM_CORES > 1.NEFF on DiskNUM_CORESHBM UsedExpansion643 MB (Qwen3-ASR enc)215.874 GB24.7×4.0 GB (Qwen3-ASR dec)215.891 GB4.0×1613 MB (Whisper enc)1~3.4 GB2.1×598 MB (Whisper dec)1~1.7 GB2.9×Rule: always check neuron-top, never plan from file sizes.8.2 DMA-pinned memory: swap is useless for weight pagesThe Neuron Runtime calls mlock() on weight pages for DMA transfer. Pinned pages cannot be swapped — ever. From dmesg after an OOM:Out of memory: Killed process 9598 (VLLM::EngineCor)anon-rss:15327284kB, swapents:0swapents:0 means zero pages in swap despite 28 GB available. The OOM killer fired on physical RAM exhaustion of pinned pages.Practical rule: INT8_checkpoint_GB + overhead ≤ physical_RAM. For inf2.xlarge (~15 GB usable), that means checkpoint ≤ ~12 GB. Swap CAN save you from Python/JIT overhead during startup (those pages ARE swappable), but it cannot rescue an undersized RAM situation for DMA-pinned weight pages.8.3 The tp_degree=1 trapA smaller model at lower tp_degree can be harder to load than a larger model at higher tp_degree:ConfigurationINT8 SizePer-process DMA PeakPhysical RAMQwen3–14B INT8, tp_degree=214 GB~7.5 GB15 GB✅Qwen3–8B INT8, tp_degree=29.4 GB~4.7 GB15 GB✅Qwen3–8B INT8, tp_degree=19.4 GB~14.7 GB15 GB❌ OOMGemma3–12B INT8, tp_degree=113 GB~15.5 GB15 GB❌ OOMtp_degree splits the DMA pinning across processes. The 9.4 GB checkpoint at tp_degree=1 is pinned entirely by one process — peak RSS hits 14.7 GB. At tp_degree=2, each process pins only 4.7 GB. The counterintuitive corollary: the 14B model at tp_degree=2 is easier to load than the 8B model at tp_degree=1.8.4 NxD staging buffer regressionOn the Ubuntu 24.04 Deep Learning AMI with NxD 0.10.17970, every model OOM’d at exactly ~14.6 GB RSS — regardless of size or tp_degree:# Qwen3-14B INT8, tp_degree=2anon-rss:15354592kB# Qwen3-8B INT8, tp_degree=2anon-rss:15345352kB# Qwen3-8B INT8, tp_degree=1anon-rss:15359092kBThe hypothesis: NxD pre-allocates a CPU staging buffer proportional to total Neuron DRAM (memory_size=32GB → 16 GB pinned). Combined with 15 GB RAM, there's a 1 GB deficit before any model weights are loaded. The fix: NEURON_RT_DBG_NO_MMAP_COMM_BUFF=1 + Neuron RT 2.32.31.0. This is the single most impactful undocumented change we encountered.8.5 Page cache contamination after rsyncrsync -av of 14 GB checkpoints leaves 14 GB of data in the filesystem page cache. When vLLM loads, those pages get DMA-pinned in-place, consuming the DMA budget. The fix:sync && sudo sysctl -w vm.drop_caches=3Always run this before vLLM start on any instance that has recently pulled artifacts.9. PerformanceQwen3–8B INT8 TP2 (inf2-llm)Prompt tokensOutput tokensWall timetok/s4100.4 s25.0881003.8 s26.2882007.0 s28.74412007.2 s27.78832007.1 s28.3550016.3 s30.6Sustained: 26–30 tok/s. Per-token latency: ~33–38 ms. This matches published Llama2–7B FP16 benchmarks on inf2.xlarge TP2 (22–32 tok/s).Whisper large-v3-turbo (inf2-asr)Audio durationEncoder (Neuron)Decoder (CPU)TotalRTF2.6 s0.34 s0.75 s1.09 s0.42×9.8 s0.34 s1.75 s2.09 s0.21×18.8 s0.34 s3.16 s3.50 s0.19×Encoder: constant 0.34 s (always 3000 mel frames). Decoder: ~20 ms/token on CPU.Theoretical vs. ActualHBM bandwidth: 820 GB/s. With 8 GB INT8 model: bandwidth-bound floor ≈ 9.8 ms/token = 102 tok/s theoretical. We get 33 ms/token. The 23 ms gap: CPU sampling (5–8 ms) + V1 scheduler (3–5 ms) + Neuron RT overhead (3–5 ms) + static shape padding (2–3 ms) + framework wrapping (2 ms).10. CostInstanceRole$/hr$/monthinf2-llmQwen3–8B INT8 TP2 (30 tok/s)$0.76$547inf2-asrWhisper turbo (RTF 0.19×)$0.76$547Total$1.52~$1,100vs. GPU alternatives:g4dn.xlarge (T4): $382/month — but 16 GB VRAM can't fit 8B BF16; INT4 degrades quality for clinical textg5.xlarge (A10G): $724/month single instance — competitive, but would need a second for partial on-premisep3.2xlarge (V100): $2,203/month — same memory constraint as T4For clinical workflows with 200-token notes at ~7 seconds each, this is acceptable latency. Not suitable for real-time chat without batching.11. Known Issues & LimitationsActiveNo concurrency: max_num_seqs=1 forced by V1 block_tables shape mismatch. Requests queue serially.TG block_tables mismatch: fires inconsistently at certain prompt sizes. Server may need periodic restart.Context capped at 2048: seq_len=4096 triggers attention_cte DMA transpose error in neuronx-cc.No ASR+LLM co-location: both NeuronCores needed for Qwen3–8B TP2. ASR runs on separate instance. inf2.8xlarge would solve thisMistral-7B not yet benchmarked: pre-compiled NEFF downloaded but no comparison data.12. Deployment RecipesFresh inf2-llm deployment (70 minutes to live)# 1. Launch inf2.xlarge, Deep Learning AMI Neuron (Ubuntu 22.04)# 2. Add 55 GB swapsudo fallocate -l 55G /swapfile && sudo chmod 600 /swapfilesudo mkswap /swapfile && sudo swapon /swapfileecho '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab# 3. Apply 3 NxD patches (NOT Patch 4)# Path: /opt/aws_neuronx_venv_pytorch_inference_vllm_0_16/lib/python3.12/site-packages/# neuronx_distributed/trace/trace.py:641# neuronx_distributed/trace/model_builder.py:814# neuronx_distributed_inference/models/qwen3/modeling_qwen3.py:280# 4. Pull artifacts from HF (skip 55-min compile on subsequent deploys)huggingface-cli download aqidd/qwen3-8b-int8-inf2 \ --revision vllm-0.16 \ --local-dir /opt/ai-stack/compiled/qwen3-8b-int8-tp2-v6# 5. Systemd servicesudo tee /etc/systemd/system/ai-llm.service [Unit]Description=AI LLM (Qwen3-8B INT8 TP2)After=network.target[Service]Type=simpleUser=ubuntuExecStart=/opt/ai-stack/start-llm.shRestart=on-failureRestartSec=10[Install]WantedBy=multi-user.targetEOFsudo systemctl enable --now ai-llm# 6. First compile: ~55 min. Cache hit restarts: ~3 min.Fresh inf2-asr deployment# 1. Launch inf2.xlarge, Deep Learning AMI Neuron# 2. Add 8 GB swapsudo fallocate -l 8G /swapfile && sudo chmod 600 /swapfilesudo mkswap /swapfile && sudo swapon /swapfile# 3. Pull artifactshuggingface-cli download aqidd/whisper-large-v3-turbo-inf2 \ --local-dir /opt/ai-stack/compiled/whisper-large-v3-turboSystemd servicesFilePurpose/etc/systemd/system/ai-llm.serviceQwen3-8B vLLM serve/etc/systemd/system/ai-asr.serviceWhisper ASR HTTP server/opt/ai-stack/start-llm.shLLM launch with env vars + cache drop/opt/ai-stack/start-asr.shASR launch with sequential NEFF loadKey debug commandssystemctl status ai-llmjournalctl -u ai-llm -fjournalctl -u ai-llm -n 200 | grep -E "ERROR|Missing|ValueError"neuron-top # HBM usage (critical — file size ≠ DRAM)dmesg | grep -i "oom\|killed" # Check for OOM killssync && sudo sysctl -w vm.drop_caches=3 # Before restart13. Key LessonsNEFF file size ≠ Neuron DRAM usage. A 643 MB NEFF can occupy 15.9 GB HBM. Always measure with neuron-top.NEURON_RT_NUM_CORES=N during trace controls data-parallel replication. Compile with N=1 for single-inference workloads to get 2-3× expansion instead of 24×.Swap helps for Python/JIT overhead, not DMA-pinned weight pages. Neuron RT calls mlock() on weight pages — those can never swap. Add swap anyway for the startup intermediates.tp_degree>1 splits CPU RAM pressure, not just Neuron DRAM. A 14B model at tp_degree=2 loads more easily than an 8B model at tp_degree=1.For seq2seq models, trace only the encoder — run the decoder on CPU. A fixed-shape NEFF can’t handle autoregressive causal attention with growing history.The NxD staging buffer regression is the most impactful undocumented change. If every model OOMs at the same RSS regardless of size, suspect runtime pre-allocation, not model size.moE per_tensor_symmetric is silently broken. It compiles and loads, then blows up at inference with tensor indexing errors. Always use per_channel_symmetric for MoE.Async vLLM scheduling is broken on Neuron V1. Always pass --no-async-scheduling. Not documented.Drop page cache before every vLLM start. rsync/huggingface-cli download contaminates page cache, which gets DMA-pinned in-place.Compilation path matters. Only vLLM’s on-the-fly compile produces NEFFs with shapes compatible with vLLM’s runtime. Standalone NxD compile, neuron_parallel_compile, and cross-compile all produce incompatible artifacts.14. What’s Nextinf2.8xlarge upgrade: AWS Support case L-1945791B pending. 32 vCPU required. When approved: consolidate to one instance, LLM on Cores 0–1 (tp_degree=2), ASR encoder on Core 2, CPU decoder shared.On-device sampling: on_device_sampling_config={"top_k":1} saves 5–8 ms/token (~20% throughput gain).Batching: fix the max_num_seqs=4 block_tables mismatch for 80–100 tok/s aggregate throughput across concurrent sequences.Mistral-7B benchmark: compare pre-compiled aws-neuron/Mistral-7B-Instruct-v0.3 against Qwen3-8B.Qwen3–30B MoE re-evaluation: revisit on inf2.8xlargeGemma3–12B: blocked until 3 config bugs fixed and DMA memory wall addressed.KlinikPintar Engineering — June 2026aqidd on HuggingFaceDeploying LLMs on AWS Inferentia2 for Clinical Workflows: A Production Journey was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.