AVX Support in Windows Containers on Azure Container Instances (ACI)

ishimoto 20 評価のポイント
2025-02-19T05:31:59.6866667+00:00

I am currently working on deploying a Windows container on Azure Container Instances (ACI). However, I have encountered an issue where AVX (Advanced Vector Extensions) instructions are not supported within the container environment.

Issue:

When executing an application that utilizes AVX instructions inside an ACI-hosted Windows container, I receive the following error:

"Fatal Error: This program was not built to run in your system. Please verify that both the operating system and the processor support Intel(R) AVX."

The same application runs successfully on a local Windows machine and in an Azure Virtual Machine (VM) with AVX support.

Questions:

Does ACI support AVX or AVX2 instructions in Windows containers?

If AVX is not currently supported, is there any workaround to enable it?

Are there any specific ACI SKUs or configurations that allow the execution of AVX-supported workloads?

I would appreciate any guidance or recommendations regarding this issue.

Thank you for your support.

Azure
Azure
Microsoft が管理する世界のデータ センター ネットワークを介してアプリケーションとサービスを構築、配置、および管理するインフラストラクチャおよびクラウド コンピューティング プラットフォーム。
576 件の質問
{count} 件の投票

承認済みの回答
  1. ArkoSen-6842 225 評価のポイント
    2025-02-20T19:34:38.4633333+00:00

    こんにちは Ishimoto さん、

    私は英語から翻訳していますので、文法上の誤りがあるかもしれませんが、ご容赦ください。

    Azure Container Instances は、現在 Windows コンテナ内で Advanced Vector Extensions (AVX または AVX2) をサポートしていません。この制限は、ACI が AVX をサポートするプロセッサの利用を保証できない基盤インフラストラクチャ上で動作しているために発生します。そのため、AVX 命令に依存するアプリケーションは、ACI 上の Windows コンテナにデプロイするとエラーが発生する可能性があります。

    ACI 上で AVX を使用する Windows コンテナをデプロイすると、「このプログラムはお使いのシステムで実行するように作成されていません。オペレーティングシステムとプロセッサが Intel(R) AVX をサポートしているか確認してください。」といったエラーメッセージが表示されることがあります。これは、まさにあなたが直面している問題と同じです。

    このエラーは通常、ACI の基盤となるハードウェアが AVX 命令を完全にサポートしていない、またはコンテナ環境に適切に公開していないために発生します。現在のところ、Windows コンテナにおいて AVX サポートを保証する特定の ACI SKU や設定は存在しません。また、Azure Container Apps においても AVX に関する制限 があることが確認されています。

    役に立ったと感じた場合は、どうぞお気軽に回答を受け入れて、アップボートしてください。ありがとうございます。

    1 人がこの回答が役に立ったと思いました。

0 件の追加の回答

並べ替え方法: 最も役に立つ

お客様の回答

回答は、質問作成者が [承諾された回答] としてマークできます。これは、ユーザーが回答が作成者の問題を解決したことを知るのに役立ちます。