Foundry 管理コンピューティング上の Hugging Face モデル
Hugging Face は、企業向けデータプラットフォームである Foundry の管理コンピューティング環境上で直接モデルを実行・デプロイできる機能を発表した。
キーポイント
Foundry との統合発表
Hugging Face が、既存の企業向けデータ基盤「Foundry」にネイティブな計算リソースを提供し、モデル実行環境を拡張したことを発表した。
管理コンピューティング環境の実現
ユーザーは Foundry 上で Hugging Face のモデルを直接デプロイ・実行でき、インフラの複雑さを削減して迅速な展開が可能となる。
企業利用における効率化
データガバナンスとセキュリティを維持したまま、AI モデルの開発から運用までのワークフローを一元化し、実用化の障壁を下げる。
重要な引用
Hugging Face が Foundry の管理コンピューティング環境上でモデルを実行・デプロイできる機能を発表した
Foundry のデータプラットフォーム上で直接実行可能
影響分析・編集コメントを表示
影響分析
この発表は、Hugging Face が単なるモデルハブから、企業インフラに深く統合されるプラットフォームへと進化することを示しています。特にデータガバナンスが厳格な大企業において、AI モデルの実用化(MLOps)におけるボトルネックを解消し、導入スピードを加速させる重要な転換点となります。
編集コメント
Hugging Face の戦略が、オープンソースモデルの提供から、企業インフラとの密接な統合へとシフトしていることを示す明確な信号です。特にデータガバナンスを重視する大企業の AI 導入において、実用性の面で大きな追い風となるでしょう。
Microsoft Build 2026 で、Foundry Managed Compute と Foundry 上の Hugging Face モデルを発表しました。これは、Hugging Face エコシステムからのオープンウェイトモデルを厳選したカタログで、毎週更新され、ワンクリックで Foundry Managed Compute にデプロイ可能です。重み(weights)は Azure で事前ステージングされており、ランタイムは Microsoft によって構築・スキャンされています。コレクション内のすべてのモデルには、Foundry 上の他のすべてのモデルに適用されるのと同じエンタープライズセキュリティ、ガバナンス、観測性、および課金機能が備わっています。
プラットフォーム:Microsoft Foundry と Managed Compute
Microsoft Foundry は、エージェント型 AI アプリケーションを構築・運用するためのプラットフォームです。Foundry では、あらゆるクラウド上で最も広範なモデル選択が可能で、Microsoft、OpenAI、Anthropic、Meta、Mistral、DeepSeek、Hugging Face などからのモデルを提供しています。これらはフロンティアモデル、オープンソースモデル、カスタム重み(custom weights)にまたがり、Python、C#、JavaScript、Java 用の単一のエンドポイントと SDK セットを通じてすべてアクセスできます。
これらのモデルの上に位置するのが、Foundry Agent Serviceです。これは、組み込みメモリを備えたマルチエージェントのオーケストレーション、Foundry IQ を通じた知識の根拠付け、そしてエージェンティック・プロトコルを介して接続可能なツールのカタログを提供し、エージェントが企業データと連携して作業できるようにします。一度エージェントが稼働すると、Foundry はエンドツーエンドのトレーシング、リアルタイムモニタリング、継続的な評価、および評価結果に基づいてエージェントの動作を改善するプロンプト最適化機能を提供します。これらはプラットフォームの一部である観測性と品質ループです。
それに加えて、開発者は以下へのアクセスを得られます:
- コンテンツセーフティフィルター
- タスク準拠ガードレール
- 敵対的テスト用の AI レッドチームエージェント
- 統合 RBAC(ロールベースのアクセス制御)
- プライベートネットワーク
- プラットフォーム内での直接 Azure ポリシー統合
トークン課金(開始への摩擦が最も少ないパス)とプロビジョニング済みスループット(最先端モデルにおける予測可能で高パフォーマンスな生産ワークロード)に加えて、Foundry Managed Computeは Foundry における3番目のデプロイオプションです。これはオープンソースおよびカスタムモデル向けの管理型 GPU プラットフォーム・アズ・ア・サービスです。
ワークロードにとって重要な要素(パラメータ数、コンテキスト長、レイテンシ最適化かスループット最適化のどちらを望むか)で記述されたモデルインスタンスを展開すると、Foundry がその下の GPU トポロジを処理します。インスタンスが1つのアクセラレータに配置されるのか、複数のアクセラレータにまたがるのかに関わらず、ユーザーはモデルの観点から思考し計画することができます。
Microsoft は機械の管理を担当します。サポート対象のランタイム(vLLM, SGLang, TensorRT-LLM, NIM, TEI, llama.cpp)において、コンテナの更新、ランタイムのアップグレード、セキュリティパッチはモデルを再デプロイすることなく自動的に実行されます。一方、モデルの設定、デプロイ動作、ルーティングはユーザーが管理します。
この一貫性は開発者向けインターフェースにも引き継がれます。トークン課金、プロビジョニング済みスループット、Managed Compute(管理型コンピューティング)において以下の共通点があります:
- 単一のエンドポイント
- 同じ SDK
- 同じ認証方式
- 同じ観測性(オバザビリティ)機能
- 一つの請求書
オープンソースモデルは、最先端モデルと同様に Foundry Agents と統合されるため、別個の統合経路を設けることなく、単一のエージェント内で異なる種類のモデルを混在させることが可能です。
Managed Compute は以下の機能を提供します:
- グローバル展開 — 最も広範な容量と最良の価格設定
- Data Zone(データゾーン)展開 — データの所在地保持と主権確保
同じコード、同じワークフロー。クォータはアクセラレータファミリーに整合しており、今日 H100 ファミリーに基づいて構築されたプランは、新しいハードウェア世代がオンライン化されてもそのまま引き継がれます。
なぜ Hugging Face か
Hugging Face はオープン AI の公共広場です。1500 万人のビルダー、40 万組織、300 万以上の公開モデルがあり、週ごとに新しい最先端機能(エージェントによるコーディング、ビデオセグメンテーション、音声処理、埋め込みベクトル生成など)が追加されています。これはオープンモデルのための GitHub であり、コミュニティが重み付けを公開し、モデルカードを作成し、評価を比較し、実験のためにモデルを取得する場所です。
オープンモデルは、ベンチマークを次々と通過する中でプロプライエタリモデルとの差を縮め、プロプライエタリエンドポイントでは実現できないことを可能にしています:
- 最先端技術がオープン化されています。主要なオープンウェイトモデルは、最も広く使用されているベンチマークにおいて、トップクラスのプロプライエタリフロンティアモデルと互角の性能を示します。
- 深いカスタマイズ性。フルウェイトを入手可能にすることで、ファインチューニング、知識蒸留、量子化、LoRA による適応が可能となり、ドメインやデータ、レイテンシおよびコスト目標に合わせてモデルを最適化できます。
- モデルとホスティングはあなた次第です。ウェイトは、あなたが管理するインフラストラクチャ上のテナント内で実行され、あなたの推論エンドポイントの背後、あなたのアイデンティティおよびネットワーク境界線内に配置されます。
- コストの最適化。アクセラレータを時間単位で課金し、アイドル時にはゼロまでスケールし、特定のモデルに合わせた適切なサイズの GPU を使用できます。これは、トークン単価が予測しにくい定常的・高ボリュームまたはレイテンシ敏感なワークロードにおいて特に有用です。
- バージョン管理。特定のモデルバージョンを固定し、評価し、デプロイし、自社のリリースサイクルに従って進めるかロールバックするかを選択できます。
しかし、常に課題となってきたのは運用層です:発見、ライセンスレビュー、セキュリティスクリーニング、ランタイムの選択、GPU サイズの決定、イメージ構築、CVE パッチ適用、そしてエンタープライズグレードのエンドポイント背後でのモデル起動。Hugging Face 単体では、エンタープライズ向けサービスプラットフォームではありません。Foundry 上の Hugging Face モデルは、その運用層であり、Microsoft が運営しています。
Foundry 上の Hugging Face モデル
Hugging Face コレクションにより、厳選されたモデルの一部が直接 Foundry Model Catalog に導入されます:
- 毎週更新され、コミュニティによって公開されるたびに Hugging Face エコシステムからのトレンドモデルが継続的に追加されます。
- すべてのモダリティに対応:チャットやエージェント向けの LLM および VLM、音声認識 (ASR) と音声翻訳、埋め込みベクトル、セグメンテーション、画像生成など。
- Safetensors のみ、信頼できないコードは排除:コレクション内のすべてのモデルはセキュリティ審査を経ており、SafeTensors 形式で提供されます。厳格なレビューを経ない限り、trust_remote_code による実行パスは存在しません。
- モデルに最適なランタイム:LLM には vLLM と SGLang、TensorRT-LLM と NIM(適用可能な場合)、埋め込みには TEI、CPU 向けには llama.cpp — Foundry がモデルに最適なエンジンを選択します。
利用者側から見ると、Hugging Face コレクション内のオープンウェイトモデルは、Foundry モデルカタログ内の他のどのモデルと同様に表示され動作しますが、コレクション内のすべてのモデルは、そこに表示される前に多段階の公開パイプラインを通過しています。
選別パイプライン
Hugging Face と Microsoft は、体系的な選別プロセスを通じて、Hugging Face エコシステムから最も人気のあるオープンウェイトモデルを Microsoft Foundry に提供し、企業環境で即座に運用可能な状態にします:
- Hugging Face エコシステム内のトレンドモデルを特定 — コミュニティからのシグナル、パートナーからの要望、顧客の需要に基づき、企業での利用に適した候補を選定。
- コンプライアンスとセキュリティのスクリーニング — モデルライセンスは Microsoft のエンタープライズ配布ポリシー(カタログモデルカードにライセンスメタデータを捕捉・保存)に対してレビューされ、リポジトリは trust_remote_code パターンやカスタム実行可能コードについて検査されます。ロード時にサードパーティ製 Python を実行する必要があるモデルは、いずれも是正措置が講じられるか除外されます。
- ランタイムの構築、スキャン、公開 — Microsoft はサポート対象のランタイム(vLLM, SGLang, TensorRT-LLM, NIM, TEI, llama.cpp)上で推論コンテナイメージを構築し、CVE についてスキャンした上で署名し、Microsoft が管理するコンテナレジストリに公開します。
- 重み値の安全な Azure ストレージへのアップロード — モデル重み値は Hugging Face から一度だけ取得され、公開されたモデルカードに対して検証された後、モデルが提供されるリージョンにある Microsoft が管理する Azure ストレージに保存されます。
- カタログへの検証と公開 — すべてのモデル+ランタイム+アクセラレーターの組み合わせについて、API 適合性(チャット完了、埋め込み、再ランク付けなど)およびパフォーマンス(レイテンシ、スループット、初回トークンまでの時間、トークン間デコード時間)がテストされ、その後、検証済みのモデル(そのテンプレート、ランタイムイメージ、重み値を含む)は、Managed Compute 上へのワンクリック展開パス付きで Foundry Model Catalog に公開されます。
重みは Azure ストレージに事前に配置され、ランタイムイメージは Microsoft が管理するレジストリ内に存在するため、Hugging Face Hub へのアウトバウンドネットワークアクセスは不要です。つまり、プライベートネットワーク内で本番環境へデプロイすることができます。
Model Runtimes
Foundry 上の Hugging Face モデルは、コミュニティによって構築された多様なオープンソース推論ランタイム群によって駆動されています。各ランタイムは Foundry Managed Compute に最適化・調整され、対応するモデルアーキテクチャに最も適したものが選択されています。すべてのランタイムにおいて、体系的なキュレーションプロセスにより、新バージョンやパッチが迅速に Foundry へ反映され、既存のモデルデプロイも再デプロイを必要とせずに自動的にアップグレードされます。
- vLLM — オープン大規模言語モデル向けのデフォルト高スループットサービングエンジンで、本番 GPU ワークロード向けに調整されています。Hugging Face は vLLM の直接コントリビューターであるため、Transformers ライブラリの任意のモデルをカスタム統合を待たずにそのまま vLLM で実行できます。したがって、新しいモデルが Hugging Face に登場したその日に Foundry でもサービングが可能となります。
- SGLang — 言語モデルおよびマルチモーダルモデル向けのサービングエンジンで、エージェント型やツール使用ワークロードに不可欠な構造化出力(JSON、正規表現、文法制約付き生成)を強力にサポートしています。Hugging Face と SGLang チームは SGLang のための Transformers バックエンド統合を構築しており、Transformers ライブラリの任意のモデルをカスタム統合を待たずにそのまま SGLang で実行できます。これにより、モデルが Hugging Face に登場したその日に Foundry へ到達します。
- Text Embeddings Inference (TEI) — エンベディング、reranker(再ランク付け)、およびシーケンス分類モデルのためのランタイム。アクセラレーター固有のイメージには、Foundry がサポートする各 GPU および CPU ファミリー用にコンパイルされたカーネルが含まれており、RAG やセマンティック検索ワークロードにおけるエンベディングのホットパスを軽量に保ちます。
- llama.cpp — GGUF 量子化モデル向けの CPU および小規模 GPU パス。コスト最適化されたデプロイメント、小規模モデル、および CPU のみのリージョンに適しており、vLLM や SGLang と同じ OpenAI 互換 API を提供します。
- TensorRT-LLM and NIM — NVIDIA の最適化カーネルと Triton ベースのサービングにより、特定のモデルファミリーにおいて遅延やスループットが有意に向上する NVIDIA ハードウェアで使用されます。
- hf-serve — Hugging Face 独自のマルチモデル推論サーバー。LLM やエンベディングの高速パス以外のモデルアーキテクチャ(ビジョン、オーディオ、セグメンテーション、その他の Transformers ネイティブパイプライン)で使用され、コレクションがすべてのモダリティを一貫したサービングレイヤーでカバーできるようにします。
オープンウェイトモデルのデプロイとスコアリング
Foundry Model Catalog 内の Hugging Face Collection がスタート地点となり、デプロイメントは以下の 5 つの手順で行われます:
- カタログを閲覧してモデルを選択 — デプロイウィザードでは、SDK や REST を介してスクリプトでデプロイする必要がある場合に必要な model id(モデル ID)、deployment template id(デプロイテンプレート ID)、および acceleratorType(アクセラレータータイプ)も表示されます。
- デプロイメントテンプレートを選択 — 遅延最適化またはスループット最適化、アクセラレーターファミリー、コンテキスト長、量子化方式などから選定します。
- インスタンス数を設定 — モデルインスタンスを追加してスループットをスケールさせます。
- ポータル、CLI、SDK、または REST API を介してデプロイします。
- すでに使用している SDK で統一された Foundry エンドポイント経由でスコアリングを行います。
デプロイメントテンプレート
デプロイメントテンプレートはステップ 2 における選択単位です。これは、ランタイム、アクセラレータファミリーとその数、コンテキスト長、モデルを効果的に提供するために必要なランタイム固有のチューニングを固定する、名前付きかつバージョン管理されたアセットです。つまり、「このモデルをどのように実行させたいか」を決める唯一の調整項目がテンプレートを選択することになります。
例えば qwen3-32b には、デプロイウィザードで並列に表示される 4 つのテンプレートが付属しています:
テンプレート
ランタイム
アクセラレータ
コンテキスト
qwen–qwen3-32b–40k-nvidia-a100
vLLM
1 × A100 80 GB
40K
qwen–qwen3-32b–40k-nvidia-h100
vLLM
1 × H100 80 GB
40K
qwen–qwen3-32b–128k-nvidia-2xa100
vLLM
2 × A100 80 GB
128K
qwen–qwen3-32b–128k-nvidia-2xh100
vLLM
2 × H100 80 GB
128K
各テンプレートはモデル用に事前チューニング済みで、ランタイム設定、ツール呼び出しおよび推論パーサー、スコアリングパス、ヘルスプローブ、リクエストの並行処理数、およびモデル固有のコンテキスト拡張設定などはすべて Microsoft によって設定されています。また、トレードオフについてはテンプレートの説明内にインラインで明記されます。デプロイをスクリプト化する際はテンプレートを参照するだけでよく、Foundry が残りの処理を担当します。
デプロイ — Python SDK
from azure.identity import DefaultAzureCredential
from azure.mgmt.cognitiveservices import CognitiveServicesManagementClient
client = CognitiveServicesManagementClient(DefaultAzureCredential(), SUBSCRIPTION_ID)
deployment = client.managed_compute_deployments.begin_create_or_update(
resource_group_name=RESOURCE_GROUP,
account_name=ACCOUNT_NAME,
deployment_name="qwen3-32b",
resource={
"sku": {"name": "GlobalManagedCompute", "capacity": 1},
"properties": {
"model": "azureml://registries/azure-huggingface/models/qwen--qwen3-32b/versions/1",
"deploymentTemplate": "azureml://registries/azure-huggingface/deploymenttemplates/qwen--qwen3-32b--40k-nvidia-h100/labels/latest",
"acceleratorType": "H100_80GB",
},
},
).result()
Score — OpenAI SDK
デプロイメントは、統合された Foundry エンドポイントを通じて OpenAI SDK でアクセス可能です。この場合、model フィールドには先ほど作成したデプロイメント名を指定します:
from openai import OpenAI
api_key = client.accounts.list_keys(RESOURCE_GROUP, ACCOUNT_NAME).key1
endpoint = f"https://{ACCOUNT_NAME}.services.ai.azure.com/openai/v1"
openai_client = OpenAI(base_url=endpoint, api_key=api_key)
completion = openai_client.chat.completions.create(
model=deployment.name,
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(completion.choices[0].message)
Use It in an Agent
コレクションから取得したチャット完了モデルは、Foundry Agents において管理者接続モデルとしてスロットされ、Foundry Responses API を介して同じ OpenAI SDK で呼び出すことができます。認証、エンドポイント、観測性(オバザビリティ)もすべて共通です。
What's Available Today
プレビュー版として利用可能: Microsoft Foundry Model Catalog に Hugging Face コレクションが登場しました。あらゆるモダリティにわたる数千のモデルが毎週更新され、グローバルおよびデータゾーンのスコープで NVIDIA A100、NVIDIA H100、または AMD MI300X アクセラレータを備えた Foundry Managed Compute へデプロイ可能です。統一された Foundry エンドポイント(Playground サポート付き)の背後にあり、Azure Monitor のファーストクラスメトリクス、各デプロイメントごとの課金タグ、そして自動的に適用される厳選されたランタイムアップグレードと CVE パッチ管理を備えています。
プレビューへの参加登録: forms.cloud.microsoft/r/8Jnx1LALLA
ロードマップ上: Hugging Face エコシステムのより広範なカバレッジ、追加のアクセラレータファミリの提供、そしてコレクションモデルと同じテンプレートとガバナンスを通じてデプロイされるファインチューニング済みおよび独自変種のための「Bring Your Own Weights(自作ウェイト)」機能の実装。
Hugging Face は、オープンソースモデルの公開と発見の場です。一方、Microsoft Foundry は、企業がそれらを運用する場所です — Azure にホストされる厳選され、ライセンスおよびセキュリティ審査済みの重み付けデータを用い、コミュニティが構築し CVE スキャン済みであるランタイム上で、エンタープライズアイデンティティ、ネットワーク、観測性、エージェント統合を備えた単一のエンドポイントの背後で運用されます。オープンソースエコシステムの広範な範囲と、その下に Microsoft が提供する運用層です。Foundry Managed Compute に関する詳細(価格設定、アクセラレーター SKU、データ所在地、エンタープライズ対応状況、観測性、および完全な Responses API とメモリパターン)については、Managed Compute 発表ブログをご覧ください。
原文を表示
At Microsoft Build 2026, we announced Foundry Managed Compute and Hugging Face models on Foundry — a curated catalog of open-weight models from the Hugging Face ecosystem, refreshed weekly, deployable in one click onto Foundry Managed Compute. Weights are pre-staged in Azure, runtimes are built and scanned by Microsoft, and every model in the Collection ships with the same enterprise security, governance, observability, and billing that applies to every other model on Foundry.
The Platform: Microsoft Foundry and Managed Compute
Microsoft Foundry is a platform for building and operating agentic AI applications. Foundry starts with the widest model selection on any cloud — models from Microsoft, OpenAI, Anthropic, Meta, Mistral, DeepSeek, Hugging Face, and others, spanning frontier, open-source, and custom weights — all accessible through a single endpoint and a single set of SDKs in Python, C#, JavaScript, and Java.
On top of those models sits the Foundry Agent Service: multi-agent orchestration with built-in memory, knowledge grounding through Foundry IQ, and a catalog of connectable tools via agentic protocols, so agents can work with enterprise data. Once agents are running, Foundry provides end-to-end tracing, real-time monitoring, continuous evaluations, and a prompt optimizer that improves agent behavior based on eval results — observability and quality loops that are part of the platform.
Alongside that, developers get access to:
- Content safety filters
- Task-adherence guardrails
- An AI Red Teaming Agent for adversarial testing
- Unified RBAC
- Private networking
- Azure Policy integration directly within the platform
Alongside pay-per-token (lowest-friction path to get started) and provisioned throughput (predictable, high-performance production workloads on frontier models), Foundry Managed Compute is the third deployment option in Foundry: a managed GPU platform-as-a-service for open-source and custom models.
You deploy a model instance described by the things that matter to your workload — parameter count, context length, and whether you want to optimize for latency or throughput — and Foundry handles the GPU topology underneath, whether the instance lands on one accelerator or several, so you think and plan in model terms.
Microsoft takes care of the machine: container updates, runtime upgrades, and security patches happen automatically on the supported runtimes — vLLM, SGLang, TensorRT-LLM, NIM, TEI, llama.cpp — without redeploying your model, while model configuration, deployment behavior, and routing stay with you.
That consistency carries through the developer surface — pay-per-token, provisioned throughput, and Managed Compute share:
- A single endpoint
- The same SDKs
- The same authentication
- The same observability
- A single bill
Open-source models integrate with Foundry Agents the same way frontier models do, so you can mix model types in a single agent without a separate integration path.
Managed Compute offers:
- Global deployments — broadest capacity and best pricing
- Data Zone deployments — residency and sovereignty
Same code, same workflow. Quota is aligned to accelerator families, so a plan built on the H100 family today carries forward as new hardware generations come online.
Why Hugging Face
Hugging Face is the public square of open AI: 15 million builders, 400,000 organizations, and over 3 million open models published, with new frontier capabilities — agentic coding, video segmentation, speech, embeddings — landing weekly. It's the GitHub of open models, where the community publishes weights, writes model cards, compares evaluations, and pulls models for experimentation.
Open models have closed the gap with proprietary models on benchmark after benchmark, and they unlock things proprietary endpoints can't:
- State-of-the-art is now open. Leading open-weight models are competitive with the top closed frontier models on the most widely used benchmarks.
- Deep customization. Full weights make it possible to fine-tune, distill, quantize, and adapt with LoRA — tailoring models to your domain, your data, and your latency and cost targets.
- Your model, your hosting. Weights run in your tenant on infrastructure you control, behind your inference endpoint, with your identity and network boundaries.
- Cost shaping. Pay for accelerators by the hour, scale to zero when idle, and right-size GPUs to the specific model — useful for steady, high-volume, or latency-sensitive workloads where per-token pricing is harder to predict.
- Version control. Pin a specific model version, evaluate it, deploy it, and move forward or roll back on your own release cadence.
The catch has always been the operational layer: discovery, license review, security screening, runtime selection, GPU sizing, image building, CVE patching, and standing the model up behind an enterprise-grade endpoint. Hugging Face, by itself, is not an enterprise serving platform. Hugging Face models on Foundry is that operational layer, run by Microsoft.
Hugging Face Models on Foundry
The Hugging Face Collection brings a curated subset of models directly into the Foundry Model Catalog:
- Refreshed weekly — trending models from the Hugging Face ecosystem are added continuously as the community publishes them.
- Every modality — text, vision, audio, and multimodal: LLMs and VLMs for chat and agents, ASR and speech translation, embeddings, segmentation, image generation.
- Safetensors only, no untrusted code — every model in the Collection is security-screened and ships in the SafeTensors weight format, with no trust_remote_code execution paths unless rigorously reviewed.
- The right runtime for the model — vLLM and SGLang for LLMs, TensorRT-LLM and NIM where applicable, TEI for embeddings, llama.cpp for CPU — Foundry picks the engine that matches the model.
From your side, an open-weight model in the Hugging Face Collection looks and behaves like any other model in the Foundry Model Catalog, and every model in the Collection has been put through a multi-stage publishing pipeline before it ever shows up there.
The Curation Pipeline
Hugging Face and Microsoft work together to bring the most popular open-weight models from the Hugging Face ecosystem to Microsoft Foundry — production-ready for enterprise environments — through a systematic curation process:
- Identify trending models in the Hugging Face ecosystem — based on community signals, partner requests, and customer demand — and select candidates for enterprise readiness.
- Screen for compliance and security — model licenses are reviewed against Microsoft's enterprise distribution policy (with license metadata captured and preserved on the catalog model card), and repositories are inspected for trust_remote_code patterns and custom executable code; any model that would require executing third-party Python at load time is either remediated or excluded.
- Build, scan, and publish runtimes — Microsoft builds inference container images on supported runtimes (vLLM, SGLang, TensorRT-LLM, NIM, TEI, llama.cpp), scans them for CVEs, and signs and publishes them to a Microsoft-managed container registry.
- Upload weights to secure Azure storage — model weights are pulled from Hugging Face once, validated against the published model card, and stored in Microsoft-managed Azure storage in the regions where the model is served.
- Validate and publish to the catalog — every model + runtime + accelerator combination is tested for API conformance (chat completions, embeddings, rerank, etc.) and performance (latency, throughput, time-to-first-token, inter-token decode time), then the validated model — with its templates, runtime images, and weights — is published to the Foundry Model Catalog with a one-click deploy path onto Managed Compute.
Because weights are pre-staged in Azure storage and runtime images live in a Microsoft-managed registry, your deployments won't need outbound network access to Hugging Face Hub — you can deploy to production inside a private network.
Model Runtimes
Hugging Face models on Foundry are powered by a versatile collection of community-built, open-source inference runtimes — each selected and tuned for Foundry Managed Compute, and matched to the model architectures it serves best. Across all runtimes, the systematic curation process means new versions and patches land on Foundry quickly, and existing model deployments are upgraded automatically — without requiring you to redeploy.
- vLLM — the default high-throughput serving engine for open large language models, tuned for production GPU workloads. Because Hugging Face is a direct contributor to vLLM, any model in the Transformers library can run on vLLM out of the box — so when a new model lands on Hugging Face, it can be served on Foundry the same day, with no waiting on a custom integration.
- SGLang — a serving engine for language and multi-modal models, with strong support for structured outputs (JSON, regex, grammar-constrained generation) that agentic and tool-using workloads depend on. Hugging Face and the SGLang team have built a Transformers backend integration for SGLang, so any model in the Transformers library runs on SGLang out of the box — and reaches Foundry the same day it lands on Hugging Face.
- Text Embeddings Inference (TEI) — the runtime for embedding, reranker, and sequence-classification models. Accelerator-specific images ship with kernels compiled for each GPU and CPU family Foundry supports, keeping the embedding hot path lean for RAG and semantic-search workloads.
- llama.cpp — the CPU and small-GPU path for GGUF-quantized models. Useful for cost-optimized deployments, smaller models, and CPU-only regions, with the same OpenAI-compatible API as vLLM and SGLang.
- TensorRT-LLM and NIM — used on NVIDIA hardware where NVIDIA's optimized kernels and Triton-based serving deliver meaningfully better latency or throughput for specific model families.
- hf-serve — Hugging Face's own multi-model inference server, used for model architectures outside the LLM and embedding fast paths (vision, audio, segmentation, and other Transformers-native pipelines) so the Collection can cover every modality with a consistent serving layer.
Deploying and Scoring an Open-Weight Model
The Hugging Face Collection in the Foundry Model Catalog is where you start, and deployment is five steps:
- Browse the catalog and pick a model — the deploy wizard also surfaces the model id, deployment template id, and acceleratorType you'll need if you're scripting the deploy via SDK or REST.
- Choose a deployment template — latency- vs throughput-optimized, accelerator family, context length, quantization.
- Configure instance count — scale throughput by adding model instances.
- Deploy — from the portal, CLI, SDK, or REST.
- Score via the unified Foundry endpoint with the SDK you already use.
Deployment Templates
A deployment template is the unit of choice in step 2: a named, versioned asset that pins the runtime, the accelerator family and count, the context length, and the runtime-specific tuning needed to serve the model well — so picking a template is the only knob you turn for "how do I want this model to run."
qwen3-32b, for example, ships with four templates the deploy wizard exposes side by side:
Template
Runtime
Accelerator
Context
qwen–qwen3-32b–40k-nvidia-a100
vLLM
1 × A100 80 GB
40K
qwen–qwen3-32b–40k-nvidia-h100
vLLM
1 × H100 80 GB
40K
qwen–qwen3-32b–128k-nvidia-2xa100
vLLM
2 × A100 80 GB
128K
qwen–qwen3-32b–128k-nvidia-2xh100
vLLM
2 × H100 80 GB
128K
Each template arrives pre-tuned for the model — runtime settings, tool-call and reasoning parsers, scoring path, health probes, request concurrency, and any model-specific context-extension settings are all set by Microsoft, with any trade-offs called out inline in the template description. When you script the deploy, you reference the template and Foundry handles the rest.
Deploy — Python SDK
from azure.identity import DefaultAzureCredential
from azure.mgmt.cognitiveservices import CognitiveServicesManagementClient
client = CognitiveServicesManagementClient(DefaultAzureCredential(), SUBSCRIPTION_ID)
deployment = client.managed_compute_deployments.begin_create_or_update(
resource_group_name=RESOURCE_GROUP,
account_name=ACCOUNT_NAME,
deployment_name="qwen3-32b",
resource={
"sku": {"name": "GlobalManagedCompute", "capacity": 1},
"properties": {
"model": "azureml://registries/azure-huggingface/models/qwen--qwen3-32b/versions/1",
"deploymentTemplate": "azureml://registries/azure-huggingface/deploymenttemplates/qwen--qwen3-32b--40k-nvidia-h100/labels/latest",
"acceleratorType": "H100_80GB",
},
},
).result()
Score — OpenAI SDK
The deployment is reachable through the unified Foundry endpoint with the OpenAI SDK — the model field takes the deployment name you just created:
from openai import OpenAI
api_key = client.accounts.list_keys(RESOURCE_GROUP, ACCOUNT_NAME).key1
endpoint = f"https://{ACCOUNT_NAME}.services.ai.azure.com/openai/v1"
openai_client = OpenAI(base_url=endpoint, api_key=api_key)
completion = openai_client.chat.completions.create(
model=deployment.name,
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(completion.choices[0].message)
Use It in an Agent
A chat-completions model from the Collection slots into Foundry Agents as an admin-connected model and is callable through the Foundry Responses API with the same OpenAI SDK — same auth, same endpoint, same observability.
What's Available Today
Available now in preview: the Hugging Face Collection in the Microsoft Foundry Model Catalog — thousands of models across every modality, refreshed weekly, deployable onto Foundry Managed Compute with NVIDIA A100, NVIDIA H100, or AMD MI300X accelerators in Global and Data Zone scopes, behind a unified Foundry endpoint with Playground support, first-class Azure Monitor metrics, per-deployment billing tags, and curated runtime upgrades and CVE patching applied automatically to your deployments.
Sign up for the preview: forms.cloud.microsoft/r/8Jnx1LALLA
On the roadmap: broader coverage of the Hugging Face ecosystem, additional accelerator families, and Bring Your Own Weights for fine-tuned and proprietary variants deployed through the same templates and governance as Collection models.
Hugging Face is where open models are published and discovered. Microsoft Foundry is where enterprises operationalize them — on curated, license-screened, security-screened weights hosted in Azure; on community-built and CVE-scanned runtimes; behind a single endpoint with enterprise identity, networking, observability, and agent integration on top. The breadth of the open-source ecosystem, with the operational layer Microsoft runs underneath.For a deep dive on Foundry Managed Compute — pricing, accelerator SKUs, data residency, enterprise readiness, observability, and the full Responses API + memory pattern — see the Managed Compute launch blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み