Pytorch for Python 3.11

Hello i have an little issue to get Pytorch Running with CUDA support on my Jetson Nano

steps i have already done:

  • Installed Python3.11
  • Installed Cmake etc

my Nano Specs Are:
Model: NVIDIA Jetson Nano Developer Kit
OS: Ubuntu 18.04 Bionic Beaver
Release: 4.9.377-tegra
CUDA: 10.2.300
CuDNN: 8.2.1.32
TensorRT: 8.2.1.9
VPI: 1.2.3
Vulkan: 1.2.70
OpenCV: 4.1.1 with CUDA: NO

Jetpack: 4.6.4
L4T: 32.7.4
CUDA Arch BIN: 5.3

RAM: 4GB

Now to my Little problem:
i tryed to compile Pytorch for 3.11 with Cuda support
and get the message:

CMake Error at /home/wyv3rn/jupyterTest/lib/python3.11/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeDetermineCUDACompiler.cmake:266 (message):
Failed to detect a default CUDA architecture.

Compiler output:

Call Stack (most recent call first):
cmake/public/cuda.cmake:47 (enable_language)
cmake/Dependencies.cmake:43 (include)
CMakeLists.txt:742 (include)

What i doin wrong ? i am really new into compile from scratch and wont use Docker in reason i want to use my jetson with Jupyter and Pytorch + CUDA only

thanks for Help ^^"