Commit ddef8d6
feat(ai): First implementation of TritonServer metrics feature (#5687)
* First implementation of TritonServer metrics feature
Signed-off-by: pierantoniomerlino <[email protected]>
* Reverted compatibility version to 1.8
Signed-off-by: pierantoniomerlino <[email protected]>
* Reverted compatibility version to 1.8
Signed-off-by: pierantoniomerlino <[email protected]>
* Added interval property; several improvements
Signed-off-by: pierantoniomerlino <[email protected]>
* Added metrics support for native and remote server versions
Signed-off-by: pierantoniomerlino <[email protected]>
* Removed optional configs used for debug
Signed-off-by: pierantoniomerlino <[email protected]>
* Added server address to metrics connection
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed tests
Signed-off-by: pierantoniomerlino <[email protected]>
* Added tests
Signed-off-by: pierantoniomerlino <[email protected]>
* Added more tests
Signed-off-by: pierantoniomerlino <[email protected]>
* Updated copyright and added comments
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed stream usage
Signed-off-by: pierantoniomerlino <[email protected]>
* Syntactic sugar for make sonar happy
Signed-off-by: pierantoniomerlino <[email protected]>
* Simplified triton server properties
Signed-off-by: pierantoniomerlino <[email protected]>
* Updated tests
Signed-off-by: pierantoniomerlino <[email protected]>
* Increased read and connection timeout
Signed-off-by: pierantoniomerlino <[email protected]>
* Update kura/org.eclipse.kura.ai.triton.server/OSGI-INF/metatype/org.eclipse.kura.ai.triton.server.TritonServerContainerService.xml
Co-authored-by: Matteo Maiero <[email protected]>
* Let's do some TDD...
Signed-off-by: pierantoniomerlino <[email protected]>
* Removed raw metrics api; fixed copyright
Signed-off-by: pierantoniomerlino <[email protected]>
* Updated metatypes; removed getRawMetrics implementation
Signed-off-by: pierantoniomerlino <[email protected]>
* Deleted old implementation of TritonServer
Signed-off-by: pierantoniomerlino <[email protected]>
* Added GPU metrics retrival
Signed-off-by: pierantoniomerlino <[email protected]>
* Added statistics retrival
Signed-off-by: pierantoniomerlino <[email protected]>
* Added missing copyright
Signed-off-by: pierantoniomerlino <[email protected]>
* Updated metrics names
Signed-off-by: pierantoniomerlino <[email protected]>
* Updated metric names
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed tests
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed old tests
Signed-off-by: pierantoniomerlino <[email protected]>
* Replaced statistics parsing method and updated tests
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed copyrights
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed copyrights again
Signed-off-by: pierantoniomerlino <[email protected]>
* Refactored ModelStatistis parser
Signed-off-by: pierantoniomerlino <[email protected]>
* Updated statistics parser using protobuf JsonFormat
Signed-off-by: pierantoniomerlino <[email protected]>
* Removed spaces in copyrights header
Signed-off-by: pierantoniomerlino <[email protected]>
* Added missing dependency on test
Signed-off-by: pierantoniomerlino <[email protected]>
* Fixed copyright in test pom
Signed-off-by: pierantoniomerlino <[email protected]>
---------
Signed-off-by: pierantoniomerlino <[email protected]>
Co-authored-by: Matteo Maiero <[email protected]>1 parent 35e31e2 commit ddef8d6
File tree
37 files changed
+1705
-392
lines changed- kura
- org.eclipse.kura.ai.triton.server
- META-INF
- OSGI-INF
- metatype
- src/main
- java/org/eclipse/kura/ai/triton/server
- metrics/parser
- proto
- org.eclipse.kura.api
- META-INF
- src/main/java/org/eclipse/kura/ai/inference
- test/org.eclipse.kura.ai.triton.server.test
- META-INF
- src/test/java/org/eclipse/kura/ai/triton/server
37 files changed
+1705
-392
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
41 | 44 | | |
42 | | - | |
43 | 45 | | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
98 | 107 | | |
99 | 108 | | |
100 | 109 | | |
| |||
Lines changed: 0 additions & 121 deletions
This file was deleted.
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
Lines changed: 0 additions & 25 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
0 commit comments