请问如何再python3.10的环境上安装pytorch并使之活动状态是true?

我发现jetson仅能在python3.8环境下让pytorch是可用状态,可是很多系统需要python是3.10,导致jetson不兼容很多系统,不知道能否帮我解觉这个问题,谢谢!

Hi,

We don’t provide PyTorch Python 3.10 prebuilt.

Please build it from the source.
Below are the building instructions for your reference:

Thanks.

Hi,

We just released JetPack 6 DP with Ubuntu 22.04.
Since 22.04 default uses Python 3.10, you might consider upgrading the environment directly.

Thanks.

谢谢,我试一下

安装报错,请帮忙

正在读取软件包列表… 完成
正在分析软件包的依赖关系树
正在读取状态信息… 完成
注意,选中 ‘sdkmanager:amd64’ 而非 ‘./sdkmanager_2.0.0-11405_amd64.deb’
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
sdkmanager:amd64 : 依赖: libgconf-2-4:amd64 但无法安装它
依赖: libcanberra-gtk-module:amd64 但无法安装它
依赖: locales:amd64 但无法安装它
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系

Pre-built PyTorch wheels for JetPack 6 have been added to that thread:

PyTorch v2.2.0

PyTorch v2.1.0

Hi, tg16

Could you share what kind of command you used to meet the error?

Thanks.

torch-2.2.0a0+6a974be.nv23.11-cp310-cp310-linux_aarch64.whl 这个是gpu版本的PyTorch么?

In the ubuntu20.04 command-line interface of Jetson orin,Caused by Execute “sudo apt install ./sdkmanager_2.0.0-11405_amd64.deb”

Hi,

SDKmanager needs to be executed on a desktop environment.

https://docs.nvidia.com/sdk-manager/download-run-sdkm/index.html

And yes, the PyTorch whl has been built with GPU support.

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.