Introducing Reflection Beam: an open-weight model for agentic coding on AWS
https://aws.amazon.com/blogs/machine-learning/introducing-reflection-beam-an-open-weight-model-for-agentic-coding-on-aws/📌 Reflection Beam登陸AWS:501B參數模型兩種部署路徑
TL;DR:Reflection AI的開放權重agentic coding模型Beam已上架AWS SageMaker JumpStart,提供託管端點與HyperPod Kubernetes兩種部署方式。
開放權重的大型agentic coding模型,部署起來往往比下載權重檔麻煩得多。Reflection AI的Beam總參數高達5010億,要真正跑起來需要多GPU、對的checkpoint格式、對的執行環境。AWS這篇文章給出的答案,是兩條明確分流的部署路徑:想要最快上線就用SageMaker JumpStart,想要掌控底層基礎設施就用HyperPod Inference。
🤔 一個模型,三種checkpoint,不同硬體組合
Beam是一個sparse mixture-of-experts模型,專為解決軟體問題、修改程式碼、呼叫工具與處理中間結果而設計,總參數501B,每次推論實際啟用23B參數,Reflection官方宣稱其有效context長度可達100萬tokens。權重透過Hugging Face以Apache 2.0授權釋出,提供BF16、FP8、NVFP4三種checkpoint格式,對應不同的記憶體用量與硬體相容性:
- BF16:權重記憶體需求最大,需規劃多節點配置以湊足總GPU記憶體
- FP8:對應ml.p5.48xlarge(NVIDIA H100)或ml.p5e.48xlarge/ml.p5en.48xlarge(H200)
- NVFP4:對應ml.p6-b200.48xlarge(NVIDIA B200)
目前Beam僅在美國東部(維吉尼亞北部)與美國東部(俄亥俄)兩個區域的SageMaker JumpStart上架。
🧩 兩條部署路徑:全託管 vs. Kubernetes原生控制
JumpStart即時端點(Real-time Endpoint)路徑把模型、容器與端點打包成一套託管部署流程,是從模型目錄到HTTPS端點最短的路徑。官方提供的範例支援一個variant-aware指令,可切換部署BF16、FP8或NVFP4,省略參數時預設使用NVFP4。
當需要Kubernetes原生的分散式GPU基礎設施控制時,則改用SageMaker HyperPod Inference,可選擇AWS託管的JumpStart容器設定,或是自行用SGLang、vLLM部署。這條路徑需要事先準備好EKS編排的HyperPod叢集、HyperPod Inference Operator及相關add-on,以及VPC、子網路、安全群組等網路設定;若要啟用模型快取,還需要本地NVMe容量。HyperPod的Inference Gateway提供OpenAI相容介面,並能在多個副本間路由請求,同時支援分層KV快取與智慧路由。文章附帶的manifest模板(reflection-beam-jumpstart.yaml、reflection-beam-sglang.yaml、reflection-beam-vllm.yaml)皆可在部署前先行檢視內容。
💡 先選部署方式,再談基礎設施
文章給出的判斷準則很清楚:預設先從SageMaker JumpStart開始,除非工作負載需要特定的推論執行環境或設定。JumpStart減少容器整合工作,HyperPod則保留對叢集容量、擴展與可觀測性的控制權。對於需要infrastructure-as-code流程的團隊,HyperPod範例中的JumpStart設定檔正好提供這個切入點;若需要直接掌控serving runtime,則切換到SGLang或vLLM manifest即可,差異只在替換一個設定值。
🎯 實務啟示
對已經在AWS上運作的團隊而言,這篇文章的價值在於把「部署一個5000億參數MoE模型」這件原本高門檻的工程工作,拆成清楚可複製的步驟:先確認checkpoint格式對應的instance type,再決定是要全託管端點還是Kubernetes控制權,最後用官方提供的smoke test驗證端點是否正常回應。測試完成後記得刪除資源,避免持續計費。
🔗 來源
- 標題:Introducing Reflection Beam: an open-weight model for agentic coding on AWS
- 作者/機構:Clement Perrot
- 連結:https://aws.amazon.com/blogs/machine-learning/introducing-reflection-beam-an-open-weight-model-for-agentic-coding-on-aws/
#ReflectionAI #Beam #AWS #SageMaker #HyperPod #OpenWeightModel #AgenticCoding #MixtureOfExperts #vLLM #SGLang
原始資料 AWS ML · 收集於 2026-10-16
摘要原文
Reflection AI introduced Beam, an open-weight model for agentic coding and long-horizon tasks such as maintaining code, using tools, interpreting results, and completing multi-step workflows. The open-weight release gives developers and researchers control over the runtime, deployment environment, and customization process. In this post, we explain Reflection’s vision and show how you can deploy Beam on AWS. Start with an Amazon SageMaker JumpStart real-time endpoint for a fully managed path. When you need Kubernetes-native control over distributed GPU infrastructure, use Amazon SageMaker HyperPod Inference with JumpStart, SGLang, or vLLM. We also explain how Beam’s 501 billion total parameters shape checkpoint storage, weight memory, sharding, and parallelism, while its 23 billion active parameters influence per-token compute. At launch, Beam is available in Amazon SageMaker JumpStart in US East (N. Virginia) and US East (Ohio). Reflection’s mission is to make intelligence open and accessible to all through open model weights, published research, and open source software. Its full AI stack spans models, core software, production infrastructure, and applications. Beam brings this approach to developers building software engineering and agentic systems. Beam is a sparse mixture-of-experts model for resolving software issues, modifying code, calling tools, and acting on intermediate results. It has 501 billion total parameters and 23 billion active parameters, and Reflection reports an effective context length of 1 million tokens. Reflection releases Beam’s weights through Hugging Face under the Apache 2.0 license. Beam 1.0 is available in BF16, FP8, and NVFP4 checkpoint variants. These formats provide different memory footprints and hardware compatibility. You can deploy the model with the AWS managed JumpStart container configuration or inspect and customize the model with SGLang or vLLM in your AWS environment. Choose the serving path that meets your control and scaling requirements. The JumpStart real-time path packages the model, container, and endpoint behind a managed deployment workflow. The HyperPod path exposes the cluster and serving runtime so that you can control distributed execution, caching, routing, and scaling. The following diagram shows the components used by the HyperPod path. Beam can be sourced through SageMaker JumpStart, Hugging Face Hub, or an optional Amazon Simple Storage Service (Amazon S3) mirror. The distributed workers use the AWS managed JumpStart container or a custom SGLang or vLLM runtime. Figure 1: Distributed Beam deployment with Amazon SageMaker HyperPod Inference Beam’s 501 billion total parameters require a multi-GPU deployment. BF16 has the largest weight-memory requirement, so plan a multi-node configuration with enough aggregate GPU memory for the weights and runtime overhead. For FP8, use ml.p5.48xlarge with NVIDIA H100 GPUs or ml.p5e.48xlarge and ml.p5en.48xlarge with H200 GPUs. For NVFP4, use ml.p6-b200.48xlarge with NVIDIA B200 GPUs. Confirm that the released checkpoint, runtime, and parallel layout support the selected instance type. Use a JumpStart real-time endpoint first when you want the shortest path from the model catalog to a managed HTTPS endpoint. The sample supports the BF16, FP8, and NVFP4 model IDs through one variant-aware command. Its README and Python file are the source of truth for supported instance types, request schema, deployment command, and cleanup command. The command deploys the FP8 endpoint, sends a short request, prints the response, and cleans up the endpoint. Use bf16 or nvfp4 to select another checkpoint variant; NVFP4 is the default when you omit --variant . Use the Python functions in the README when you need to keep an endpoint running. Use HyperPod Inference when you need Kubernetes-native control over distributed GPU infrastructure. You can use the AWS managed JumpStart container configuration or deploy Beam with SGLang or vLLM. The HyperPod Inference deployment sample README and its configuration files are the source of truth for released manifests, model and image identifiers, supported runtime versions, and commands. Before you begin, configure kubectl access to an EKS-orchestrated HyperPod cluster with the HyperPod Inference Operator and required add-ons. You also need the cluster virtual private cloud (VPC), subnets, security groups, access to the selected Beam and runtime artifacts, and local NVMe capacity if you enable model caching. Use an isolated Hugging Face access token if the selected repository requires authentication. Deploy a pinned Beam revision from Hugging Face Hub for development and experimentation. For production deployments and model caching, copy the checkpoint to Amazon S3 or Amazon FSx. HyperPod model and image caching can preload weights onto node-local NVMe storage and pre-pull the serving image. The HyperPod Inference Gateway provides an OpenAI-compatible interface and routes requests across replicas. HyperPod Inference also supports managed tiered KV caching and intelligent routing . These are among the Amazon SageMaker Inference capabilities introduced in 2026 . The next diagram expands the model preparation and runtime request flow. When model caching is enabled, the Inference Operator warms eligible nodes with the selected weights and serving image. At runtime, the Inference Gateway and Endpoint Picker can direct each request to a suitable JumpStart-managed, SGLang, or vLLM replica. Figure 2: HyperPod model caching and request routing Use immutable inputs so that you can reproduce deployment and performance results. Start with SageMaker JumpStart unless your workload requires a specific inference runtime or configuration. SageMaker JumpStart reduces container integration work while HyperPod retains control over cluster capacity, scaling, and observability. For an infrastructure-as-code workflow, use the released JumpStart configuration in the HyperPod sample. You can inspect the reflection-beam-jumpstart.yaml manifest template before configuring the deployment. The helper renders and applies the released JumpStartModel resource without writing populated release values to disk. Choose SGLang or vLLM when you need direct control over the serving runtime. Before configuring the deployment, inspect the reflection-beam-sglang.yaml manifest template or the reflection-beam-vllm.yaml manifest template . The sample README remains the source of truth for released values and commands. Replace sglang with vllm to use vLLM. The helper validates the selected settings, applies the rendered manifest without writing release values to disk, waits with a fixed timeout, and prints diagnostics if deployment fails. Invoke JumpStart endpoints with the released model request schema. For SGLang or vLLM, use the bounded smoke test included in the HyperPod sample. Replace sglang with vllm for a vLLM deployment. The helper selects a ready worker, opens a temporary port-forward, checks endpoint health, sends the request, and closes the port-forward. The response resembles the following: For an authenticated Inference Gateway, use the bearer-token procedure in the HyperPod sample README. Keep credentials out of source code, manifests, and command history. Delete resources when you finish testing to avoid ongoing charges. Reflection Beam gives developers an open-weight model designed for agentic coding and multi-step tasks. Start with a SageMaker JumpStart real-time endpoint for a fully managed deployment. Use SageMaker HyperPod Inference with JumpStart when you need Kubernetes-native infrastructure control without managing the serving container, or choose SGLang or vLLM when you need a custom runtime. Use the SageMaker JumpStart deployment sample or the HyperPod Inference deployment sample , then follow the instructions. To learn more about Reflection AI and its vision for open intelligence, visit Reflection AI and read Introducing Beam .
由 claude-code/sonnet 自動生成