root@ubuntu:~# pip3 install transformers -i Simple Index
Looking in indexes: Simple Index
Collecting transformers
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8d/10/8cef2288810a3210659eb3a20711e8387cc35a881a7762ae387806e2d651/transformers-4.53.1-py3-none-any.whl (10.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.8/10.8 MB 4.6 MB/s eta 0:00:00
Requirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from transformers) (5.4.1)
Collecting requests
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7c/e4/56027c4a6b4ae70ca9de302488c5ca95ad4a39e190093d6c1a8ace08341b/requests-2.32.4-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.8/64.8 KB 2.2 MB/s eta 0:00:00
Collecting tqdm>=4.27
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d0/30/dc54f88dd4a2b5dc8a0279bdd7270e735851848b762aeb1c1184ed1f6b14/tqdm-4.67.1-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 KB 2.5 MB/s eta 0:00:00
Collecting huggingface-hub<1.0,>=0.30.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/44/f4/5f3f22e762ad1965f01122b42dae5bf0e009286e2dba601ce1d0dba72424/huggingface_hub-0.33.2-py3-none-any.whl (515 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 515.4/515.4 KB 5.5 MB/s eta 0:00:00
Collecting regex!=2019.12.17
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/78/a2/6dd36e16341ab95e4c6073426561b9bfdeb1a9c9b63ab1b579c2e96cb105/regex-2024.11.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (782 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 782.5/782.5 KB 5.6 MB/s eta 0:00:00
Requirement already satisfied: packaging>=20.0 in /usr/lib/python3/dist-packages (from transformers) (21.3)
Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from transformers) (1.26.4)
Collecting safetensors>=0.4.3
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5d/9a/add3e6fef267658075c5a41573c26d42d80c935cdc992384dfae435feaef/safetensors-0.5.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (459 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 459.5/459.5 KB 5.3 MB/s eta 0:00:00
Collecting tokenizers<0.22,>=0.21
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/33/2b/1791eb329c07122a75b01035b1a3aa22ad139f3ce0ece1b059b506d9d9de/tokenizers-0.21.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 6.1 MB/s eta 0:00:00
Collecting filelock
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4d/36/2a115987e2d8c300a974597416d9de88f2444426de9571f4b59b2cca3acc/filelock-3.18.0-py3-none-any.whl (16 kB)
Collecting fsspec>=2023.5.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bb/61/78c7b3851add1481b048b5fdc29067397a1784e2910592bc81bb3f608635/fsspec-2025.5.1-py3-none-any.whl (199 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.1/199.1 KB 4.5 MB/s eta 0:00:00
Collecting hf-xet<2.0.0,>=1.1.2
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d0/54/0fcf2b619720a26fbb6cc941e89f2472a522cd963a776c089b189559447f/hf_xet-1.1.5-cp37-abi3-manylinux_2_28_aarch64.whl (3.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 5.6 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/lib/python3/dist-packages (from huggingface-hub<1.0,>=0.30.0->transformers) (3.10.0.2)
Collecting certifi>=2017.4.17
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/84/ae/320161bd181fc06471eed047ecce67b693fd7515b16d495d8932db763426/certifi-2025.6.15-py3-none-any.whl (157 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.7/157.7 KB 3.5 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 KB 2.5 MB/s eta 0:00:00
Collecting charset_normalizer<4,>=2
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d9/9b/892a8c8af9110935e5adcbb06d9c6fe741b6bb02608c6513983048ba1a18/charset_normalizer-3.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (144 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.6/144.6 KB 3.2 MB/s eta 0:00:00
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->transformers) (1.26.5)
Installing collected packages: tqdm, safetensors, regex, idna, hf-xet, fsspec, filelock, charset_normalizer, certifi, requests, huggingface-hub, tokenizers, transformers
Successfully installed certifi-2025.6.15 charset_normalizer-3.4.2 filelock-3.18.0 fsspec-2025.5.1 hf-xet-1.1.5 huggingface-hub-0.33.2 idna-3.10 regex-2024.11.6 requests-2.32.4 safetensors-0.5.3 tokenizers-0.21.2 tqdm-4.67.1 transformers-4.53.1
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@ubuntu:~# source /opt/tros/humble/setup.bash
root@ubuntu:~# wget http://archive.d-robotics.cc/llm-model/llm_model.tar.gz
–2025-07-06 22:07:28-- http://archive.d-robotics.cc/llm-model/llm_model.tar.gz
Resolving archive.d-robotics.cc (archive.d-robotics.cc)… 112.48.167.235, 112.48.167.233, 112.48.167.237, …
Connecting to archive.d-robotics.cc (archive.d-robotics.cc)|112.48.167.235|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1499237531 (1.4G) [application/octet-stream]
Saving to: ‘llm_model.tar.gz’
llm_model.tar.gz 100%[================================================================================================>] 1.40G 8.70MB/s in 4m 49s
2025-07-06 22:12:19 (4.95 MB/s) - ‘llm_model.tar.gz’ saved [1499237531/1499237531]
root@ubuntu:~# sudo tar -xf llm_model.tar.gz -C /opt/tros/${TROS_DISTRO}/lib/hobot_llm/
tar: /opt/tros/humble/lib/hobot_llm: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@ubuntu:~# ls
config fbank_lfr_cmvn_feature.json llm_model.tar.gz Qwen2.5-0.5B-Instruct-Q4_0.gguf tts_model.tar.gz vit_model_int16_v2.bin
root@ubuntu:~# source /opt/tros/humble/setup.bash
root@ubuntu:~# sudo tar -xf llm_model.tar.gz -C /opt/tros/${TROS_DISTRO}/lib/hobot_llm/
tar: /opt/tros/humble/lib/hobot_llm: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@ubuntu:~# sudo mkdir -p /opt/tros/${TROS_DISTRO}/lib/hobot_llm/
root@ubuntu:~# sudo tar -xf llm_model.tar.gz -C /opt/tros/${TROS_DISTRO}/lib/hobot_llm/
root@ubuntu:~# source /opt/tros/humble/setup.bash
root@ubuntu:~# ros2 run hobot_llm hobot_llm_chat
Package ‘hobot_llm’ not found
root@ubuntu:~#
