是否可以使用需要映像计划的自定义映像创建Azure批处理池? [英] Can I create an Azure Batch pool with a custom image that requires image plan?

查看:96
本文介绍了是否可以使用需要映像计划的自定义映像创建Azure批处理池?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Azure批处理池,该池配置为从我创建的自定义VM映像分配VM.自定义VM映像基于需要映像计划的来自NVIDIA的PyTorch".

I have created an Azure Batch pool that is configured to allocate VMs from a custom VM image that I have created. The custom VM image is based on "PyTorch from NVIDIA" which requires an image plan.

当池尝试分配节点时,它会由于以下错误而失败:

When the pool tries to allocate nodes it fails on the following error:

部署分配失败,因为请求中缺少图像计划信息.您需要基于不需要图像计划的第一方图像创建自定义图像.

Deployment allocation failed due to missing image plan information in the request. You need to create custom image based on first party image which does not require image plan.

似乎有可能使用此链接.
是否可以使用需要映像计划的自定义VM映像创建Azure批处理池?
该错误表明这是不可能的,但这似乎非常有局限性,而与VMSS相比,它确实有可能.

It seems that it's possible to create Virtual Machine Scale Sets with an image plan as indicated by this link.
Is it possible to create an Azure Batch pool with a custom VM image that requires an image plan?
The error suggests that it's not possible but that seems very limiting and in contrast to VMSS in which it does seem possible.

推荐答案

您只能使用Batch支持的第一方Azure市场映像作为托管映像的基础映像,请参考

You can only use a first-party Azure Marketplace image supported by Batch as the base image for your managed image, refer to this.

如果自定义VM映像是从Azure市场映像生成的,则当

If your custom VM image is generated from an Azure Marketplace image, you can select the correct Publisher/Offer/Sku for your custom image when you create a pool from a custom image in the portal.

当我使用来自NVIDIA VM的通用 PyTorch作为基本映像时,也会产生此问题.正如文档所述,目前无法使用第三方映像作为基础映像来创建池.

I also can produce this issue when I use a generalized PyTorch from NVIDIA VM as the base image. As the document stated, it's impossible to use a third-party image as the base image to create a pool at the moment.

Azure市场中的某些VM映像具有附加的许可证和购买条款,您必须接受它们并提供购买计划参数,然后才能以编程方式部署它们.

Some VM images in the Azure Marketplace have an additional license and purchase terms that you must accept and provide purchase plan parameters before you can deploy them programmatically.

您不能使用具有附加许可的第三方图像,并且购买条款作为您的基本图片.有关这些的信息市场图像,请参见 Linux 或Windows VM.

You can't use a third-party image that has additional license and purchase terms as your base image. For information about these Marketplace images, see the guidance for Linux or Windows VMs.

这篇关于是否可以使用需要映像计划的自定义映像创建Azure批处理池?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆