Hi, I'm attempting to create a recipe for pytorch for the TX2i using a wheel file obtained from here:
https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-10-now-available/72048 Here is what I have so far for the recipe: ``` DESCRIPTION = "NVIDIA's Python Torch" HOMEPAGE = "https://nvidia.com" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://../LICENSE;md5=91a5dfdaccf53b27488cb3a639e986d5" inherit setuptools3 SRC_URI = "\ file://torch-1.10.0-cp36-cp36m-linux_aarch64.whl \ file://LICENSE \ " COMPATIBLE_MACHINE = "jetson-tx2-devkit-tx2i" PACKAGE_ARCH = "${MACHINE_ARCH}" S = "${WORKDIR}/${PN}-${PV}" do_configure() { : } do_compile() { : } do_install() { pip3 install ${WORKDIR}/torch-1.10.0-cp36-cp36m-linux_aarch64.whl } DEPENDS = "python3-pip-native" ``` When I build I get the following ambiguous error during do_install: | WARNING: The directory '/home/ddbabich/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. | ERROR: torch-1.10.0-cp36-cp36m-linux_aarch64.whl is not a supported wheel on this platform. It seems like I'm missing something with the host vs. the target settings? But I really don't have any ideas. Any help is appreciated. THanks -David
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55389): https://lists.yoctoproject.org/g/yocto/message/55389 Mute This Topic: https://lists.yoctoproject.org/mt/87247090/21656 Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #python:https://lists.yoctoproject.org/g/yocto/mutehashtag/python Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-