jetson-examples 0.1.8__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/LICENSE +21 -21
  2. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/PKG-INFO +1 -1
  3. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/README.md +111 -111
  4. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/jetson_examples.egg-info/PKG-INFO +1 -1
  5. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/jetson_examples.egg-info/SOURCES.txt +13 -0
  6. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/pyproject.toml +42 -42
  7. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/__init__.py +1 -1
  8. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/main.py +60 -60
  9. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Lightning/clean.sh +8 -8
  10. {jetson_examples-0.1.8/reComputer/scripts/MoveNet-Thunder → jetson_examples-0.2.0/reComputer/scripts/MoveNet-Lightning}/getVersion.sh +59 -59
  11. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Lightning/init.sh +6 -6
  12. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Lightning/readme.md +30 -30
  13. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Lightning/run.sh +19 -19
  14. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Thunder/clean.sh +7 -7
  15. {jetson_examples-0.1.8/reComputer/scripts/parler-tts → jetson_examples-0.2.0/reComputer/scripts/MoveNet-Thunder}/getVersion.sh +59 -59
  16. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Thunder/init.sh +6 -6
  17. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Thunder/readme.md +31 -31
  18. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNet-Thunder/run.sh +18 -18
  19. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNetJS/clean.sh +4 -4
  20. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNetJS/readme.md +56 -56
  21. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/MoveNetJS/run.sh +13 -13
  22. {jetson_examples-0.1.8/reComputer/scripts/depth-anything → jetson_examples-0.2.0/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT}/config.yaml +31 -31
  23. {jetson_examples-0.1.8/reComputer/scripts/llama3 → jetson_examples-0.2.0/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT}/init.sh +19 -16
  24. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh +8 -8
  25. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/audiocraft/README.md +35 -35
  26. jetson_examples-0.2.0/reComputer/scripts/audiocraft/clean.sh +5 -0
  27. jetson_examples-0.2.0/reComputer/scripts/audiocraft/config.yaml +31 -0
  28. jetson_examples-0.2.0/reComputer/scripts/audiocraft/init.sh +20 -0
  29. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/audiocraft/run.sh +7 -7
  30. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/check.sh +4 -4
  31. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/clean.sh +33 -33
  32. {jetson_examples-0.1.8/reComputer/scripts/ultralytics-yolo → jetson_examples-0.2.0/reComputer/scripts/comfyui}/LICENSE +21 -21
  33. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/comfyui/README.md +127 -127
  34. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/comfyui/clean.sh +9 -7
  35. jetson_examples-0.2.0/reComputer/scripts/comfyui/config.yaml +30 -0
  36. jetson_examples-0.2.0/reComputer/scripts/comfyui/init.sh +9 -0
  37. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/comfyui/run.sh +30 -30
  38. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything/Dockerfile +5 -5
  39. {jetson_examples-0.1.8/reComputer/scripts/depth-anything-v2 → jetson_examples-0.2.0/reComputer/scripts/depth-anything}/LICENSE +21 -21
  40. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything/README.md +135 -135
  41. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything/clean.sh +8 -8
  42. jetson_examples-0.2.0/reComputer/scripts/depth-anything/config.yaml +30 -0
  43. jetson_examples-0.2.0/reComputer/scripts/depth-anything/init.sh +5 -0
  44. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything/run.sh +22 -22
  45. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything-v2/Dockerfile +5 -5
  46. {jetson_examples-0.1.8/reComputer/scripts/comfyui → jetson_examples-0.2.0/reComputer/scripts/depth-anything-v2}/LICENSE +21 -21
  47. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything-v2/README.md +135 -135
  48. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything-v2/clean.sh +7 -7
  49. jetson_examples-0.2.0/reComputer/scripts/depth-anything-v2/config.yaml +31 -0
  50. jetson_examples-0.2.0/reComputer/scripts/depth-anything-v2/init.sh +6 -0
  51. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/depth-anything-v2/run.sh +22 -22
  52. {jetson_examples-0.1.8/reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT → jetson_examples-0.2.0/reComputer/scripts/live-llava}/init.sh +16 -16
  53. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/live-llava/run.sh +278 -278
  54. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llama-factory/README.md +68 -68
  55. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llama-factory/clean.sh +4 -4
  56. jetson_examples-0.2.0/reComputer/scripts/llama-factory/config.yaml +30 -0
  57. jetson_examples-0.2.0/reComputer/scripts/llama-factory/init.sh +20 -0
  58. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llama-factory/run.sh +10 -10
  59. {jetson_examples-0.1.8/reComputer/scripts/ollama → jetson_examples-0.2.0/reComputer/scripts/llama3}/clean.sh +22 -22
  60. jetson_examples-0.2.0/reComputer/scripts/llama3/config.yaml +31 -0
  61. {jetson_examples-0.1.8/reComputer/scripts/live-llava → jetson_examples-0.2.0/reComputer/scripts/llama3}/init.sh +19 -16
  62. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llama3/run.sh +13 -13
  63. jetson_examples-0.2.0/reComputer/scripts/llava/clean.sh +3 -0
  64. jetson_examples-0.2.0/reComputer/scripts/llava/config.yaml +31 -0
  65. jetson_examples-0.2.0/reComputer/scripts/llava/init.sh +19 -0
  66. {jetson_examples-0.1.8/reComputer/scripts/llava-v1.5-7b → jetson_examples-0.2.0/reComputer/scripts/llava}/run.sh +9 -9
  67. jetson_examples-0.2.0/reComputer/scripts/llava-v1.5-7b/config.yaml +31 -0
  68. jetson_examples-0.2.0/reComputer/scripts/llava-v1.5-7b/init.sh +20 -0
  69. {jetson_examples-0.1.8/reComputer/scripts/llava → jetson_examples-0.2.0/reComputer/scripts/llava-v1.5-7b}/run.sh +9 -9
  70. jetson_examples-0.2.0/reComputer/scripts/llava-v1.6-vicuna-7b/config.yaml +31 -0
  71. {jetson_examples-0.1.8/reComputer/scripts/audiocraft → jetson_examples-0.2.0/reComputer/scripts/llava-v1.6-vicuna-7b}/init.sh +19 -16
  72. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llava-v1.6-vicuna-7b/run.sh +10 -10
  73. jetson_examples-0.2.0/reComputer/scripts/nanodb/config.yaml +31 -0
  74. jetson_examples-0.2.0/reComputer/scripts/nanodb/init.sh +19 -0
  75. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/nanodb/readme.md +10 -10
  76. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/nanodb/run.sh +90 -90
  77. jetson_examples-0.2.0/reComputer/scripts/nanoowl/config.yaml +31 -0
  78. jetson_examples-0.2.0/reComputer/scripts/nanoowl/init.sh +19 -0
  79. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/nanoowl/run.sh +7 -7
  80. {jetson_examples-0.1.8/reComputer/scripts/llama3 → jetson_examples-0.2.0/reComputer/scripts/ollama}/clean.sh +22 -22
  81. jetson_examples-0.2.0/reComputer/scripts/ollama/config.yaml +31 -0
  82. jetson_examples-0.2.0/reComputer/scripts/ollama/init.sh +19 -0
  83. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/ollama/run.sh +11 -11
  84. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/parler-tts/clean.sh +7 -7
  85. {jetson_examples-0.1.8/reComputer/scripts/MoveNet-Lightning → jetson_examples-0.2.0/reComputer/scripts/parler-tts}/getVersion.sh +59 -59
  86. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/parler-tts/init.sh +8 -8
  87. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/parler-tts/readme.md +63 -63
  88. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/parler-tts/run.sh +17 -17
  89. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/run.sh +48 -48
  90. jetson_examples-0.2.0/reComputer/scripts/stable-diffusion-webui/config.yaml +31 -0
  91. jetson_examples-0.2.0/reComputer/scripts/stable-diffusion-webui/init.sh +19 -0
  92. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/stable-diffusion-webui/run.sh +6 -6
  93. jetson_examples-0.2.0/reComputer/scripts/text-generation-webui/config.yaml +31 -0
  94. jetson_examples-0.2.0/reComputer/scripts/text-generation-webui/init.sh +20 -0
  95. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/text-generation-webui/run.sh +11 -11
  96. {jetson_examples-0.1.8/reComputer/scripts/depth-anything → jetson_examples-0.2.0/reComputer/scripts/ultralytics-yolo}/LICENSE +21 -21
  97. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/ultralytics-yolo/README.md +124 -124
  98. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/ultralytics-yolo/clean.sh +6 -6
  99. {jetson_examples-0.1.8/reComputer/scripts/yolov10 → jetson_examples-0.2.0/reComputer/scripts/ultralytics-yolo}/config.yaml +31 -31
  100. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/ultralytics-yolo/init.sh +4 -4
  101. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/ultralytics-yolo/run.sh +26 -26
  102. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/update.sh +26 -26
  103. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/utils.sh +169 -166
  104. jetson_examples-0.2.0/reComputer/scripts/whisper/config.yaml +31 -0
  105. jetson_examples-0.2.0/reComputer/scripts/whisper/init.sh +19 -0
  106. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/whisper/run.sh +7 -7
  107. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov10/Dockerfile +13 -13
  108. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov10/README.md +71 -71
  109. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov10/clean.sh +4 -4
  110. {jetson_examples-0.1.8/reComputer/scripts/yolov8-rail-inspection → jetson_examples-0.2.0/reComputer/scripts/yolov10}/config.yaml +31 -31
  111. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov10/init.sh +20 -20
  112. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov10/run.sh +7 -7
  113. {jetson_examples-0.1.8/reComputer/scripts/ultralytics-yolo → jetson_examples-0.2.0/reComputer/scripts/yolov8-rail-inspection}/config.yaml +31 -31
  114. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov8-rail-inspection/init.sh +5 -5
  115. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov8-rail-inspection/readme.md +35 -35
  116. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov8-rail-inspection/run.sh +21 -21
  117. jetson_examples-0.1.8/reComputer/scripts/audiocraft/clean.sh +0 -5
  118. jetson_examples-0.1.8/reComputer/scripts/comfyui/config.yaml +0 -29
  119. jetson_examples-0.1.8/reComputer/scripts/comfyui/init.sh +0 -163
  120. jetson_examples-0.1.8/reComputer/scripts/depth-anything/init.sh +0 -164
  121. jetson_examples-0.1.8/reComputer/scripts/depth-anything-v2/config.yaml +0 -31
  122. jetson_examples-0.1.8/reComputer/scripts/depth-anything-v2/init.sh +0 -164
  123. jetson_examples-0.1.8/reComputer/scripts/llama-factory/init.sh +0 -52
  124. jetson_examples-0.1.8/reComputer/scripts/llava/clean.sh +0 -4
  125. jetson_examples-0.1.8/reComputer/scripts/llava/init.sh +0 -16
  126. jetson_examples-0.1.8/reComputer/scripts/llava-v1.5-7b/init.sh +0 -16
  127. jetson_examples-0.1.8/reComputer/scripts/llava-v1.6-vicuna-7b/init.sh +0 -16
  128. jetson_examples-0.1.8/reComputer/scripts/nanodb/init.sh +0 -16
  129. jetson_examples-0.1.8/reComputer/scripts/nanoowl/init.sh +0 -16
  130. jetson_examples-0.1.8/reComputer/scripts/ollama/init.sh +0 -16
  131. jetson_examples-0.1.8/reComputer/scripts/stable-diffusion-webui/init.sh +0 -16
  132. jetson_examples-0.1.8/reComputer/scripts/text-generation-webui/init.sh +0 -16
  133. jetson_examples-0.1.8/reComputer/scripts/whisper/init.sh +0 -16
  134. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/jetson_examples.egg-info/dependency_links.txt +0 -0
  135. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/jetson_examples.egg-info/entry_points.txt +0 -0
  136. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/jetson_examples.egg-info/top_level.txt +0 -0
  137. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llama-factory/assets/llama-factory-Jetson.png +0 -0
  138. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llama-factory/assets/training.gif +0 -0
  139. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/llama-factory/assets/webui.png +0 -0
  140. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/reComputer/scripts/yolov10/assets/webui.png +0 -0
  141. {jetson_examples-0.1.8 → jetson_examples-0.2.0}/setup.cfg +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 luozhixin
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 luozhixin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jetson-examples
3
- Version: 0.1.8
3
+ Version: 0.2.0
4
4
  Summary: Running Gen AI models and applications on NVIDIA Jetson devices with one-line command
5
5
  Author-email: luozhixin <zhixin.luo@seeed.cc>
6
6
  Project-URL: Homepage, https://github.com/Seeed-Projects/jetson-examples
@@ -1,111 +1,111 @@
1
- # jetson-examples
2
-
3
- <div align="">
4
- <img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
5
- </dev>
6
-
7
- [![Discord](https://dcbadge.vercel.app/api/server/5BQCkty7vN?style=flat&compact=true)](https://discord.gg/5BQCkty7vN)
8
-
9
- This repository provides examples for running AI models and applications on [NVIDIA Jetson devices](https://www.seeedstudio.com/reComputer-J4012-p-5586.html) with a single command.
10
-
11
- This repo builds upon the work of the [jetson-containers](https://github.com/dusty-nv/jetson-containers), [ultralytics](https://github.com/ultralytics/ultralytics) and other excellent projects.
12
-
13
- ## Features
14
- - 🚀 **Easy Deployment:** Deploy state-of-the-art AI models on Jetson devices in one line.
15
- - 🔄 **Versatile Examples:** Supports text generation, image generation, computer vision and so on.
16
- - ⚡ **Optimized for Jetson:** Leverages Nvidia Jetson hardware for efficient performance.
17
-
18
-
19
- ## Install
20
- To install the package, run:
21
-
22
- ```sh
23
- pip3 install jetson-examples
24
- ```
25
-
26
- > Notes:
27
- > - Check [here](./docs/install.md) for more installation methods
28
- > - To upgrade to the latest version, use: `pip3 install jetson-examples --upgrade`.
29
-
30
-
31
-
32
- ## Quickstart
33
- To run and chat with [LLaVA](https://www.jetson-ai-lab.com/tutorial_llava.html), execute:
34
-
35
- ```sh
36
- reComputer run llava
37
- ```
38
- <div align="center">
39
- <img alt="jetson" width="1200px" src="./docs/assets/llava.png">
40
- </div>
41
-
42
- ## Example list
43
-
44
- Here are some examples that can be run:
45
-
46
- | Example | Type | Model/Data Size | Docker Image Size | Command |
47
- | ------------------------------------------------ | ------------------------ | --------------- | ---------- | --------------------------------------- |
48
- | 🆕 llama-factory | Finetune LLM | | 13.5GB | `reComputer run llama-factory` |
49
- | 🆕 [ComfyUI](/reComputer/scripts/comfyui/README.md) |Computer Vision | | 20GB | `reComputer run comfyui` |
50
- | [Depth-Anything-V2](/reComputer/scripts/depth-anything-v2/README.md) |Computer Vision | | 15GB | `reComputer run depth-anything-v2` |
51
- | [Depth-Anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
52
- | [Yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
53
- | Llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
54
- | [Ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
55
- | LLaVA | Text + Vision (VLM) | 13GB | 14.4GB | `reComputer run llava` |
56
- | Live LLaVA | Text + Vision (VLM) | 13GB | 20.3GB | `reComputer run live-llava` |
57
- | Stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
58
- | Nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
59
- | [Nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
60
- | Whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
61
- | [Yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) | Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
62
- | [Ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) | Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
63
- | [TensorFlow MoveNet Thunder](/reComputer/scripts/MoveNet-Thunder/readme.md) |Computer Vision | | 7.7GB | `reComputer run MoveNet-Thunder` |
64
- | [Parler-TTS mini: expresso](/reComputer/scripts/parler-tts/readme.md) | Audio | | 6.9GB | `reComputer run parler-tts` |
65
-
66
-
67
- > Note: You should have enough space to run example, like `LLaVA`, at least `27.4GB` totally
68
-
69
- More Examples can be found [examples.md](./docs/examples.md)
70
-
71
- ## Calling Contributors Join Us!
72
-
73
- ### How to work with us?
74
-
75
- Want to add your own example? Check out the [development guide](./docs/develop.md).
76
-
77
- We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
78
-
79
- This open call is listed in our [Contributor Project](https://github.com/orgs/Seeed-Studio/projects/6/views/1?filterQuery=jetson&pane=issue&itemId=64891723). If this is your first time joining us, [click here](https://github.com/orgs/Seeed-Studio/projects/6/views/1?pane=issue&itemId=30957479) to learn how the project works. We follow the steps with:
80
-
81
-
82
- - Assignments: We offer a variety of assignments to enhance wiki content, each with a detailed description.
83
- - Submission: Contributors can submit their content via a Pull Request after completing the assignments.
84
- - Review: Maintainers will merge the submission and record the contributions.
85
-
86
- **Contributors receive a $250 cash bonus as a token of appreciation.**
87
-
88
- For any questions or further information, feel free to reach out via the GitHub issues page or contact edgeai@seeed.cc
89
-
90
-
91
-
92
- ## TODO List
93
-
94
- - [ ] detect host environment and install what we need
95
- - [ ] all type jetson support checking list
96
- - [ ] try jetpack 6.0
97
- - [ ] check disk space enough or not before run
98
- - [ ] allow to setting some configs, such as `BASE_PATH`
99
- - [ ] support jetson-containers update
100
- - [ ] better table to show example's difference
101
-
102
-
103
-
104
- ## License
105
- This project is licensed under the MIT License.
106
-
107
- ## Resources
108
- - https://github.com/dusty-nv/jetson-containers
109
- - https://www.jetson-ai-lab.com/
110
- - https://www.ultralytics.com/
111
-
1
+ # jetson-examples
2
+
3
+ <div align="">
4
+ <img alt="jetson" width="1200px" src="https://files.seeedstudio.com/wiki/reComputer-Jetson/jetson-examples/Jetson1200x300.png">
5
+ </dev>
6
+
7
+ [![Discord](https://dcbadge.vercel.app/api/server/5BQCkty7vN?style=flat&compact=true)](https://discord.gg/5BQCkty7vN)
8
+
9
+ This repository provides examples for running AI models and applications on [NVIDIA Jetson devices](https://www.seeedstudio.com/reComputer-J4012-p-5586.html) with a single command.
10
+
11
+ This repo builds upon the work of the [jetson-containers](https://github.com/dusty-nv/jetson-containers), [ultralytics](https://github.com/ultralytics/ultralytics) and other excellent projects.
12
+
13
+ ## Features
14
+ - 🚀 **Easy Deployment:** Deploy state-of-the-art AI models on Jetson devices in one line.
15
+ - 🔄 **Versatile Examples:** Supports text generation, image generation, computer vision and so on.
16
+ - ⚡ **Optimized for Jetson:** Leverages Nvidia Jetson hardware for efficient performance.
17
+
18
+
19
+ ## Install
20
+ To install the package, run:
21
+
22
+ ```sh
23
+ pip3 install jetson-examples
24
+ ```
25
+
26
+ > Notes:
27
+ > - Check [here](./docs/install.md) for more installation methods
28
+ > - To upgrade to the latest version, use: `pip3 install jetson-examples --upgrade`.
29
+
30
+
31
+
32
+ ## Quickstart
33
+ To run and chat with [LLaVA](https://www.jetson-ai-lab.com/tutorial_llava.html), execute:
34
+
35
+ ```sh
36
+ reComputer run llava
37
+ ```
38
+ <div align="center">
39
+ <img alt="jetson" width="1200px" src="./docs/assets/llava.png">
40
+ </div>
41
+
42
+ ## Example list
43
+
44
+ Here are some examples that can be run:
45
+
46
+ | Example | Type | Model/Data Size | Docker Image Size | Command |
47
+ | ------------------------------------------------ | ------------------------ | --------------- | ---------- | --------------------------------------- |
48
+ | 🆕 llama-factory | Finetune LLM | | 13.5GB | `reComputer run llama-factory` |
49
+ | 🆕 [ComfyUI](/reComputer/scripts/comfyui/README.md) |Computer Vision | | 20GB | `reComputer run comfyui` |
50
+ | [Depth-Anything-V2](/reComputer/scripts/depth-anything-v2/README.md) |Computer Vision | | 15GB | `reComputer run depth-anything-v2` |
51
+ | [Depth-Anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
52
+ | [Yolov10](/reComputer/scripts/yolov10/README.md) | Computer Vision | 7.2M | 5.74 GB | `reComputer run yolov10` |
53
+ | Llama3 | Text (LLM) | 4.9GB | 10.5GB | `reComputer run llama3` |
54
+ | [Ollama](https://github.com/ollama/ollama) | Inference Server | * | 10.5GB | `reComputer run ollama` |
55
+ | LLaVA | Text + Vision (VLM) | 13GB | 14.4GB | `reComputer run llava` |
56
+ | Live LLaVA | Text + Vision (VLM) | 13GB | 20.3GB | `reComputer run live-llava` |
57
+ | Stable-diffusion-webui | Image Generation | 3.97G | 7.3GB | `reComputer run stable-diffusion-webui` |
58
+ | Nanoowl | Vision Transformers(ViT) | 613MB | 15.1GB | `reComputer run nanoowl` |
59
+ | [Nanodb](../reComputer/scripts/nanodb/readme.md) | Vector Database | 76GB | 7.0GB | `reComputer run nanodb` |
60
+ | Whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
61
+ | [Yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) | Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
62
+ | [Ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) | Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
63
+ | [TensorFlow MoveNet Thunder](/reComputer/scripts/MoveNet-Thunder/readme.md) |Computer Vision | | 7.7GB | `reComputer run MoveNet-Thunder` |
64
+ | [Parler-TTS mini: expresso](/reComputer/scripts/parler-tts/readme.md) | Audio | | 6.9GB | `reComputer run parler-tts` |
65
+
66
+
67
+ > Note: You should have enough space to run example, like `LLaVA`, at least `27.4GB` totally
68
+
69
+ More Examples can be found [examples.md](./docs/examples.md)
70
+
71
+ ## Calling Contributors Join Us!
72
+
73
+ ### How to work with us?
74
+
75
+ Want to add your own example? Check out the [development guide](./docs/develop.md).
76
+
77
+ We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏
78
+
79
+ This open call is listed in our [Contributor Project](https://github.com/orgs/Seeed-Studio/projects/6/views/1?filterQuery=jetson&pane=issue&itemId=64891723). If this is your first time joining us, [click here](https://github.com/orgs/Seeed-Studio/projects/6/views/1?pane=issue&itemId=30957479) to learn how the project works. We follow the steps with:
80
+
81
+
82
+ - Assignments: We offer a variety of assignments to enhance wiki content, each with a detailed description.
83
+ - Submission: Contributors can submit their content via a Pull Request after completing the assignments.
84
+ - Review: Maintainers will merge the submission and record the contributions.
85
+
86
+ **Contributors receive a $250 cash bonus as a token of appreciation.**
87
+
88
+ For any questions or further information, feel free to reach out via the GitHub issues page or contact edgeai@seeed.cc
89
+
90
+
91
+
92
+ ## TODO List
93
+
94
+ - [ ] detect host environment and install what we need
95
+ - [ ] all type jetson support checking list
96
+ - [ ] try jetpack 6.0
97
+ - [ ] check disk space enough or not before run
98
+ - [ ] allow to setting some configs, such as `BASE_PATH`
99
+ - [ ] support jetson-containers update
100
+ - [ ] better table to show example's difference
101
+
102
+
103
+
104
+ ## License
105
+ This project is licensed under the MIT License.
106
+
107
+ ## Resources
108
+ - https://github.com/dusty-nv/jetson-containers
109
+ - https://www.jetson-ai-lab.com/
110
+ - https://www.ultralytics.com/
111
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jetson-examples
3
- Version: 0.1.8
3
+ Version: 0.2.0
4
4
  Summary: Running Gen AI models and applications on NVIDIA Jetson devices with one-line command
5
5
  Author-email: luozhixin <zhixin.luo@seeed.cc>
6
6
  Project-URL: Homepage, https://github.com/Seeed-Projects/jetson-examples
@@ -26,10 +26,12 @@ reComputer/scripts/MoveNet-Thunder/run.sh
26
26
  reComputer/scripts/MoveNetJS/clean.sh
27
27
  reComputer/scripts/MoveNetJS/readme.md
28
28
  reComputer/scripts/MoveNetJS/run.sh
29
+ reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/config.yaml
29
30
  reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/init.sh
30
31
  reComputer/scripts/Sheared-LLaMA-2.7B-ShareGPT/run.sh
31
32
  reComputer/scripts/audiocraft/README.md
32
33
  reComputer/scripts/audiocraft/clean.sh
34
+ reComputer/scripts/audiocraft/config.yaml
33
35
  reComputer/scripts/audiocraft/init.sh
34
36
  reComputer/scripts/audiocraft/run.sh
35
37
  reComputer/scripts/comfyui/LICENSE
@@ -56,27 +58,35 @@ reComputer/scripts/live-llava/init.sh
56
58
  reComputer/scripts/live-llava/run.sh
57
59
  reComputer/scripts/llama-factory/README.md
58
60
  reComputer/scripts/llama-factory/clean.sh
61
+ reComputer/scripts/llama-factory/config.yaml
59
62
  reComputer/scripts/llama-factory/init.sh
60
63
  reComputer/scripts/llama-factory/run.sh
61
64
  reComputer/scripts/llama-factory/assets/llama-factory-Jetson.png
62
65
  reComputer/scripts/llama-factory/assets/training.gif
63
66
  reComputer/scripts/llama-factory/assets/webui.png
64
67
  reComputer/scripts/llama3/clean.sh
68
+ reComputer/scripts/llama3/config.yaml
65
69
  reComputer/scripts/llama3/init.sh
66
70
  reComputer/scripts/llama3/run.sh
67
71
  reComputer/scripts/llava/clean.sh
72
+ reComputer/scripts/llava/config.yaml
68
73
  reComputer/scripts/llava/init.sh
69
74
  reComputer/scripts/llava/run.sh
75
+ reComputer/scripts/llava-v1.5-7b/config.yaml
70
76
  reComputer/scripts/llava-v1.5-7b/init.sh
71
77
  reComputer/scripts/llava-v1.5-7b/run.sh
78
+ reComputer/scripts/llava-v1.6-vicuna-7b/config.yaml
72
79
  reComputer/scripts/llava-v1.6-vicuna-7b/init.sh
73
80
  reComputer/scripts/llava-v1.6-vicuna-7b/run.sh
81
+ reComputer/scripts/nanodb/config.yaml
74
82
  reComputer/scripts/nanodb/init.sh
75
83
  reComputer/scripts/nanodb/readme.md
76
84
  reComputer/scripts/nanodb/run.sh
85
+ reComputer/scripts/nanoowl/config.yaml
77
86
  reComputer/scripts/nanoowl/init.sh
78
87
  reComputer/scripts/nanoowl/run.sh
79
88
  reComputer/scripts/ollama/clean.sh
89
+ reComputer/scripts/ollama/config.yaml
80
90
  reComputer/scripts/ollama/init.sh
81
91
  reComputer/scripts/ollama/run.sh
82
92
  reComputer/scripts/parler-tts/clean.sh
@@ -84,8 +94,10 @@ reComputer/scripts/parler-tts/getVersion.sh
84
94
  reComputer/scripts/parler-tts/init.sh
85
95
  reComputer/scripts/parler-tts/readme.md
86
96
  reComputer/scripts/parler-tts/run.sh
97
+ reComputer/scripts/stable-diffusion-webui/config.yaml
87
98
  reComputer/scripts/stable-diffusion-webui/init.sh
88
99
  reComputer/scripts/stable-diffusion-webui/run.sh
100
+ reComputer/scripts/text-generation-webui/config.yaml
89
101
  reComputer/scripts/text-generation-webui/init.sh
90
102
  reComputer/scripts/text-generation-webui/run.sh
91
103
  reComputer/scripts/ultralytics-yolo/LICENSE
@@ -94,6 +106,7 @@ reComputer/scripts/ultralytics-yolo/clean.sh
94
106
  reComputer/scripts/ultralytics-yolo/config.yaml
95
107
  reComputer/scripts/ultralytics-yolo/init.sh
96
108
  reComputer/scripts/ultralytics-yolo/run.sh
109
+ reComputer/scripts/whisper/config.yaml
97
110
  reComputer/scripts/whisper/init.sh
98
111
  reComputer/scripts/whisper/run.sh
99
112
  reComputer/scripts/yolov10/Dockerfile
@@ -1,42 +1,42 @@
1
- [build-system]
2
- requires = ["setuptools>=57.0.0", "wheel"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "jetson-examples"
7
- version = "0.1.8"
8
- authors = [{ name = "luozhixin", email = "zhixin.luo@seeed.cc" }]
9
- description = "Running Gen AI models and applications on NVIDIA Jetson devices with one-line command"
10
- readme = "README.md"
11
- requires-python = ">=3.8"
12
- classifiers = [
13
- "Programming Language :: Python :: 3",
14
- "License :: OSI Approved :: MIT License",
15
- "Operating System :: OS Independent",
16
- ]
17
- keywords = [
18
- "llama",
19
- "llava",
20
- "gpt",
21
- "llm",
22
- "nvidia",
23
- "jetson",
24
- "multimodal",
25
- "jetson orin",
26
- ]
27
-
28
- [project.scripts]
29
- reComputer = "reComputer.main:run_script"
30
-
31
- [project.urls]
32
- Homepage = "https://github.com/Seeed-Projects/jetson-examples"
33
- Issues = "https://github.com/Seeed-Projects/jetson-examples/issues"
34
-
35
- # Tools settings -------------------------------------------------------------------------------------------------------
36
-
37
- [tool.setuptools.packages.find]
38
- namespaces = true
39
- where = ["."]
40
-
41
- [tool.setuptools.package-data]
42
- "reComputer.scripts" = ["**/*"]
1
+ [build-system]
2
+ requires = ["setuptools>=57.0.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "jetson-examples"
7
+ version = "0.2.0"
8
+ authors = [{ name = "luozhixin", email = "zhixin.luo@seeed.cc" }]
9
+ description = "Running Gen AI models and applications on NVIDIA Jetson devices with one-line command"
10
+ readme = "README.md"
11
+ requires-python = ">=3.8"
12
+ classifiers = [
13
+ "Programming Language :: Python :: 3",
14
+ "License :: OSI Approved :: MIT License",
15
+ "Operating System :: OS Independent",
16
+ ]
17
+ keywords = [
18
+ "llama",
19
+ "llava",
20
+ "gpt",
21
+ "llm",
22
+ "nvidia",
23
+ "jetson",
24
+ "multimodal",
25
+ "jetson orin",
26
+ ]
27
+
28
+ [project.scripts]
29
+ reComputer = "reComputer.main:run_script"
30
+
31
+ [project.urls]
32
+ Homepage = "https://github.com/Seeed-Projects/jetson-examples"
33
+ Issues = "https://github.com/Seeed-Projects/jetson-examples/issues"
34
+
35
+ # Tools settings -------------------------------------------------------------------------------------------------------
36
+
37
+ [tool.setuptools.packages.find]
38
+ namespaces = true
39
+ where = ["."]
40
+
41
+ [tool.setuptools.package-data]
42
+ "reComputer.scripts" = ["**/*"]
@@ -1 +1 @@
1
- __version__ = "0.1.3"
1
+ __version__ = "0.1.3"
@@ -1,60 +1,60 @@
1
- import os
2
- import subprocess
3
- import sys
4
-
5
-
6
- def path_of_script(name):
7
- script_path = os.path.join(os.path.dirname(__file__), "scripts", name)
8
- return script_path
9
-
10
-
11
- def list_all_examples(folder_path):
12
- directory_names = []
13
- for item in os.listdir(folder_path):
14
- item_path = os.path.join(folder_path, item)
15
- if os.path.isdir(item_path):
16
- directory_names.append(item)
17
- return directory_names
18
-
19
-
20
- def run_script():
21
-
22
- if len(sys.argv) == 3:
23
- if sys.argv[1] == "run":
24
- example_name = sys.argv[2]
25
- # TODO: maybe use python instead of shell is better
26
- subprocess.run(["bash", path_of_script("run.sh"), example_name])
27
- elif sys.argv[1] == "clean":
28
- example_name = sys.argv[2]
29
- subprocess.run(["bash", path_of_script("clean.sh"), example_name])
30
- else:
31
- print("Only Support `run` or `clean` for now. try `reComputer run llava` .")
32
- elif len(sys.argv) == 2:
33
- if sys.argv[1] == "check":
34
- subprocess.run(["bash", path_of_script("check.sh")])
35
- elif sys.argv[1] == "update":
36
- subprocess.run(["bash", path_of_script("update.sh")])
37
- elif sys.argv[1] == "list":
38
- example_folder = os.path.join(os.path.dirname(__file__), "scripts")
39
- directories = list_all_examples(example_folder)
40
- print("example list:")
41
- index = 1
42
- for directory in directories:
43
- print("{:03d}".format(index), "|", directory)
44
- index += 1
45
- print("-end-")
46
- else:
47
- print("reComputer help:")
48
- print("---")
49
- print("`reComputer check` | check system.")
50
- print("`reComputer update` | update jetson-ai-lab.")
51
- print("`reComputer list` | list all examples.")
52
- print("`reComputer run xxx` | run an example.")
53
- print("`reComputer clean xxx` | clean an example's data.")
54
- print("---")
55
- else:
56
- print("Error Usage! try `reComputer help`.")
57
-
58
-
59
- if __name__ == "__main__":
60
- pass
1
+ import os
2
+ import subprocess
3
+ import sys
4
+
5
+
6
+ def path_of_script(name):
7
+ script_path = os.path.join(os.path.dirname(__file__), "scripts", name)
8
+ return script_path
9
+
10
+
11
+ def list_all_examples(folder_path):
12
+ directory_names = []
13
+ for item in os.listdir(folder_path):
14
+ item_path = os.path.join(folder_path, item)
15
+ if os.path.isdir(item_path):
16
+ directory_names.append(item)
17
+ return directory_names
18
+
19
+
20
+ def run_script():
21
+
22
+ if len(sys.argv) == 3:
23
+ if sys.argv[1] == "run":
24
+ example_name = sys.argv[2]
25
+ # TODO: maybe use python instead of shell is better
26
+ subprocess.run(["bash", path_of_script("run.sh"), example_name])
27
+ elif sys.argv[1] == "clean":
28
+ example_name = sys.argv[2]
29
+ subprocess.run(["bash", path_of_script("clean.sh"), example_name])
30
+ else:
31
+ print("Only Support `run` or `clean` for now. try `reComputer run llava` .")
32
+ elif len(sys.argv) == 2:
33
+ if sys.argv[1] == "check":
34
+ subprocess.run(["bash", path_of_script("check.sh")])
35
+ elif sys.argv[1] == "update":
36
+ subprocess.run(["bash", path_of_script("update.sh")])
37
+ elif sys.argv[1] == "list":
38
+ example_folder = os.path.join(os.path.dirname(__file__), "scripts")
39
+ directories = list_all_examples(example_folder)
40
+ print("example list:")
41
+ index = 1
42
+ for directory in directories:
43
+ print("{:03d}".format(index), "|", directory)
44
+ index += 1
45
+ print("-end-")
46
+ else:
47
+ print("reComputer help:")
48
+ print("---")
49
+ print("`reComputer check` | check system.")
50
+ print("`reComputer update` | update jetson-ai-lab.")
51
+ print("`reComputer list` | list all examples.")
52
+ print("`reComputer run xxx` | run an example.")
53
+ print("`reComputer clean xxx` | clean an example's data.")
54
+ print("---")
55
+ else:
56
+ print("Error Usage! try `reComputer help`.")
57
+
58
+
59
+ if __name__ == "__main__":
60
+ pass
@@ -1,8 +1,8 @@
1
- #!/bin/bash
2
-
3
-
4
- # get image
5
- source ./getVersion.sh
6
-
7
- # remove docker image
8
- sudo docker rmi feiticeir0/movenet:tf2-${IMAGE_TAG}
1
+ #!/bin/bash
2
+
3
+
4
+ # get image
5
+ source ./getVersion.sh
6
+
7
+ # remove docker image
8
+ sudo docker rmi feiticeir0/movenet:tf2-${IMAGE_TAG}