Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
-
- openbmb/MiniCPM-V-2_6
|
4 |
tags:
|
5 |
- rknn
|
6 |
- rkllm
|
@@ -39,63 +37,46 @@ python multiprocess_inference.py
|
|
39 |
|
40 |
If the performance is not satisfactory, you can change the CPU scheduler to keep the CPU running at the highest frequency, and bind the inference program to the big core cluster (`taskset -c 4-7 python multiprocess_inference.py`).
|
41 |
|
42 |
-
|
43 |

|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
>The street itself features multiple lanes filled with vehicles; there are cars visible on both sides, including a prominent SUV that is parked by the roadside. The presence of these automobiles adds to the sense of movement and activity within this urban setting.
|
83 |
-
>
|
84 |
-
>In terms of infrastructure, the crosswalk has clear pedestrian markings for safety, and an adjacent railing provides support or boundary along one side of the street. Beyond the immediate foreground where pedestrians traverse, there's a sidewalk lined with lush green trees which add natural beauty to the otherwise concrete-dominated environment.
|
85 |
-
>
|
86 |
-
>The sky is visible in parts through breaks in clouds above, indicating fair weather conditions that contribute positively to outdoor activities like walking down this cityscape path.
|
87 |
-
>
|
88 |
-
>Overall, it appears as though an ordinary day unfolds within this urban setting, capturing moments of daily life and movement.
|
89 |
-
>
|
90 |
-
>(finished)
|
91 |
-
>
|
92 |
-
>--------------------------------------------------------------------------------------
|
93 |
-
> Stage Total Time (ms) Tokens Time per Token (ms) Tokens per Second
|
94 |
-
>--------------------------------------------------------------------------------------
|
95 |
-
> Prefill 1714.78 94 18.24 54.82
|
96 |
-
> Generate 58689.71 236 249.75 4.00
|
97 |
-
>--------------------------------------------------------------------------------------
|
98 |
-
>```
|
99 |
|
100 |
## Model Conversion
|
101 |
|
|
|
1 |
---
|
|
|
|
|
2 |
tags:
|
3 |
- rknn
|
4 |
- rkllm
|
|
|
37 |
|
38 |
If the performance is not satisfactory, you can change the CPU scheduler to keep the CPU running at the highest frequency, and bind the inference program to the big core cluster (`taskset -c 4-7 python multiprocess_inference.py`).
|
39 |
|
40 |
+
man.jpg:
|
41 |

|
42 |
|
43 |
+
```bash
|
44 |
+
admin@orangepi5:~/MiniCPM-V-2_6-rkllm$ python multiprocess_inference.py
|
45 |
+
Start loading language model (size: 7810.02 MB)
|
46 |
+
I rkllm: rkllm-runtime version: 1.1.4, rknpu driver version: 0.9.8, platform: RK3588
|
47 |
+
|
48 |
+
W rknn-toolkit-lite2 version: 2.3.0
|
49 |
+
Start loading vision encoder model (size: 942.29 MB)
|
50 |
+
Vision encoder loaded in 4.95 seconds
|
51 |
+
I RKNN: [13:13:11.477] RKNN Runtime Information, librknnrt version: 2.3.0 (c949ad889d@2024-11-07T11:35:33)
|
52 |
+
I RKNN: [13:13:11.477] RKNN Driver Information, version: 0.9.8
|
53 |
+
I RKNN: [13:13:11.478] RKNN Model Information, version: 6, toolkit version: 2.2.0(compiler version: 2.2.0 (c195366594@2024-09-14T12:24:14)), target: RKNPU v2, target platform: rk3588, framework name: ONNX, framework layout: NCHW, model inference type: dynamic_shape
|
54 |
+
Received ready signal: vision_ready
|
55 |
+
Language model loaded in 30.56 seconds
|
56 |
+
Received ready signal: llm_ready
|
57 |
+
All models loaded, starting interactive mode...
|
58 |
+
|
59 |
+
Enter your input :
|
60 |
+
|
61 |
+
Describe the person in the image {{./man.jpg}}?
|
62 |
+
How many people are in he image {{./man.jpg}}?
|
63 |
+
|
64 |
+
|
65 |
+
|
66 |
+
Start vision inference...
|
67 |
+
Vision encoder inference time: 3.61 seconds
|
68 |
+
Time to first token: 2.09 seconds
|
69 |
+
There is one person in the image the second image . The focus of this photograph seems to be on an individual, as there are no other discernible figures present. Please note that I can only provide descriptions based on what's visible within the images you've shared. If you have any specific questions about the content or need further details, feel free to ask!
|
70 |
+
|
71 |
+
(finished)
|
72 |
+
|
73 |
+
--------------------------------------------------------------------------------------
|
74 |
+
Stage Total Time (ms) Tokens Time per Token (ms) Tokens per Second
|
75 |
+
--------------------------------------------------------------------------------------
|
76 |
+
Prefill 2040.37 112 18.22 54.89
|
77 |
+
Generate 22301.36 72 310.92 3.22
|
78 |
+
--------------------------------------------------------------------------------------
|
79 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
## Model Conversion
|
82 |
|