Inference with AX650 Host, such as M4N-Dock(爱芯派Pro) or AX650N DEMO Board
input text
Describe the picture
input image
Open another terminal and run
./run_internvl2_5_448_ax650.sh
root@ax650:/mnt/qtang/llm-test/temp/InternVL2_5-1B# ./run_internvl2_5_448_ax650.sh
[I][ Init][ 127]: LLM init start
bos_id: -1, eos_id: 151645
3% | ██ | 1 / 28 [0.01s<0.14s, 200.00 count/s] tokenizer init ok
[I][ Init][ 26]: LLaMaEmbedSelector use mmap
100% | ████████████████████████████████ | 28 / 28 [1.42s<1.42s, 19.66 count/s] init vpm axmodel ok,remain_cmm(2859 MB)B)
[I][ Init][ 275]: max_token_len : 1023
[I][ Init][ 280]: kv_cache_size : 128, kv_cache_num: 1023
[I][ Init][ 288]: prefill_token_num : 320
[I][ Init][ 290]: vpm_height : 448,vpm_width : 448
[I][ Init][ 299]: LLM init ok
Type "q" to exit, Ctrl+c to stop current running
prompt >> Describe the picture
image >> ssd_car.jpg
[I][ Encode][ 358]: image encode time : 362.987000 ms, size : 229376
[I][ Run][ 569]: ttft: 426.75 ms
The image depicts a scene on a city street with a prominent red double-decker bus in the background.
The bus is adorned with an advertisement that reads, "THINGS GET MORE EXCITING WHEN YOU SAY YES."
The bus is traveling on a road with a white bicycle lane marked on it. The street is lined with buildings,
and there is a black car parked on the side of the road. A woman is standing in the foreground, smiling at the camera.
She is wearing a black jacket and a scarf. The overall atmosphere suggests a typical urban setting,
possibly in a city known for its iconic double-decker buses.
[N][ Run][ 708]: hit eos,avg 31.90 token/s
prompt >> q
root@ax650:/mnt/qtang/llm-test/temp/InternVL2_5-1B#
InternVL2_5-1B huggingface.co is an AI model on huggingface.co that provides InternVL2_5-1B's model effect (), which can be used instantly with this AXERA-TECH InternVL2_5-1B model. huggingface.co supports a free trial of the InternVL2_5-1B model, and also provides paid use of the InternVL2_5-1B. Support call InternVL2_5-1B model through api, including Node.js, Python, http.
InternVL2_5-1B huggingface.co is an online trial and call api platform, which integrates InternVL2_5-1B's modeling effects, including api services, and provides a free online trial of InternVL2_5-1B, you can try InternVL2_5-1B online for free by clicking the link below.
AXERA-TECH InternVL2_5-1B online free url in huggingface.co:
InternVL2_5-1B is an open source model from GitHub that offers a free installation service, and any user can find InternVL2_5-1B on GitHub to install. At the same time, huggingface.co provides the effect of InternVL2_5-1B install, users can directly use InternVL2_5-1B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.