Meta’s Muse Spark Open now available in Amazon SageMaker JumpStart
https://aws.amazon.com/blogs/machine-learning/metas-muse-spark-open-now-available-in-amazon-sagemaker-jumpstart/📌 【Meta Muse Spark Open】816B Coding Agent 模型登陸 AWS SageMaker
TL;DR:Meta 的 agentic coding 模型 Muse Spark Open 上架 SageMaker JumpStart,可一鍵部署到自己的 AWS 帳戶。
🎣 一個宣稱擁有 816B 參數的模型,推論時卻只動用其中 42B,聽起來像是數字遊戲。但當它同時能吃下 1M tokens 的上下文、讀懂整個 repo 的相依關係與歷史程式碼時,問題就不再是參數量夠不夠大,而是:這麼大的模型,要怎麼部署才划算?
🤔 為 debugging 與 refactor 而生的模型
Meta 將 Muse Spark Open 定位為 coding-optimized 的 agentic 模型,訓練素材取自真實的開發者工作流程:多檔案 refactor、長時間 debugging,以及需要跨越整個專案脈絡才能完成的任務。有了 1M tokens 的 context window,使用者不必再把一個任務拆成好幾段餵給模型,整個專案(包含相依套件與歷史程式碼)都能一次放進去。
🧩 MoE 架構與兩種部署規格
Muse Spark Open 採用 mixture-of-experts(MoE)架構,總參數量 816B,每個 token 僅啟動其中 42B,因此它擁有大型網路的容量,但單 token 的運算成本接近小得多的 dense 模型。這是一個 reasoning 模型,輸入支援文字、圖片、文件、音訊與影音,輸出為文字;SageMaker JumpStart 提供兩個變體:
| 變體 | 權重格式 | 部署機型 |
|---|---|---|
| Muse-Spark-Open-816B-A42B | BF16 | ml.p6-b300.48xlarge |
| Muse-Spark-Open-816B-A42B-NVFP4 | NVIDIA 4-bit 浮點量化 | ml.p5e.48xlarge |
由於 sparse activation 省下的是運算量,而不是記憶體,伺服端仍必須有足夠的 GPU 記憶體放下全部 816B 參數;NVFP4 量化後的權重大小約為 BF16 的四分之一,因此成為評估成本時該優先嘗試的版本。Meta 以 Muse Model License(內含 Muse Spark Usage Policy)釋出權重,模型屬於 gated model,部署前須同意 EULA。
📊 部署流程:從 Studio 點擊到一次推論
透過 SageMaker Studio 的模型詳情頁,或是 SageMaker Python SDK(設定 accept_eula=True),都能把模型部署成你 AWS 帳戶內的即時 endpoint,整個佈建與載入權重的過程約需 15–20 分鐘。Endpoint 接受 OpenAI 相容的 chat payload,回應中的 message.content 是最終答案,message.reasoning_content 則是模型的推理過程,usage.reasoning_tokens 會回報推理耗用的 token 數;由於這是 reasoning 模型,呼叫時要替 max_tokens 留出推理與最終回答的空間。Endpoint 也支援串流,在 request body 加上 “stream”: true 並呼叫 invoke_with_response_stream 即可。
💡 把模型留在自己的 VPC 裡
因為模型跑在使用者自己帳戶的 endpoint 上,原始碼與 prompt 的處理可以綁定自己設定的 VPC,用 KMS 金鑰加密儲存磁碟,並開啟容器的網路隔離;版本也能鎖定,模型只有在重新部署時才會改變行為。對需要把程式碼與內部資料留在自己基礎設施內的團隊,這種「開放權重+自管 endpoint」的組合,比呼叫第三方 API 多了一層可控性。
⚠️ 別忘了關掉 endpoint
承載 Muse Spark Open 的都是多 GPU 大型機型,計費方式是按 endpoint 執行時間,不論有沒有在處理請求都會持續計費,用完務必刪除 endpoint、模型與 endpoint configuration。
🎯 實務啟示
這篇文章本身是部署教學而非模型研究,Meta 才是模型的訓練方,AWS 提供的是即插即用的託管層。真正要判斷值不值得用,仍得拿自己的 repo 去跑過 BF16 與 NVFP4 兩個版本,比較品質與成本後再決定要用哪個機型上生產。
🔗 來源
- 標題:Meta’s Muse Spark Open now available in Amazon SageMaker JumpStart
- 作者/機構:Aris Tsakpinis(AWS ML Blog)
- 連結:https://aws.amazon.com/blogs/machine-learning/metas-muse-spark-open-now-available-in-amazon-sagemaker-jumpstart/
#MuseSparkOpen #Meta #AmazonSageMaker #MoE #CodingAgent #OpenWeightModels #LLMDeployment #AgenticAI #NVFP4 #AWS
原始資料 AWS ML · 收集於 2026-10-15
摘要原文
Muse Spark Open, Meta’s coding-optimized open-weight model, is now available in Amazon SageMaker JumpStart , the machine learning (ML) hub of Amazon SageMaker AI . The model was trained on real developer workflows, such as multi-file refactors and long debugging sessions, and it supports a context window of 1 million tokens. You can deploy it to a SageMaker AI endpoint in your own AWS account in a few steps, without managing the serving infrastructure yourself. SageMaker JumpStart offers two variants: BF16 ( Muse-Spark-Open-816B-A42B ) and NVFP4 quantized ( Muse-Spark-Open-816B-A42B-NVFP4 ). In this post, we introduce Muse Spark Open and show you how to deploy the model with Amazon SageMaker Studio and the SageMaker Python SDK , send it a first inference request, and clean up. Meta describes Muse Spark Open as a coding-optimized model trained for agentic coding workflows, with a focus on first-attempt accuracy, tool calling, and understanding of large codebases. It’s a reasoning model, and it accepts text, images, documents, audio, and audio-video as input and returns text. Muse Spark Open uses a mixture-of-experts (MoE) architecture with 816 billion total parameters, of which 42 billion are active for each token. The model holds the capacity of a very large network, while the compute it spends on each token is closer to that of a much smaller dense model. Meta releases the weights under the Muse Model License, which includes the Muse Spark Usage Policy. The following table summarizes the model. Meta trained Muse Spark Open on the way developers work in real repositories: code generation, debugging, multi-file refactors, and tasks that run for a long time. With the 1 million-token context window, the model can take in a whole project, including its dependencies, legacy code, and thousands of files. You don’t need to split a task into smaller pieces to fit the context. Meta also designed Muse Spark Open as an agentic model from the start. Meta says the model plans, acts, observes the result, and corrects itself over long horizons, rather than making single tool calls. As a reasoning model, it works through a task before it acts, and the SageMaker AI endpoint returns that reasoning alongside the answer, so you can follow what an agent is doing and why. Meta trained the model to browse the web, coordinate subagents for work that can be split up, and operate computers across desktop, mobile, and browser environments. These are capabilities of the model. On SageMaker AI, your application or agent framework provides the tools, browser, and computer-use environment that the model calls. Beyond code, Meta reports that Muse Spark Open reasons across images, documents, audio, and video. Two properties of the model shape how you serve it. First, sparse activation keeps per-token compute low, but serving still requires enough GPU memory to hold all 816 billion parameters, so the instance choice comes down to memory capacity. Second, the NVFP4 variant stores weights in NVIDIA’s 4-bit floating point format, which needs roughly a quarter of the memory of the BF16 weights. On SageMaker AI, that difference decides the instance: the NVFP4 variant runs on ml.p5e.48xlarge , and the BF16 variant runs on ml.p6-b300.48xlarge . That makes NVFP4 the variant to try first when you size for cost. Evaluate it on your own workloads to confirm the quality fits your use case. With open weights on SageMaker AI, you also control the deployment. The endpoint runs in your AWS account, so your source code and prompts are processed on infrastructure that you configure and control. You can attach the endpoint to your own Amazon Virtual Private Cloud (Amazon VPC) , encrypt its storage volume with a key from AWS Key Management Service (AWS KMS) , and turn on network isolation for the container. You also choose the instance type and scaling limits, and you pin the model version, so the model only changes when you redeploy. You can use Muse Spark Open for a wide range of applications. Meta’s focus on coding and agentic workflows suits it to the following use cases: You can deploy Muse Spark Open from SageMaker Studio or with the SageMaker Python SDK. Each path creates a real-time SageMaker AI endpoint in your account. Before you start, make sure that you have the following: The instances that host Muse Spark Open are multi-GPU instances, and you pay for an endpoint for as long as it runs, whether or not it serves requests. Delete the endpoint when you finish, as described in the clean-up section of this post. For rates, refer to Amazon SageMaker AI pricing . The SageMaker Studio path suits a first evaluation: you find the model, review its license, and deploy it from one model detail card. To find Muse Spark Open in SageMaker JumpStart Figure 1 shows the model detail card, which lists the model description, license, and the Deploy option. Figure 1: The Muse Spark Open model detail card in SageMaker JumpStart Figure 2 shows the deployment settings for the NVFP4 variant. Figure 2: Deployment settings for Muse Spark Open Deployment typically takes 15–20 minutes while SageMaker AI provisions the instance and loads the weights. When the endpoint status changes to InService , the endpoint is ready for requests, as shown in Figure 3. Figure 3: The Muse Spark Open endpoint in service SageMaker JumpStart identifies each variant by a model ID: The following code deploys the NVFP4 variant with SageMaker Python SDK v3. You can run it in a SageMaker Studio notebook, which uses your domain’s execution role. In any other Python environment with AWS credentials, pass your SageMaker AI execution role with the role_arn parameter. Muse Spark Open is a gated model, so you must set accept_eula=True to deploy it. To pin a specific model version, add model_version to JumpStartConfig . When the endpoint is in service, send it a request with the invoke method. The endpoint accepts an OpenAI-compatible chat payload with a messages list and returns a chat completion. The final answer is in message.content , the model’s reasoning is in message.reasoning_content , and usage.reasoning_tokens reports how many tokens the reasoning used. Because Muse Spark Open is a reasoning model, leave enough room in max_tokens for its reasoning and the final answer. The endpoint also supports streaming. To receive tokens as they’re generated, add "stream": true to the request body and call endpoint.invoke_with_response_stream instead of invoke . To stop incurring charges, delete the endpoint when you no longer need it. If you deployed with the SDK, delete the model, the endpoint, and the endpoint configuration: If you deployed from SageMaker Studio, delete the endpoint in the SageMaker AI console: choose Inference , then Endpoints , select the endpoint, and choose Actions , Delete . In this post, we showed how to deploy Muse Spark Open, Meta’s coding-optimized open-weight model, from SageMaker JumpStart to an endpoint in your own AWS account. You used SageMaker Studio or the SageMaker Python SDK and sent the model a first inference request. Benchmark both variants on your own repositories before you choose an instance for production. To get started, search for Muse Spark Open in SageMaker JumpStart in SageMaker Studio. For more deployment options, such as inference components and optimized deployment configurations, refer to JumpStart foundation model usage in the Amazon SageMaker AI Developer Guide. Before you deploy, review the Muse Model License, which SageMaker JumpStart shows when you deploy the model. For help planning a production deployment, contact AWS .
由 claude-code/sonnet 自動生成