Installing linux headers (DLAMI AMI) failed in INF2 installation guide

0

Hello, i'm using pytorch-inference:2.0.1-gpu-py310-cu118-ubuntu20.04-sagemaker AMI and following this guide https://awsdocs-neuron.readthedocs-hosted.com/en/latest/general/setup/neuron-setup/pytorch/neuronx/ubuntu/torch-neuronx-ubuntu20-base-dlami.html#setup-torch-neuronx-ubuntu20-base-dlami to install tools and drivers. I. get error when i'm trying to install sudo apt-get install linux-headers-$(uname -r) -y. The error i get is E: Unable to locate package linux-headers-4.14.326-245.539.amzn2.x86_64 E: Couldn't find any package by glob linux-headers-4.14.326-245.539.amzn2.x86_64 E: Couldn't find any package by regex linux-headers-4.14.326-245.539.amzn2.x86_64 How can i make it work?

Ana
質問済み 6ヶ月前222ビュー
1回答
0

It looks like you are using the wrong AMI - you should not need to modify the base AMI. Please follow this link https://awsdocs-neuron.readthedocs-hosted.com/en/latest/general/devflows/inference/byoc-hosting-devflow-inf2.html and use a DLC from the 'Neuron Containers' section. These containers are all tested: https://github.com/aws/deep-learning-containers/blob/master/available_images.md#neuron-containers

Note we don't have PyTorch 2.0 support. PyTorch 2.1 support will be available in an upcoming release.

AWS
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ