[Bug] AARCH64+UBUNTU22.04, meet ERROR: No matching distribution found for ai-edge-model-explorer-adapter==0.1.5. #7723
Description
🐛 Describe the bug
(executorch) pi@NanoPC-T6-LTS:~/Downloads/executorch$ ./install_requirements.sh
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Collecting torch==2.6.0.dev20250104
Using cached https://download.pytorch.org/whl/nightly/cpu/torch-2.6.0.dev20250104%2Bcpu-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (28 kB)
Collecting torchvision==0.22.0.dev20250104
Using cached https://download.pytorch.org/whl/nightly/cpu/torchvision-0.22.0.dev20250104-cp310-cp310-linux_aarch64.whl (14.8 MB)
Requirement already satisfied: typing-extensions in /home/pi/.local/lib/python3.10/site-packages (4.12.2)
Requirement already satisfied: cmake in /home/pi/.local/lib/python3.10/site-packages (3.31.4)
Requirement already satisfied: pip>=23 in /home/pi/.local/lib/python3.10/site-packages (24.3.1)
Collecting pyyaml
Using cached https://download.pytorch.org/whl/nightly/PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (718 kB)
Requirement already satisfied: setuptools>=63 in /home/pi/.local/lib/python3.10/site-packages (75.8.0)
Collecting tomli
Using cached tomli-2.2.1-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: wheel in /home/pi/miniconda3/envs/executorch/lib/python3.10/site-packages (0.44.0)
Collecting zstd
Using cached zstd-1.5.6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (8.9 kB)
Collecting ai-edge-model-explorer>=0.1.16
Using cached ai_edge_model_explorer-0.1.16-py3-none-any.whl.metadata (2.2 kB)
Collecting timm==1.0.7
Using cached timm-1.0.7-py3-none-any.whl.metadata (47 kB)
Requirement already satisfied: torchaudio==2.6.0.dev20250104 in /home/pi/.local/lib/python3.10/site-packages (2.6.0.dev20250104)
Requirement already satisfied: torchsr==1.0.4 in /home/pi/.local/lib/python3.10/site-packages (1.0.4)
Requirement already satisfied: transformers==4.47.1 in /home/pi/.local/lib/python3.10/site-packages (4.47.1)
Requirement already satisfied: filelock in /home/pi/.local/lib/python3.10/site-packages (from torch==2.6.0.dev20250104) (3.16.1)
Collecting sympy==1.13.1 (from torch==2.6.0.dev20250104)
Using cached https://download.pytorch.org/whl/nightly/sympy-1.13.1-py3-none-any.whl (6.2 MB)
Requirement already satisfied: networkx in /home/pi/.local/lib/python3.10/site-packages (from torch==2.6.0.dev20250104) (3.4.2)
Requirement already satisfied: jinja2 in /home/pi/.local/lib/python3.10/site-packages (from torch==2.6.0.dev20250104) (3.1.5)
Requirement already satisfied: fsspec in /home/pi/.local/lib/python3.10/site-packages (from torch==2.6.0.dev20250104) (2024.12.0)
Collecting numpy (from torchvision==0.22.0.dev20250104)
Using cached numpy-2.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (63 kB)
Collecting pillow!=8.3.*,>=5.3.0 (from torchvision==0.22.0.dev20250104)
Using cached pillow-11.1.0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (9.1 kB)
Requirement already satisfied: huggingface_hub in /home/pi/.local/lib/python3.10/site-packages (from timm==1.0.7) (0.27.1)
Requirement already satisfied: safetensors in /home/pi/.local/lib/python3.10/site-packages (from timm==1.0.7) (0.5.2)
Requirement already satisfied: packaging>=20.0 in /home/pi/.local/lib/python3.10/site-packages (from transformers==4.47.1) (24.2)
Requirement already satisfied: regex!=2019.12.17 in /home/pi/.local/lib/python3.10/site-packages (from transformers==4.47.1) (2024.11.6)
Collecting requests (from transformers==4.47.1)
Using cached https://download.pytorch.org/whl/nightly/requests-2.32.3-py3-none-any.whl (64 kB)
Requirement already satisfied: tokenizers<0.22,>=0.21 in /home/pi/.local/lib/python3.10/site-packages (from transformers==4.47.1) (0.21.0)
Requirement already satisfied: tqdm>=4.27 in /home/pi/.local/lib/python3.10/site-packages (from transformers==4.47.1) (4.67.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/pi/.local/lib/python3.10/site-packages (from sympy==1.13.1->torch==2.6.0.dev20250104) (1.3.0)
Collecting flask (from ai-edge-model-explorer>=0.1.16)
Using cached flask-3.1.0-py3-none-any.whl.metadata (2.7 kB)
Collecting ipython (from ai-edge-model-explorer>=0.1.16)
Using cached ipython-8.31.0-py3-none-any.whl.metadata (4.9 kB)
INFO: pip is looking at multiple versions of ai-edge-model-explorer to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement ai-edge-model-explorer-adapter==0.1.5 (from ai-edge-model-explorer) (from versions: none)
ERROR: No matching distribution found for ai-edge-model-explorer-adapter==0.1.5
Traceback (most recent call last):
File "/home/pi/Downloads/executorch/./install_requirements.py", line 182, in
subprocess.run(
File "/home/pi/miniconda3/envs/executorch/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/pi/miniconda3/envs/executorch/bin/python', '-m', 'pip', 'install', 'torch==2.6.0.dev20250104', 'torchvision==0.22.0.dev20250104', 'typing-extensions', 'cmake', 'pip>=23', 'pyyaml', 'setuptools>=63', 'tomli', 'wheel', 'zstd', 'ai-edge-model-explorer>=0.1.16', 'timm==1.0.7', 'torchaudio==2.6.0.dev20250104', 'torchsr==1.0.4', 'transformers==4.47.1', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
Versions
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.4 LTS (aarch64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: 14.0.0-1ubuntu1.1
CMake version: version 3.22.1
Libc version: glibc-2.35
Python version: 3.10.0 (default, Mar 3 2022, 09:51:40) [GCC 10.2.0] (64-bit runtime)
Python platform: Linux-6.1.57-aarch64-with-glibc2.35
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A
CPU:
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: ARM
Model name: Cortex-A55
Model: 0
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: r2p0
CPU max MHz: 1800.0000
CPU min MHz: 408.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
Model name: Cortex-A76
Model: 0
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: r4p0
CPU max MHz: 2256.0000
CPU min MHz: 408.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
L1d cache: 384 KiB (8 instances)
L1i cache: 384 KiB (8 instances)
L2 cache: 2.5 MiB (8 instances)
L3 cache: 3 MiB (1 instance)
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Mitigation; CSV2, BHB
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Versions of relevant libraries:
[pip3] torchaudio==2.6.0.dev20250104
[pip3] torchsr==1.0.4
[conda] No relevant packages