tt-studio 2.12.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 (710) hide show
  1. tt_studio-2.12.0/.env.default +194 -0
  2. tt_studio-2.12.0/.gitignore +109 -0
  3. tt_studio-2.12.0/LICENSE +240 -0
  4. tt_studio-2.12.0/PKG-INFO +72 -0
  5. tt_studio-2.12.0/app/README.md +116 -0
  6. tt_studio-2.12.0/app/agent/.dockerignore +22 -0
  7. tt_studio-2.12.0/app/agent/Agent_flow.png +0 -0
  8. tt_studio-2.12.0/app/agent/CODE_TOOL_SETUP.md +191 -0
  9. tt_studio-2.12.0/app/agent/Dockerfile +33 -0
  10. tt_studio-2.12.0/app/agent/IMPROVEMENTS.md +123 -0
  11. tt_studio-2.12.0/app/agent/README.md +186 -0
  12. tt_studio-2.12.0/app/agent/__init__.py +23 -0
  13. tt_studio-2.12.0/app/agent/agent.py +985 -0
  14. tt_studio-2.12.0/app/agent/agent_flow.svg +1 -0
  15. tt_studio-2.12.0/app/agent/agent_flow_chart.png +0 -0
  16. tt_studio-2.12.0/app/agent/code_tool.py +164 -0
  17. tt_studio-2.12.0/app/agent/config.py +150 -0
  18. tt_studio-2.12.0/app/agent/custom_llm.py +442 -0
  19. tt_studio-2.12.0/app/agent/health_monitor.py +149 -0
  20. tt_studio-2.12.0/app/agent/improved_react_agent.py +193 -0
  21. tt_studio-2.12.0/app/agent/llm_discovery.py +231 -0
  22. tt_studio-2.12.0/app/agent/requirements.txt +22 -0
  23. tt_studio-2.12.0/app/agent/test_code_tool.py +92 -0
  24. tt_studio-2.12.0/app/agent/utils.py +393 -0
  25. tt_studio-2.12.0/app/backend/.dockerignore +1 -0
  26. tt_studio-2.12.0/app/backend/Dockerfile +76 -0
  27. tt_studio-2.12.0/app/backend/README.md +215 -0
  28. tt_studio-2.12.0/app/backend/api/__init__.py +4 -0
  29. tt_studio-2.12.0/app/backend/api/asgi.py +31 -0
  30. tt_studio-2.12.0/app/backend/api/hf_access.py +91 -0
  31. tt_studio-2.12.0/app/backend/api/settings.py +200 -0
  32. tt_studio-2.12.0/app/backend/api/tests.py +150 -0
  33. tt_studio-2.12.0/app/backend/api/urls.py +40 -0
  34. tt_studio-2.12.0/app/backend/api/views.py +174 -0
  35. tt_studio-2.12.0/app/backend/api/wsgi.py +20 -0
  36. tt_studio-2.12.0/app/backend/board_control/__init__.py +4 -0
  37. tt_studio-2.12.0/app/backend/board_control/apps.py +9 -0
  38. tt_studio-2.12.0/app/backend/board_control/models.py +78 -0
  39. tt_studio-2.12.0/app/backend/board_control/services.py +697 -0
  40. tt_studio-2.12.0/app/backend/board_control/urls.py +26 -0
  41. tt_studio-2.12.0/app/backend/board_control/views.py +304 -0
  42. tt_studio-2.12.0/app/backend/docker_control/__init__.py +4 -0
  43. tt_studio-2.12.0/app/backend/docker_control/admin.py +3 -0
  44. tt_studio-2.12.0/app/backend/docker_control/apps.py +41 -0
  45. tt_studio-2.12.0/app/backend/docker_control/artifact_resolution.py +129 -0
  46. tt_studio-2.12.0/app/backend/docker_control/chip_allocator.py +692 -0
  47. tt_studio-2.12.0/app/backend/docker_control/community_deploy.py +262 -0
  48. tt_studio-2.12.0/app/backend/docker_control/deploy_guards.py +134 -0
  49. tt_studio-2.12.0/app/backend/docker_control/deployment_store.py +361 -0
  50. tt_studio-2.12.0/app/backend/docker_control/deployment_sync.py +371 -0
  51. tt_studio-2.12.0/app/backend/docker_control/docker_control_client.py +451 -0
  52. tt_studio-2.12.0/app/backend/docker_control/docker_utils.py +2279 -0
  53. tt_studio-2.12.0/app/backend/docker_control/forms.py +14 -0
  54. tt_studio-2.12.0/app/backend/docker_control/health_monitor.py +363 -0
  55. tt_studio-2.12.0/app/backend/docker_control/image_pull.py +313 -0
  56. tt_studio-2.12.0/app/backend/docker_control/image_pull_store.py +307 -0
  57. tt_studio-2.12.0/app/backend/docker_control/launchers/__init__.py +59 -0
  58. tt_studio-2.12.0/app/backend/docker_control/launchers/base.py +77 -0
  59. tt_studio-2.12.0/app/backend/docker_control/launchers/inference_server.py +58 -0
  60. tt_studio-2.12.0/app/backend/docker_control/launchers/model_manager.py +89 -0
  61. tt_studio-2.12.0/app/backend/docker_control/migrations/__init__.py +4 -0
  62. tt_studio-2.12.0/app/backend/docker_control/models.py +7 -0
  63. tt_studio-2.12.0/app/backend/docker_control/serializers.py +51 -0
  64. tt_studio-2.12.0/app/backend/docker_control/templates/docker_control/deployment_result.html +21 -0
  65. tt_studio-2.12.0/app/backend/docker_control/templates/docker_control/start_form.html +19 -0
  66. tt_studio-2.12.0/app/backend/docker_control/test_chip_group_allocation.py +97 -0
  67. tt_studio-2.12.0/app/backend/docker_control/test_community_listing.py +220 -0
  68. tt_studio-2.12.0/app/backend/docker_control/test_community_models.py +677 -0
  69. tt_studio-2.12.0/app/backend/docker_control/test_community_stop.py +117 -0
  70. tt_studio-2.12.0/app/backend/docker_control/test_deploy_reservation.py +292 -0
  71. tt_studio-2.12.0/app/backend/docker_control/test_discover_containers.py +51 -0
  72. tt_studio-2.12.0/app/backend/docker_control/test_docker_control_api.py +358 -0
  73. tt_studio-2.12.0/app/backend/docker_control/test_docker_utils.py +183 -0
  74. tt_studio-2.12.0/app/backend/docker_control/test_health_monitor.py +156 -0
  75. tt_studio-2.12.0/app/backend/docker_control/test_hf_detection.py +73 -0
  76. tt_studio-2.12.0/app/backend/docker_control/test_image_pull_store.py +218 -0
  77. tt_studio-2.12.0/app/backend/docker_control/tests.py +800 -0
  78. tt_studio-2.12.0/app/backend/docker_control/tt_inference_client.py +222 -0
  79. tt_studio-2.12.0/app/backend/docker_control/tt_model_client.py +222 -0
  80. tt_studio-2.12.0/app/backend/docker_control/urls.py +62 -0
  81. tt_studio-2.12.0/app/backend/docker_control/views.py +4372 -0
  82. tt_studio-2.12.0/app/backend/logs_control/__init__.py +3 -0
  83. tt_studio-2.12.0/app/backend/logs_control/support_email.py +145 -0
  84. tt_studio-2.12.0/app/backend/logs_control/test_support_email.py +147 -0
  85. tt_studio-2.12.0/app/backend/logs_control/urls.py +26 -0
  86. tt_studio-2.12.0/app/backend/logs_control/views.py +815 -0
  87. tt_studio-2.12.0/app/backend/manage.py +29 -0
  88. tt_studio-2.12.0/app/backend/model_control/__init__.py +4 -0
  89. tt_studio-2.12.0/app/backend/model_control/admin.py +7 -0
  90. tt_studio-2.12.0/app/backend/model_control/apps.py +25 -0
  91. tt_studio-2.12.0/app/backend/model_control/connection_warmer.py +170 -0
  92. tt_studio-2.12.0/app/backend/model_control/download_progress.py +354 -0
  93. tt_studio-2.12.0/app/backend/model_control/image_dialects.py +184 -0
  94. tt_studio-2.12.0/app/backend/model_control/image_generation.py +137 -0
  95. tt_studio-2.12.0/app/backend/model_control/log_classifier.py +700 -0
  96. tt_studio-2.12.0/app/backend/model_control/marketplace_utils.py +888 -0
  97. tt_studio-2.12.0/app/backend/model_control/metrics_tracker.py +165 -0
  98. tt_studio-2.12.0/app/backend/model_control/model_utils.py +630 -0
  99. tt_studio-2.12.0/app/backend/model_control/models.py +7 -0
  100. tt_studio-2.12.0/app/backend/model_control/pipeline_views.py +247 -0
  101. tt_studio-2.12.0/app/backend/model_control/serializers.py +38 -0
  102. tt_studio-2.12.0/app/backend/model_control/test_e2e.py +69 -0
  103. tt_studio-2.12.0/app/backend/model_control/test_embed_helpers.py +105 -0
  104. tt_studio-2.12.0/app/backend/model_control/test_embedding_inference.py +113 -0
  105. tt_studio-2.12.0/app/backend/model_control/test_health_check.py +34 -0
  106. tt_studio-2.12.0/app/backend/model_control/test_image_dialects.py +138 -0
  107. tt_studio-2.12.0/app/backend/model_control/test_marketplace_embedding_env.py +166 -0
  108. tt_studio-2.12.0/app/backend/model_control/test_marketplace_open_webui_auth.py +112 -0
  109. tt_studio-2.12.0/app/backend/model_control/test_model_api.py +146 -0
  110. tt_studio-2.12.0/app/backend/model_control/test_model_utils.py +106 -0
  111. tt_studio-2.12.0/app/backend/model_control/test_openai_audio.py +151 -0
  112. tt_studio-2.12.0/app/backend/model_control/test_openai_embeddings.py +113 -0
  113. tt_studio-2.12.0/app/backend/model_control/test_openai_images.py +134 -0
  114. tt_studio-2.12.0/app/backend/model_control/test_tts_fallback.py +153 -0
  115. tt_studio-2.12.0/app/backend/model_control/tests.py +7 -0
  116. tt_studio-2.12.0/app/backend/model_control/urls.py +49 -0
  117. tt_studio-2.12.0/app/backend/model_control/views.py +2462 -0
  118. tt_studio-2.12.0/app/backend/pytest.ini +3 -0
  119. tt_studio-2.12.0/app/backend/requirements.txt +47 -0
  120. tt_studio-2.12.0/app/backend/shared_config/__init__.py +4 -0
  121. tt_studio-2.12.0/app/backend/shared_config/backend_config.py +70 -0
  122. tt_studio-2.12.0/app/backend/shared_config/coding_agent_config.py +107 -0
  123. tt_studio-2.12.0/app/backend/shared_config/community_catalog_bundled.json +2266 -0
  124. tt_studio-2.12.0/app/backend/shared_config/community_model_config.py +317 -0
  125. tt_studio-2.12.0/app/backend/shared_config/community_overrides.py +153 -0
  126. tt_studio-2.12.0/app/backend/shared_config/community_overrides.toml +141 -0
  127. tt_studio-2.12.0/app/backend/shared_config/device_config.py +45 -0
  128. tt_studio-2.12.0/app/backend/shared_config/external_model_config.py +116 -0
  129. tt_studio-2.12.0/app/backend/shared_config/logger_config.py +35 -0
  130. tt_studio-2.12.0/app/backend/shared_config/marketplace_config.py +339 -0
  131. tt_studio-2.12.0/app/backend/shared_config/model_config.py +556 -0
  132. tt_studio-2.12.0/app/backend/shared_config/model_overrides.py +217 -0
  133. tt_studio-2.12.0/app/backend/shared_config/model_overrides.toml +325 -0
  134. tt_studio-2.12.0/app/backend/shared_config/model_type_config.py +22 -0
  135. tt_studio-2.12.0/app/backend/shared_config/models_from_inference_server.json +1975 -0
  136. tt_studio-2.12.0/app/backend/shared_config/setup_config.py +10 -0
  137. tt_studio-2.12.0/app/backend/shared_config/sync_models_from_inference_server.py +1070 -0
  138. tt_studio-2.12.0/app/backend/shared_config/test_coding_agent_config.py +111 -0
  139. tt_studio-2.12.0/app/backend/shared_config/test_community_overrides.py +103 -0
  140. tt_studio-2.12.0/app/backend/shared_config/test_external_model_config.py +109 -0
  141. tt_studio-2.12.0/app/backend/shared_config/test_model_config.py +55 -0
  142. tt_studio-2.12.0/app/backend/shared_config/test_sync_models.py +958 -0
  143. tt_studio-2.12.0/app/backend/shared_config/test_user_config.py +183 -0
  144. tt_studio-2.12.0/app/backend/shared_config/user_config.py +224 -0
  145. tt_studio-2.12.0/app/backend/test_no_header.py +5 -0
  146. tt_studio-2.12.0/app/backend/training_control/__init__.py +2 -0
  147. tt_studio-2.12.0/app/backend/training_control/apps.py +16 -0
  148. tt_studio-2.12.0/app/backend/training_control/test_views.py +299 -0
  149. tt_studio-2.12.0/app/backend/training_control/urls.py +22 -0
  150. tt_studio-2.12.0/app/backend/training_control/views.py +1085 -0
  151. tt_studio-2.12.0/app/backend/vector_db_control/__init__.py +5 -0
  152. tt_studio-2.12.0/app/backend/vector_db_control/apps.py +45 -0
  153. tt_studio-2.12.0/app/backend/vector_db_control/chroma.py +131 -0
  154. tt_studio-2.12.0/app/backend/vector_db_control/document_processor.py +258 -0
  155. tt_studio-2.12.0/app/backend/vector_db_control/documents.py +184 -0
  156. tt_studio-2.12.0/app/backend/vector_db_control/lexical.py +123 -0
  157. tt_studio-2.12.0/app/backend/vector_db_control/reranker.py +116 -0
  158. tt_studio-2.12.0/app/backend/vector_db_control/retrieval.py +244 -0
  159. tt_studio-2.12.0/app/backend/vector_db_control/rewrite.py +96 -0
  160. tt_studio-2.12.0/app/backend/vector_db_control/singletons.py +91 -0
  161. tt_studio-2.12.0/app/backend/vector_db_control/test_chunking.py +151 -0
  162. tt_studio-2.12.0/app/backend/vector_db_control/test_data/two_page_sample.pdf +93 -0
  163. tt_studio-2.12.0/app/backend/vector_db_control/test_embeddings.py +98 -0
  164. tt_studio-2.12.0/app/backend/vector_db_control/test_pdf_extraction.py +77 -0
  165. tt_studio-2.12.0/app/backend/vector_db_control/test_retrieval.py +200 -0
  166. tt_studio-2.12.0/app/backend/vector_db_control/test_tt_embedding_function.py +49 -0
  167. tt_studio-2.12.0/app/backend/vector_db_control/tt_embedding_function.py +47 -0
  168. tt_studio-2.12.0/app/backend/vector_db_control/urls.py +23 -0
  169. tt_studio-2.12.0/app/backend/vector_db_control/views.py +1049 -0
  170. tt_studio-2.12.0/app/backend/wakeword_control/__init__.py +0 -0
  171. tt_studio-2.12.0/app/backend/wakeword_control/apps.py +83 -0
  172. tt_studio-2.12.0/app/backend/wakeword_control/bundled_models/hey_quiet_box.onnx +0 -0
  173. tt_studio-2.12.0/app/backend/wakeword_control/consumers.py +37 -0
  174. tt_studio-2.12.0/app/backend/wakeword_control/detector.py +68 -0
  175. tt_studio-2.12.0/app/backend/wakeword_control/routing.py +11 -0
  176. tt_studio-2.12.0/app/backend/workflow_control/__init__.py +2 -0
  177. tt_studio-2.12.0/app/backend/workflow_control/admin.py +9 -0
  178. tt_studio-2.12.0/app/backend/workflow_control/apps.py +26 -0
  179. tt_studio-2.12.0/app/backend/workflow_control/executor.py +173 -0
  180. tt_studio-2.12.0/app/backend/workflow_control/handlers.py +240 -0
  181. tt_studio-2.12.0/app/backend/workflow_control/migrations/0001_initial.py +100 -0
  182. tt_studio-2.12.0/app/backend/workflow_control/migrations/__init__.py +2 -0
  183. tt_studio-2.12.0/app/backend/workflow_control/models.py +61 -0
  184. tt_studio-2.12.0/app/backend/workflow_control/serializers.py +51 -0
  185. tt_studio-2.12.0/app/backend/workflow_control/templates.py +123 -0
  186. tt_studio-2.12.0/app/backend/workflow_control/urls.py +30 -0
  187. tt_studio-2.12.0/app/backend/workflow_control/views.py +167 -0
  188. tt_studio-2.12.0/app/docker-compose.dev-mode.yml +74 -0
  189. tt_studio-2.12.0/app/docker-compose.prod.yml +38 -0
  190. tt_studio-2.12.0/app/docker-compose.skip-docker-control.yml +14 -0
  191. tt_studio-2.12.0/app/docker-compose.tt-hardware.yml +4 -0
  192. tt_studio-2.12.0/app/docker-compose.yml +270 -0
  193. tt_studio-2.12.0/app/frontend/.dockerignore +11 -0
  194. tt_studio-2.12.0/app/frontend/.gitignore +28 -0
  195. tt_studio-2.12.0/app/frontend/.prettierignore +14 -0
  196. tt_studio-2.12.0/app/frontend/.prettierrc +13 -0
  197. tt_studio-2.12.0/app/frontend/.vscode/HEADER_SETUP.md +225 -0
  198. tt_studio-2.12.0/app/frontend/Dockerfile.dev +27 -0
  199. tt_studio-2.12.0/app/frontend/Dockerfile.prod +34 -0
  200. tt_studio-2.12.0/app/frontend/HEADER_TESTING.md +73 -0
  201. tt_studio-2.12.0/app/frontend/README.md +106 -0
  202. tt_studio-2.12.0/app/frontend/components.json +17 -0
  203. tt_studio-2.12.0/app/frontend/e2e/app-render.spec.ts +81 -0
  204. tt_studio-2.12.0/app/frontend/e2e/helpers.ts +60 -0
  205. tt_studio-2.12.0/app/frontend/eslint.config.js +84 -0
  206. tt_studio-2.12.0/app/frontend/hooks/use-mobile.tsx +26 -0
  207. tt_studio-2.12.0/app/frontend/index.html +19 -0
  208. tt_studio-2.12.0/app/frontend/nginx.conf +131 -0
  209. tt_studio-2.12.0/app/frontend/package-lock.json +14163 -0
  210. tt_studio-2.12.0/app/frontend/package.json +112 -0
  211. tt_studio-2.12.0/app/frontend/playwright.config.ts +31 -0
  212. tt_studio-2.12.0/app/frontend/postcss.config.js +7 -0
  213. tt_studio-2.12.0/app/frontend/public/audio-frames-worklet.js +43 -0
  214. tt_studio-2.12.0/app/frontend/public/offline.html +220 -0
  215. tt_studio-2.12.0/app/frontend/public/placeholder.svg +7 -0
  216. tt_studio-2.12.0/app/frontend/public/sw.js +49 -0
  217. tt_studio-2.12.0/app/frontend/scripts/add-headers.js +182 -0
  218. tt_studio-2.12.0/app/frontend/scripts/check-headers-changed.js +195 -0
  219. tt_studio-2.12.0/app/frontend/src/App.css +42 -0
  220. tt_studio-2.12.0/app/frontend/src/App.tsx +53 -0
  221. tt_studio-2.12.0/app/frontend/src/api/config.ts +5 -0
  222. tt_studio-2.12.0/app/frontend/src/api/githubApi.ts +243 -0
  223. tt_studio-2.12.0/app/frontend/src/api/marketplaceApis.ts +75 -0
  224. tt_studio-2.12.0/app/frontend/src/api/modelsDeployedApis.ts +920 -0
  225. tt_studio-2.12.0/app/frontend/src/api/settingsApi.ts +95 -0
  226. tt_studio-2.12.0/app/frontend/src/api/trainingApi.ts +421 -0
  227. tt_studio-2.12.0/app/frontend/src/api/utlis.ts +14 -0
  228. tt_studio-2.12.0/app/frontend/src/api/workflowApi.ts +114 -0
  229. tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738772998942.jpg +0 -0
  230. tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773023543.jpg +0 -0
  231. tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773046851.jpg +0 -0
  232. tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773136575.jpg +0 -0
  233. tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773243000.jpg +0 -0
  234. tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773382747.jpg +0 -0
  235. tt_studio-2.12.0/app/frontend/src/assets/app-logos/anything-llm.svg +1 -0
  236. tt_studio-2.12.0/app/frontend/src/assets/app-logos/claudecode.svg +1 -0
  237. tt_studio-2.12.0/app/frontend/src/assets/app-logos/dify.svg +7 -0
  238. tt_studio-2.12.0/app/frontend/src/assets/app-logos/openclaw.svg +1 -0
  239. tt_studio-2.12.0/app/frontend/src/assets/app-logos/opencode.svg +4 -0
  240. tt_studio-2.12.0/app/frontend/src/assets/app-logos/openwebui.svg +1 -0
  241. tt_studio-2.12.0/app/frontend/src/components/BackendDisconnectedOverlay.tsx +101 -0
  242. tt_studio-2.12.0/app/frontend/src/components/BoardBadge.tsx +70 -0
  243. tt_studio-2.12.0/app/frontend/src/components/ChipConfigStep.tsx +448 -0
  244. tt_studio-2.12.0/app/frontend/src/components/ChipStatusDisplay.tsx +190 -0
  245. tt_studio-2.12.0/app/frontend/src/components/ConfirmDialog.tsx +52 -0
  246. tt_studio-2.12.0/app/frontend/src/components/CopyableText.tsx +58 -0
  247. tt_studio-2.12.0/app/frontend/src/components/CustomToaster.tsx +267 -0
  248. tt_studio-2.12.0/app/frontend/src/components/DarkModeToggle.tsx +34 -0
  249. tt_studio-2.12.0/app/frontend/src/components/DeployModelStep.tsx +666 -0
  250. tt_studio-2.12.0/app/frontend/src/components/DeployedModelsWarning.tsx +188 -0
  251. tt_studio-2.12.0/app/frontend/src/components/DeploymentTray.tsx +395 -0
  252. tt_studio-2.12.0/app/frontend/src/components/FilesUploader.tsx +72 -0
  253. tt_studio-2.12.0/app/frontend/src/components/FirstStepForm.tsx +656 -0
  254. tt_studio-2.12.0/app/frontend/src/components/Footer.tsx +692 -0
  255. tt_studio-2.12.0/app/frontend/src/components/HealthBadge.tsx +230 -0
  256. tt_studio-2.12.0/app/frontend/src/components/HelpIcon.tsx +43 -0
  257. tt_studio-2.12.0/app/frontend/src/components/HfAccessCheck.tsx +195 -0
  258. tt_studio-2.12.0/app/frontend/src/components/HfGatePanel.tsx +113 -0
  259. tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/ModelAPIInfo.tsx +132 -0
  260. tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/index.ts +8 -0
  261. tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/EndpointsTab.tsx +244 -0
  262. tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/ExamplesTab.tsx +412 -0
  263. tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/TestTab.tsx +194 -0
  264. tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/index.ts +6 -0
  265. tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/useModelAPIInfo.ts +361 -0
  266. tt_studio-2.12.0/app/frontend/src/components/ModelsDeployedSkeleton.tsx +26 -0
  267. tt_studio-2.12.0/app/frontend/src/components/ModelsDeployedTable.tsx +9 -0
  268. tt_studio-2.12.0/app/frontend/src/components/MultiCardResetDialog.tsx +718 -0
  269. tt_studio-2.12.0/app/frontend/src/components/NavBar.tsx +1260 -0
  270. tt_studio-2.12.0/app/frontend/src/components/NoModelsDeployed.tsx +42 -0
  271. tt_studio-2.12.0/app/frontend/src/components/README_API_Info.md +119 -0
  272. tt_studio-2.12.0/app/frontend/src/components/ResetIcon.tsx +540 -0
  273. tt_studio-2.12.0/app/frontend/src/components/ResetStepRow.tsx +140 -0
  274. tt_studio-2.12.0/app/frontend/src/components/SelectionSteps.tsx +1207 -0
  275. tt_studio-2.12.0/app/frontend/src/components/SettingsDialog.tsx +300 -0
  276. tt_studio-2.12.0/app/frontend/src/components/SideBar.tsx +195 -0
  277. tt_studio-2.12.0/app/frontend/src/components/StatusBadge.tsx +61 -0
  278. tt_studio-2.12.0/app/frontend/src/components/StepperFooter.tsx +69 -0
  279. tt_studio-2.12.0/app/frontend/src/components/StepperFormActions.tsx +83 -0
  280. tt_studio-2.12.0/app/frontend/src/components/StreamingLogPanel.tsx +24 -0
  281. tt_studio-2.12.0/app/frontend/src/components/UploadDialog.tsx +36 -0
  282. tt_studio-2.12.0/app/frontend/src/components/VoiceAgentSolutionStep.tsx +1045 -0
  283. tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/ActionCard.tsx +29 -0
  284. tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/DeployedHome.tsx +164 -0
  285. tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/HardwareIcon.tsx +65 -0
  286. tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/ModelCard.tsx +464 -0
  287. tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/ModelLogo.tsx +48 -0
  288. tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/data.ts +136 -0
  289. tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/types.ts +61 -0
  290. tt_studio-2.12.0/app/frontend/src/components/bug-report/BugReportButton.tsx +62 -0
  291. tt_studio-2.12.0/app/frontend/src/components/bug-report/BugReportModal.tsx +284 -0
  292. tt_studio-2.12.0/app/frontend/src/components/bug-report/types.ts +12 -0
  293. tt_studio-2.12.0/app/frontend/src/components/bug-report/useBugReport.ts +210 -0
  294. tt_studio-2.12.0/app/frontend/src/components/canvas/CanvasChat.tsx +649 -0
  295. tt_studio-2.12.0/app/frontend/src/components/canvas/CanvasCodeView.tsx +206 -0
  296. tt_studio-2.12.0/app/frontend/src/components/canvas/CanvasPreview.tsx +231 -0
  297. tt_studio-2.12.0/app/frontend/src/components/canvas/canvasCodeParser.ts +113 -0
  298. tt_studio-2.12.0/app/frontend/src/components/canvas/canvasSystemPrompt.ts +79 -0
  299. tt_studio-2.12.0/app/frontend/src/components/canvas/useCanvasState.ts +445 -0
  300. tt_studio-2.12.0/app/frontend/src/components/chatui/ChatComponent.tsx +1554 -0
  301. tt_studio-2.12.0/app/frontend/src/components/chatui/ChatExamples.tsx +157 -0
  302. tt_studio-2.12.0/app/frontend/src/components/chatui/ChatHistory.tsx +442 -0
  303. tt_studio-2.12.0/app/frontend/src/components/chatui/CodeBlock.tsx +148 -0
  304. tt_studio-2.12.0/app/frontend/src/components/chatui/CompletionTemplatePanel.tsx +253 -0
  305. tt_studio-2.12.0/app/frontend/src/components/chatui/FileDisplay.tsx +399 -0
  306. tt_studio-2.12.0/app/frontend/src/components/chatui/Header.tsx +794 -0
  307. tt_studio-2.12.0/app/frontend/src/components/chatui/HistoryPanel.tsx +278 -0
  308. tt_studio-2.12.0/app/frontend/src/components/chatui/ImagePreview.tsx +55 -0
  309. tt_studio-2.12.0/app/frontend/src/components/chatui/InferenceStats.tsx +928 -0
  310. tt_studio-2.12.0/app/frontend/src/components/chatui/InputArea.tsx +492 -0
  311. tt_studio-2.12.0/app/frontend/src/components/chatui/MarkdownComponent.tsx +132 -0
  312. tt_studio-2.12.0/app/frontend/src/components/chatui/MessageActions.tsx +266 -0
  313. tt_studio-2.12.0/app/frontend/src/components/chatui/MessageIndicator.tsx +52 -0
  314. tt_studio-2.12.0/app/frontend/src/components/chatui/Settings.tsx +446 -0
  315. tt_studio-2.12.0/app/frontend/src/components/chatui/StreamingMessage.tsx +509 -0
  316. tt_studio-2.12.0/app/frontend/src/components/chatui/TTSkeletonLoader.tsx +59 -0
  317. tt_studio-2.12.0/app/frontend/src/components/chatui/VoiceInput.tsx +271 -0
  318. tt_studio-2.12.0/app/frontend/src/components/chatui/benchmarkData.ts +215 -0
  319. tt_studio-2.12.0/app/frontend/src/components/chatui/fileUtils.tsx +227 -0
  320. tt_studio-2.12.0/app/frontend/src/components/chatui/getRagContext.ts +79 -0
  321. tt_studio-2.12.0/app/frontend/src/components/chatui/indexedDBManager.ts +258 -0
  322. tt_studio-2.12.0/app/frontend/src/components/chatui/metricsTracker.ts +251 -0
  323. tt_studio-2.12.0/app/frontend/src/components/chatui/processUploadedFiles.tsx +42 -0
  324. tt_studio-2.12.0/app/frontend/src/components/chatui/runInference.ts +728 -0
  325. tt_studio-2.12.0/app/frontend/src/components/chatui/templateRenderer.ts +231 -0
  326. tt_studio-2.12.0/app/frontend/src/components/chatui/textProcessing.ts +456 -0
  327. tt_studio-2.12.0/app/frontend/src/components/chatui/tokenLimits.ts +36 -0
  328. tt_studio-2.12.0/app/frontend/src/components/chatui/types.ts +300 -0
  329. tt_studio-2.12.0/app/frontend/src/components/chatui/usePersistentState.ts +271 -0
  330. tt_studio-2.12.0/app/frontend/src/components/deployment/WorkflowLogDialog.tsx +710 -0
  331. tt_studio-2.12.0/app/frontend/src/components/embedding/DocumentsPanel.tsx +334 -0
  332. tt_studio-2.12.0/app/frontend/src/components/embedding/EmbeddingDemo.tsx +114 -0
  333. tt_studio-2.12.0/app/frontend/src/components/face_recognition/FaceRecognitionComponent.tsx +609 -0
  334. tt_studio-2.12.0/app/frontend/src/components/file-upload-demo.tsx +16 -0
  335. tt_studio-2.12.0/app/frontend/src/components/imageGen/Header.tsx +105 -0
  336. tt_studio-2.12.0/app/frontend/src/components/imageGen/ImageGenParentComponent.tsx +66 -0
  337. tt_studio-2.12.0/app/frontend/src/components/imageGen/ImageInputArea.tsx +111 -0
  338. tt_studio-2.12.0/app/frontend/src/components/imageGen/ShowcaseGallery.tsx +87 -0
  339. tt_studio-2.12.0/app/frontend/src/components/imageGen/StableDiffusionChat.tsx +173 -0
  340. tt_studio-2.12.0/app/frontend/src/components/imageGen/api/imageGeneration.ts +131 -0
  341. tt_studio-2.12.0/app/frontend/src/components/imageGen/hooks/useChat.ts +118 -0
  342. tt_studio-2.12.0/app/frontend/src/components/imageGen/types/chat.ts +15 -0
  343. tt_studio-2.12.0/app/frontend/src/components/log_viewer/LogViewer.tsx +205 -0
  344. tt_studio-2.12.0/app/frontend/src/components/log_viewer/openEncodedLogInNewTab.tsx +12 -0
  345. tt_studio-2.12.0/app/frontend/src/components/log_viewer/parseLogFileName.tsx +20 -0
  346. tt_studio-2.12.0/app/frontend/src/components/magicui/AnimatedDeployButton.tsx +158 -0
  347. tt_studio-2.12.0/app/frontend/src/components/models/ColumnsMenu.tsx +88 -0
  348. tt_studio-2.12.0/app/frontend/src/components/models/DeleteModelDialog.tsx +315 -0
  349. tt_studio-2.12.0/app/frontend/src/components/models/Logs/EventsView.tsx +119 -0
  350. tt_studio-2.12.0/app/frontend/src/components/models/Logs/LogStreamDialog.tsx +298 -0
  351. tt_studio-2.12.0/app/frontend/src/components/models/Logs/LogView.tsx +135 -0
  352. tt_studio-2.12.0/app/frontend/src/components/models/Logs/MetricsView.tsx +51 -0
  353. tt_studio-2.12.0/app/frontend/src/components/models/ModelPreparingBanner.tsx +459 -0
  354. tt_studio-2.12.0/app/frontend/src/components/models/ModelsDeployedCard.tsx +854 -0
  355. tt_studio-2.12.0/app/frontend/src/components/models/ModelsTable.tsx +424 -0
  356. tt_studio-2.12.0/app/frontend/src/components/models/ModelsToolbar.tsx +72 -0
  357. tt_studio-2.12.0/app/frontend/src/components/models/NoModelsRunning.tsx +57 -0
  358. tt_studio-2.12.0/app/frontend/src/components/models/RegisterModelForm.tsx +395 -0
  359. tt_studio-2.12.0/app/frontend/src/components/models/SettingsMenu.tsx +182 -0
  360. tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ContainerLogsCell.tsx +70 -0
  361. tt_studio-2.12.0/app/frontend/src/components/models/row-cells/HealthCell.tsx +37 -0
  362. tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ImageCell.tsx +14 -0
  363. tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ManageCell.tsx +331 -0
  364. tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ModelNameCell.tsx +14 -0
  365. tt_studio-2.12.0/app/frontend/src/components/models/row-cells/PortsCell.tsx +14 -0
  366. tt_studio-2.12.0/app/frontend/src/components/models/row-cells/StatusCell.tsx +14 -0
  367. tt_studio-2.12.0/app/frontend/src/components/object_detection/AnimatedTabs.tsx +127 -0
  368. tt_studio-2.12.0/app/frontend/src/components/object_detection/DetectionResultsTable.tsx +170 -0
  369. tt_studio-2.12.0/app/frontend/src/components/object_detection/ObjectDetectionComponent.tsx +894 -0
  370. tt_studio-2.12.0/app/frontend/src/components/object_detection/SourcePicker.tsx +192 -0
  371. tt_studio-2.12.0/app/frontend/src/components/object_detection/WebcamPicker.tsx +191 -0
  372. tt_studio-2.12.0/app/frontend/src/components/object_detection/hooks/useWebcam.ts +93 -0
  373. tt_studio-2.12.0/app/frontend/src/components/object_detection/types/objectDetection.ts +43 -0
  374. tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/colorUtils.ts +20 -0
  375. tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/detectionUtils.ts +159 -0
  376. tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/runInference.ts +79 -0
  377. tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/webcamUtils.ts +73 -0
  378. tt_studio-2.12.0/app/frontend/src/components/rag/RagAdmin.tsx +433 -0
  379. tt_studio-2.12.0/app/frontend/src/components/rag/RagDataSourceForm.tsx +108 -0
  380. tt_studio-2.12.0/app/frontend/src/components/rag/RagManagement.tsx +1292 -0
  381. tt_studio-2.12.0/app/frontend/src/components/rag/RagSkeletons.tsx +254 -0
  382. tt_studio-2.12.0/app/frontend/src/components/rag/admin.ts +70 -0
  383. tt_studio-2.12.0/app/frontend/src/components/rag/index.ts +149 -0
  384. tt_studio-2.12.0/app/frontend/src/components/speechToText/AudioRecorderWithVisualizer.tsx +779 -0
  385. tt_studio-2.12.0/app/frontend/src/components/speechToText/appSidebar.tsx +320 -0
  386. tt_studio-2.12.0/app/frontend/src/components/speechToText/conversationCounter.tsx +87 -0
  387. tt_studio-2.12.0/app/frontend/src/components/speechToText/lib/apiClient.tsx +440 -0
  388. tt_studio-2.12.0/app/frontend/src/components/speechToText/lib/chunker.ts +128 -0
  389. tt_studio-2.12.0/app/frontend/src/components/speechToText/mainContent.tsx +1172 -0
  390. tt_studio-2.12.0/app/frontend/src/components/speechToText/speechToTextApp.tsx +317 -0
  391. tt_studio-2.12.0/app/frontend/src/components/speechToText/waveConverter.ts +200 -0
  392. tt_studio-2.12.0/app/frontend/src/components/tour/TourHelpButton.tsx +125 -0
  393. tt_studio-2.12.0/app/frontend/src/components/tour/tourRegistry.ts +41 -0
  394. tt_studio-2.12.0/app/frontend/src/components/tour/tourSteps.ts +8 -0
  395. tt_studio-2.12.0/app/frontend/src/components/tour/tours/deployModel.ts +156 -0
  396. tt_studio-2.12.0/app/frontend/src/components/tour/tours/onboarding.ts +55 -0
  397. tt_studio-2.12.0/app/frontend/src/components/training/DatasetPreview.tsx +128 -0
  398. tt_studio-2.12.0/app/frontend/src/components/training/DatasetPreviewPanel.tsx +510 -0
  399. tt_studio-2.12.0/app/frontend/src/components/training/DatasetUploadField.tsx +111 -0
  400. tt_studio-2.12.0/app/frontend/src/components/training/TrainingConfigDialog.tsx +945 -0
  401. tt_studio-2.12.0/app/frontend/src/components/training/datasetPreview.ts +270 -0
  402. tt_studio-2.12.0/app/frontend/src/components/tts/TTSDemo.tsx +600 -0
  403. tt_studio-2.12.0/app/frontend/src/components/ui/DeploymentProgress.tsx +460 -0
  404. tt_studio-2.12.0/app/frontend/src/components/ui/ImageWithFallback.tsx +33 -0
  405. tt_studio-2.12.0/app/frontend/src/components/ui/SimpleDeploymentProgress.tsx +102 -0
  406. tt_studio-2.12.0/app/frontend/src/components/ui/accordion.tsx +62 -0
  407. tt_studio-2.12.0/app/frontend/src/components/ui/alert-dialog.tsx +146 -0
  408. tt_studio-2.12.0/app/frontend/src/components/ui/alert.tsx +65 -0
  409. tt_studio-2.12.0/app/frontend/src/components/ui/aspect-ratio.tsx +12 -0
  410. tt_studio-2.12.0/app/frontend/src/components/ui/badge.tsx +52 -0
  411. tt_studio-2.12.0/app/frontend/src/components/ui/breadcrumb.tsx +125 -0
  412. tt_studio-2.12.0/app/frontend/src/components/ui/button.tsx +65 -0
  413. tt_studio-2.12.0/app/frontend/src/components/ui/card.tsx +92 -0
  414. tt_studio-2.12.0/app/frontend/src/components/ui/collapsible.tsx +15 -0
  415. tt_studio-2.12.0/app/frontend/src/components/ui/command.tsx +159 -0
  416. tt_studio-2.12.0/app/frontend/src/components/ui/dialog.tsx +120 -0
  417. tt_studio-2.12.0/app/frontend/src/components/ui/drawer.tsx +122 -0
  418. tt_studio-2.12.0/app/frontend/src/components/ui/dropdown-menu.tsx +204 -0
  419. tt_studio-2.12.0/app/frontend/src/components/ui/elevated-card.tsx +61 -0
  420. tt_studio-2.12.0/app/frontend/src/components/ui/enhanced-button.tsx +115 -0
  421. tt_studio-2.12.0/app/frontend/src/components/ui/file-upload.tsx +201 -0
  422. tt_studio-2.12.0/app/frontend/src/components/ui/flip-words.tsx +102 -0
  423. tt_studio-2.12.0/app/frontend/src/components/ui/focus-cards.tsx +96 -0
  424. tt_studio-2.12.0/app/frontend/src/components/ui/form.tsx +186 -0
  425. tt_studio-2.12.0/app/frontend/src/components/ui/gentle-file-upload.tsx +317 -0
  426. tt_studio-2.12.0/app/frontend/src/components/ui/hooks/use-mobile.tsx +24 -0
  427. tt_studio-2.12.0/app/frontend/src/components/ui/input.tsx +31 -0
  428. tt_studio-2.12.0/app/frontend/src/components/ui/label.tsx +30 -0
  429. tt_studio-2.12.0/app/frontend/src/components/ui/line-shadow-text.tsx +59 -0
  430. tt_studio-2.12.0/app/frontend/src/components/ui/menubar.tsx +240 -0
  431. tt_studio-2.12.0/app/frontend/src/components/ui/navigation-menu.tsx +135 -0
  432. tt_studio-2.12.0/app/frontend/src/components/ui/popover.tsx +35 -0
  433. tt_studio-2.12.0/app/frontend/src/components/ui/progress.tsx +230 -0
  434. tt_studio-2.12.0/app/frontend/src/components/ui/pulsating-dot.tsx +72 -0
  435. tt_studio-2.12.0/app/frontend/src/components/ui/resizable.tsx +45 -0
  436. tt_studio-2.12.0/app/frontend/src/components/ui/retro-grid.tsx +49 -0
  437. tt_studio-2.12.0/app/frontend/src/components/ui/scroll-area.tsx +58 -0
  438. tt_studio-2.12.0/app/frontend/src/components/ui/scroll-progress-bar.tsx +104 -0
  439. tt_studio-2.12.0/app/frontend/src/components/ui/select.tsx +172 -0
  440. tt_studio-2.12.0/app/frontend/src/components/ui/separator.tsx +41 -0
  441. tt_studio-2.12.0/app/frontend/src/components/ui/sheet.tsx +144 -0
  442. tt_studio-2.12.0/app/frontend/src/components/ui/sidebar.tsx +779 -0
  443. tt_studio-2.12.0/app/frontend/src/components/ui/skeleton.tsx +21 -0
  444. tt_studio-2.12.0/app/frontend/src/components/ui/slider.tsx +32 -0
  445. tt_studio-2.12.0/app/frontend/src/components/ui/spinner.tsx +25 -0
  446. tt_studio-2.12.0/app/frontend/src/components/ui/stepper.tsx +989 -0
  447. tt_studio-2.12.0/app/frontend/src/components/ui/switch.tsx +27 -0
  448. tt_studio-2.12.0/app/frontend/src/components/ui/table.tsx +123 -0
  449. tt_studio-2.12.0/app/frontend/src/components/ui/tabs.tsx +59 -0
  450. tt_studio-2.12.0/app/frontend/src/components/ui/textarea.tsx +30 -0
  451. tt_studio-2.12.0/app/frontend/src/components/ui/tooltip.tsx +34 -0
  452. tt_studio-2.12.0/app/frontend/src/components/ui/tt-device-badge.tsx +39 -0
  453. tt_studio-2.12.0/app/frontend/src/components/ui/typewriter-effect.tsx +114 -0
  454. tt_studio-2.12.0/app/frontend/src/components/ui/typing-animation.tsx +53 -0
  455. tt_studio-2.12.0/app/frontend/src/components/videoGen/VideoGenChat.tsx +204 -0
  456. tt_studio-2.12.0/app/frontend/src/components/videoGen/VideoGenParentComponent.tsx +72 -0
  457. tt_studio-2.12.0/app/frontend/src/components/videoGen/VideoInputArea.tsx +102 -0
  458. tt_studio-2.12.0/app/frontend/src/components/videoGen/api/videoGeneration.ts +76 -0
  459. tt_studio-2.12.0/app/frontend/src/components/videoGen/hooks/useVideoChat.ts +208 -0
  460. tt_studio-2.12.0/app/frontend/src/components/videoGen/types/chat.ts +27 -0
  461. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/AudioRecorderWithVisualizer.tsx +353 -0
  462. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/MetricsPanel.tsx +330 -0
  463. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/StatusPanel.tsx +265 -0
  464. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/VoiceAgentApp.tsx +1013 -0
  465. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/VoiceAgentSettings.tsx +172 -0
  466. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/appSidebar.tsx +316 -0
  467. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/conversationCounter.tsx +87 -0
  468. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/hooks/useSilenceDetection.ts +84 -0
  469. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/hooks/useWakeWord.ts +92 -0
  470. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/lib/apiClient.tsx +174 -0
  471. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/lib/cleanSpeech.ts +104 -0
  472. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/lib/prompts.ts +104 -0
  473. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/mainContent.tsx +598 -0
  474. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/types.ts +73 -0
  475. tt_studio-2.12.0/app/frontend/src/components/voiceAgent/waveConverter.ts +223 -0
  476. tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeDoneStep.tsx +47 -0
  477. tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeHfCheckStep.tsx +59 -0
  478. tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeIntroStep.tsx +55 -0
  479. tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeSecretsStep.tsx +164 -0
  480. tt_studio-2.12.0/app/frontend/src/components/workflows/ExecutionPanel.tsx +202 -0
  481. tt_studio-2.12.0/app/frontend/src/components/workflows/NodeConfigPanel.tsx +378 -0
  482. tt_studio-2.12.0/app/frontend/src/components/workflows/NodePalette.tsx +104 -0
  483. tt_studio-2.12.0/app/frontend/src/components/workflows/WorkflowCanvas.tsx +222 -0
  484. tt_studio-2.12.0/app/frontend/src/components/workflows/WorkflowToolbar.tsx +226 -0
  485. tt_studio-2.12.0/app/frontend/src/components/workflows/canvas-overrides.css +17 -0
  486. tt_studio-2.12.0/app/frontend/src/components/workflows/config/AgentConfigPanel.tsx +134 -0
  487. tt_studio-2.12.0/app/frontend/src/components/workflows/config/InputConfigPanel.tsx +54 -0
  488. tt_studio-2.12.0/app/frontend/src/components/workflows/config/LLMConfigPanel.tsx +129 -0
  489. tt_studio-2.12.0/app/frontend/src/components/workflows/config/RAGConfigPanel.tsx +161 -0
  490. tt_studio-2.12.0/app/frontend/src/components/workflows/edges/DeletableEdge.tsx +86 -0
  491. tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/AgentNode.tsx +52 -0
  492. tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/BaseNode.tsx +101 -0
  493. tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/InputNode.tsx +26 -0
  494. tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/LLMNode.tsx +36 -0
  495. tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/OutputNode.tsx +34 -0
  496. tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/RAGQueryNode.tsx +63 -0
  497. tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/nodeTypes.ts +17 -0
  498. tt_studio-2.12.0/app/frontend/src/contexts/BackendHealthContext.ts +23 -0
  499. tt_studio-2.12.0/app/frontend/src/contexts/DeviceStateContext.ts +41 -0
  500. tt_studio-2.12.0/app/frontend/src/contexts/FooterVisibilityContext.ts +13 -0
  501. tt_studio-2.12.0/app/frontend/src/contexts/HeroSectionContext.ts +13 -0
  502. tt_studio-2.12.0/app/frontend/src/contexts/ModelsContext.ts +41 -0
  503. tt_studio-2.12.0/app/frontend/src/contexts/RefreshContext.ts +16 -0
  504. tt_studio-2.12.0/app/frontend/src/contexts/ThemeContext.ts +25 -0
  505. tt_studio-2.12.0/app/frontend/src/contexts/TourContext.ts +30 -0
  506. tt_studio-2.12.0/app/frontend/src/fonts/Akkurat-Mono.OTF +0 -0
  507. tt_studio-2.12.0/app/frontend/src/fonts/DegularDisplay-Light.otf +0 -0
  508. tt_studio-2.12.0/app/frontend/src/fonts/DegularDisplay-Medium.otf +0 -0
  509. tt_studio-2.12.0/app/frontend/src/fonts/DegularDisplay-Semibold.otf +0 -0
  510. tt_studio-2.12.0/app/frontend/src/fonts/DegularText-Bold.otf +0 -0
  511. tt_studio-2.12.0/app/frontend/src/fonts/DegularText-Medium.otf +0 -0
  512. tt_studio-2.12.0/app/frontend/src/fonts/DegularText-MediumItalic.otf +0 -0
  513. tt_studio-2.12.0/app/frontend/src/fonts/RMMono-Regular.otf +0 -0
  514. tt_studio-2.12.0/app/frontend/src/fonts/RMMono-SemiBold.otf +0 -0
  515. tt_studio-2.12.0/app/frontend/src/hooks/use-media-query.tsx +27 -0
  516. tt_studio-2.12.0/app/frontend/src/hooks/useActiveDeployments.ts +341 -0
  517. tt_studio-2.12.0/app/frontend/src/hooks/useAgentAvailability.ts +83 -0
  518. tt_studio-2.12.0/app/frontend/src/hooks/useAppReachable.ts +46 -0
  519. tt_studio-2.12.0/app/frontend/src/hooks/useColumnPrefs.ts +68 -0
  520. tt_studio-2.12.0/app/frontend/src/hooks/useDeleteStream.ts +134 -0
  521. tt_studio-2.12.0/app/frontend/src/hooks/useDeploymentProgress.ts +226 -0
  522. tt_studio-2.12.0/app/frontend/src/hooks/useDetectModel.ts +45 -0
  523. tt_studio-2.12.0/app/frontend/src/hooks/useDeviceState.ts +13 -0
  524. tt_studio-2.12.0/app/frontend/src/hooks/useFooterVisibility.ts +14 -0
  525. tt_studio-2.12.0/app/frontend/src/hooks/useGitHubReleases.ts +92 -0
  526. tt_studio-2.12.0/app/frontend/src/hooks/useHealthRefresh.ts +47 -0
  527. tt_studio-2.12.0/app/frontend/src/hooks/useHeroSection.ts +12 -0
  528. tt_studio-2.12.0/app/frontend/src/hooks/useHideDeploymentTray.ts +22 -0
  529. tt_studio-2.12.0/app/frontend/src/hooks/useIsResetting.ts +15 -0
  530. tt_studio-2.12.0/app/frontend/src/hooks/useLogStream.ts +202 -0
  531. tt_studio-2.12.0/app/frontend/src/hooks/useModels.ts +13 -0
  532. tt_studio-2.12.0/app/frontend/src/hooks/useOpenLogsFromUrl.ts +28 -0
  533. tt_studio-2.12.0/app/frontend/src/hooks/useRefresh.ts +13 -0
  534. tt_studio-2.12.0/app/frontend/src/hooks/useStrayContainers.ts +34 -0
  535. tt_studio-2.12.0/app/frontend/src/hooks/useTablePrefs.ts +72 -0
  536. tt_studio-2.12.0/app/frontend/src/hooks/useTheme.ts +17 -0
  537. tt_studio-2.12.0/app/frontend/src/hooks/useTour.ts +15 -0
  538. tt_studio-2.12.0/app/frontend/src/hooks/useWorkflowLogStream.ts +147 -0
  539. tt_studio-2.12.0/app/frontend/src/index.css +557 -0
  540. tt_studio-2.12.0/app/frontend/src/layouts/MainLayout.tsx +27 -0
  541. tt_studio-2.12.0/app/frontend/src/lib/ansi.ts +177 -0
  542. tt_studio-2.12.0/app/frontend/src/lib/appLogos.ts +34 -0
  543. tt_studio-2.12.0/app/frontend/src/lib/debounce.ts +17 -0
  544. tt_studio-2.12.0/app/frontend/src/lib/deployProgress.ts +110 -0
  545. tt_studio-2.12.0/app/frontend/src/lib/deploySession.ts +32 -0
  546. tt_studio-2.12.0/app/frontend/src/lib/hfStatus.ts +34 -0
  547. tt_studio-2.12.0/app/frontend/src/lib/marketplaceGuides.ts +363 -0
  548. tt_studio-2.12.0/app/frontend/src/lib/mediaUtils.ts +54 -0
  549. tt_studio-2.12.0/app/frontend/src/lib/storage.ts +30 -0
  550. tt_studio-2.12.0/app/frontend/src/lib/utils.ts +8 -0
  551. tt_studio-2.12.0/app/frontend/src/main.tsx +86 -0
  552. tt_studio-2.12.0/app/frontend/src/pages/404Page.tsx +267 -0
  553. tt_studio-2.12.0/app/frontend/src/pages/ApiInfoPage.tsx +137 -0
  554. tt_studio-2.12.0/app/frontend/src/pages/AppsPage.tsx +982 -0
  555. tt_studio-2.12.0/app/frontend/src/pages/CanvasPage.tsx +227 -0
  556. tt_studio-2.12.0/app/frontend/src/pages/ChatUIPage.tsx +27 -0
  557. tt_studio-2.12.0/app/frontend/src/pages/DeployedHomePage.tsx +50 -0
  558. tt_studio-2.12.0/app/frontend/src/pages/DeploymentHistoryPage.tsx +395 -0
  559. tt_studio-2.12.0/app/frontend/src/pages/EmbeddingPage.tsx +26 -0
  560. tt_studio-2.12.0/app/frontend/src/pages/FaceRecognitionPage.tsx +47 -0
  561. tt_studio-2.12.0/app/frontend/src/pages/HomePage.tsx +13 -0
  562. tt_studio-2.12.0/app/frontend/src/pages/ImageGenPage.tsx +17 -0
  563. tt_studio-2.12.0/app/frontend/src/pages/LoginPage.tsx +269 -0
  564. tt_studio-2.12.0/app/frontend/src/pages/LogsPage.tsx +17 -0
  565. tt_studio-2.12.0/app/frontend/src/pages/ModelsDeployed.tsx +13 -0
  566. tt_studio-2.12.0/app/frontend/src/pages/NotFoundPage.tsx +131 -0
  567. tt_studio-2.12.0/app/frontend/src/pages/ObjectDetectionPage.tsx +18 -0
  568. tt_studio-2.12.0/app/frontend/src/pages/RagAdminPage.tsx +20 -0
  569. tt_studio-2.12.0/app/frontend/src/pages/RegisterModelPage.tsx +38 -0
  570. tt_studio-2.12.0/app/frontend/src/pages/SpeechToTextPage.tsx +15 -0
  571. tt_studio-2.12.0/app/frontend/src/pages/TTSPage.tsx +23 -0
  572. tt_studio-2.12.0/app/frontend/src/pages/TrainingJobDetailPage.tsx +894 -0
  573. tt_studio-2.12.0/app/frontend/src/pages/TrainingPage.tsx +325 -0
  574. tt_studio-2.12.0/app/frontend/src/pages/VideoGenPage.tsx +18 -0
  575. tt_studio-2.12.0/app/frontend/src/pages/VoiceAgentPage.tsx +13 -0
  576. tt_studio-2.12.0/app/frontend/src/pages/WelcomePage.tsx +148 -0
  577. tt_studio-2.12.0/app/frontend/src/pages/WorkflowsPage.tsx +69 -0
  578. tt_studio-2.12.0/app/frontend/src/providers/ActiveDeploymentsContext.tsx +34 -0
  579. tt_studio-2.12.0/app/frontend/src/providers/BackendHealthProvider.tsx +115 -0
  580. tt_studio-2.12.0/app/frontend/src/providers/DeviceStateContext.tsx +98 -0
  581. tt_studio-2.12.0/app/frontend/src/providers/FooterVisibilityContext.tsx +27 -0
  582. tt_studio-2.12.0/app/frontend/src/providers/HeroSectionContext.tsx +24 -0
  583. tt_studio-2.12.0/app/frontend/src/providers/ModelsContext.tsx +95 -0
  584. tt_studio-2.12.0/app/frontend/src/providers/RefreshContext.tsx +51 -0
  585. tt_studio-2.12.0/app/frontend/src/providers/ThemeProvider.tsx +50 -0
  586. tt_studio-2.12.0/app/frontend/src/providers/TourProvider.tsx +359 -0
  587. tt_studio-2.12.0/app/frontend/src/routes/components/protected-route.tsx +18 -0
  588. tt_studio-2.12.0/app/frontend/src/routes/index.tsx +103 -0
  589. tt_studio-2.12.0/app/frontend/src/routes/route-config.tsx +215 -0
  590. tt_studio-2.12.0/app/frontend/src/store/workflowStore.ts +539 -0
  591. tt_studio-2.12.0/app/frontend/src/test-pr-file.tsx +2 -0
  592. tt_studio-2.12.0/app/frontend/src/theme/commonThemeClasses.tsx +66 -0
  593. tt_studio-2.12.0/app/frontend/src/types/chipStatus.ts +27 -0
  594. tt_studio-2.12.0/app/frontend/src/types/models.ts +32 -0
  595. tt_studio-2.12.0/app/frontend/src/types/workflow.ts +85 -0
  596. tt_studio-2.12.0/app/frontend/src/utils/deviceFit.ts +394 -0
  597. tt_studio-2.12.0/app/frontend/src/utils/deviceIds.ts +36 -0
  598. tt_studio-2.12.0/app/frontend/src/utils/env.ts +5 -0
  599. tt_studio-2.12.0/app/frontend/src/utils/logo.tsx +221 -0
  600. tt_studio-2.12.0/app/frontend/src/utils/p300x2Placement.ts +86 -0
  601. tt_studio-2.12.0/app/frontend/src/vite-env.d.ts +9 -0
  602. tt_studio-2.12.0/app/frontend/tailwind.config.js +244 -0
  603. tt_studio-2.12.0/app/frontend/test-header-checker.js +202 -0
  604. tt_studio-2.12.0/app/frontend/third-party-licenses.txt +5880 -0
  605. tt_studio-2.12.0/app/frontend/tsconfig.json +31 -0
  606. tt_studio-2.12.0/app/frontend/tsconfig.node.json +11 -0
  607. tt_studio-2.12.0/app/frontend/vite.config.ts +175 -0
  608. tt_studio-2.12.0/app/litellm/config.yaml +25 -0
  609. tt_studio-2.12.0/ci/deploy_healthcheck.py +747 -0
  610. tt_studio-2.12.0/docker-control-service/.dockerignore +5 -0
  611. tt_studio-2.12.0/docker-control-service/Dockerfile +21 -0
  612. tt_studio-2.12.0/docker-control-service/README.md +125 -0
  613. tt_studio-2.12.0/docker-control-service/api.py +90 -0
  614. tt_studio-2.12.0/docker-control-service/config.py +62 -0
  615. tt_studio-2.12.0/docker-control-service/entrypoint.py +81 -0
  616. tt_studio-2.12.0/docker-control-service/middleware/auth.py +55 -0
  617. tt_studio-2.12.0/docker-control-service/models/requests.py +68 -0
  618. tt_studio-2.12.0/docker-control-service/models/responses.py +86 -0
  619. tt_studio-2.12.0/docker-control-service/requirements-api.txt +16 -0
  620. tt_studio-2.12.0/docker-control-service/routers/containers.py +352 -0
  621. tt_studio-2.12.0/docker-control-service/routers/health.py +57 -0
  622. tt_studio-2.12.0/docker-control-service/routers/images.py +382 -0
  623. tt_studio-2.12.0/docker-control-service/routers/logs.py +44 -0
  624. tt_studio-2.12.0/docker-control-service/routers/networks.py +213 -0
  625. tt_studio-2.12.0/docker-control-service/services/container_service.py +380 -0
  626. tt_studio-2.12.0/hatch_build.py +87 -0
  627. tt_studio-2.12.0/inference-api/__init__.py +2 -0
  628. tt_studio-2.12.0/inference-api/api.py +3510 -0
  629. tt_studio-2.12.0/inference-api/artifact_refs.py +267 -0
  630. tt_studio-2.12.0/inference-api/community.py +557 -0
  631. tt_studio-2.12.0/inference-api/host_volume_models.json +8 -0
  632. tt_studio-2.12.0/inference-api/main.py +15 -0
  633. tt_studio-2.12.0/inference-api/requirements.txt +21 -0
  634. tt_studio-2.12.0/inference-api/tests/__init__.py +2 -0
  635. tt_studio-2.12.0/inference-api/tests/test_artifact_git_marker.py +134 -0
  636. tt_studio-2.12.0/inference-api/tests/test_artifact_refs.py +196 -0
  637. tt_studio-2.12.0/inference-api/tests/test_community_router.py +530 -0
  638. tt_studio-2.12.0/inference-api/tests/test_dev_mode_subprocess.py +296 -0
  639. tt_studio-2.12.0/inference-api/tests/test_media_trace_region_override.py +50 -0
  640. tt_studio-2.12.0/inference-api/tests/test_run_lock_queue.py +139 -0
  641. tt_studio-2.12.0/inference-api/tests/test_secret_env_vars.py +82 -0
  642. tt_studio-2.12.0/inference-api/tests/test_tt_model_runner.py +496 -0
  643. tt_studio-2.12.0/inference-api/tt_model_runner.py +942 -0
  644. tt_studio-2.12.0/packaging/pypi/README.md +52 -0
  645. tt_studio-2.12.0/pyproject.toml +54 -0
  646. tt_studio-2.12.0/tt_setup/__init__.py +4 -0
  647. tt_studio-2.12.0/tt_setup/bootstrap.py +280 -0
  648. tt_studio-2.12.0/tt_setup/bug_report.py +306 -0
  649. tt_studio-2.12.0/tt_setup/cleanup/__init__.py +98 -0
  650. tt_studio-2.12.0/tt_setup/cleanup/_confirm.py +29 -0
  651. tt_studio-2.12.0/tt_setup/cleanup/_orchestrate.py +297 -0
  652. tt_studio-2.12.0/tt_setup/cleanup/_purge_model.py +695 -0
  653. tt_studio-2.12.0/tt_setup/cleanup/_resource_ops.py +738 -0
  654. tt_studio-2.12.0/tt_setup/cleanup/_runtime.py +108 -0
  655. tt_studio-2.12.0/tt_setup/cli/__init__.py +13 -0
  656. tt_studio-2.12.0/tt_setup/cli/_args.py +362 -0
  657. tt_studio-2.12.0/tt_setup/cli/_deploy.py +435 -0
  658. tt_studio-2.12.0/tt_setup/cli/_run.py +1351 -0
  659. tt_studio-2.12.0/tt_setup/cli/_stop_model.py +222 -0
  660. tt_studio-2.12.0/tt_setup/config_store.py +144 -0
  661. tt_studio-2.12.0/tt_setup/console/__init__.py +69 -0
  662. tt_studio-2.12.0/tt_setup/console/_panels.py +214 -0
  663. tt_studio-2.12.0/tt_setup/console/_prompts.py +51 -0
  664. tt_studio-2.12.0/tt_setup/console/_stepper.py +602 -0
  665. tt_studio-2.12.0/tt_setup/console/_steps.py +200 -0
  666. tt_studio-2.12.0/tt_setup/console/_theme.py +92 -0
  667. tt_studio-2.12.0/tt_setup/constants.py +139 -0
  668. tt_studio-2.12.0/tt_setup/docker.py +562 -0
  669. tt_studio-2.12.0/tt_setup/docker_diag/__init__.py +66 -0
  670. tt_studio-2.12.0/tt_setup/docker_diag/_build_progress.py +314 -0
  671. tt_studio-2.12.0/tt_setup/docker_diag/_diagnostics.py +435 -0
  672. tt_studio-2.12.0/tt_setup/env_config/__init__.py +53 -0
  673. tt_studio-2.12.0/tt_setup/env_config/_configure.py +591 -0
  674. tt_studio-2.12.0/tt_setup/env_config/_dotenv.py +67 -0
  675. tt_studio-2.12.0/tt_setup/env_config/_hf_access.py +115 -0
  676. tt_studio-2.12.0/tt_setup/env_config/_preferences.py +41 -0
  677. tt_studio-2.12.0/tt_setup/env_config/_values.py +29 -0
  678. tt_studio-2.12.0/tt_setup/env_config/_version.py +98 -0
  679. tt_studio-2.12.0/tt_setup/image_source.py +135 -0
  680. tt_studio-2.12.0/tt_setup/inference_server/__init__.py +45 -0
  681. tt_studio-2.12.0/tt_setup/inference_server/_catalog.py +66 -0
  682. tt_studio-2.12.0/tt_setup/inference_server/_config.py +167 -0
  683. tt_studio-2.12.0/tt_setup/inference_server/_env.py +16 -0
  684. tt_studio-2.12.0/tt_setup/inference_server/_git.py +64 -0
  685. tt_studio-2.12.0/tt_setup/inference_server/_metadata.py +136 -0
  686. tt_studio-2.12.0/tt_setup/inference_server/_orchestrator.py +731 -0
  687. tt_studio-2.12.0/tt_setup/inference_server/_privileges.py +59 -0
  688. tt_studio-2.12.0/tt_setup/inference_server/_upgrade.py +101 -0
  689. tt_studio-2.12.0/tt_setup/install_mode.py +252 -0
  690. tt_studio-2.12.0/tt_setup/logging.py +71 -0
  691. tt_studio-2.12.0/tt_setup/model_manager/__init__.py +16 -0
  692. tt_studio-2.12.0/tt_setup/model_manager/_orchestrator.py +169 -0
  693. tt_studio-2.12.0/tt_setup/model_support.py +230 -0
  694. tt_studio-2.12.0/tt_setup/monitor.py +83 -0
  695. tt_studio-2.12.0/tt_setup/monitor_app.py +226 -0
  696. tt_studio-2.12.0/tt_setup/release.py +735 -0
  697. tt_studio-2.12.0/tt_setup/services/__init__.py +61 -0
  698. tt_studio-2.12.0/tt_setup/services/_docker_control.py +148 -0
  699. tt_studio-2.12.0/tt_setup/services/_fastapi.py +390 -0
  700. tt_studio-2.12.0/tt_setup/services/_frontend.py +72 -0
  701. tt_studio-2.12.0/tt_setup/services/_health.py +408 -0
  702. tt_studio-2.12.0/tt_setup/services/_ports.py +458 -0
  703. tt_studio-2.12.0/tt_setup/settings.py +87 -0
  704. tt_studio-2.12.0/tt_setup/shell.py +351 -0
  705. tt_studio-2.12.0/tt_setup/shortcut.py +284 -0
  706. tt_studio-2.12.0/tt_setup/spdx.py +244 -0
  707. tt_studio-2.12.0/tt_setup/startup_checks.py +333 -0
  708. tt_studio-2.12.0/tt_setup/support_email.py +145 -0
  709. tt_studio-2.12.0/tt_setup/switch.py +144 -0
  710. tt_studio-2.12.0/tt_setup/venv_utils.py +54 -0
@@ -0,0 +1,194 @@
1
+ # TT Studio Environment Configuration
2
+ #
3
+ # This is the single, canonical env file for the whole project. `python run.py`
4
+ # creates `.env` from this template at the repo root and fills in the values.
5
+ # Edit `.env` (not this template) to change your configuration.
6
+
7
+ # ─────────────────────────────────────────────────────────────────────────────
8
+ # Core application paths (auto-configured by run.py)
9
+ # ─────────────────────────────────────────────────────────────────────────────
10
+ TT_STUDIO_ROOT=<PATH_TO_ROOT_OF_REPO>
11
+ HOST_PERSISTENT_STORAGE_VOLUME=${TT_STUDIO_ROOT}/tt_studio_persistent_volume
12
+ INTERNAL_PERSISTENT_STORAGE_VOLUME=/tt_studio_persistent_volume
13
+ BACKEND_API_HOSTNAME=tt-studio-backend-api
14
+
15
+ # ─────────────────────────────────────────────────────────────────────────────
16
+ # Inference server artifact (which tt-inference-server build to use)
17
+ # Leave both unset to use the release the model support spec was validated
18
+ # against. Pin a release version or set a branch to override it.
19
+ # ─────────────────────────────────────────────────────────────────────────────
20
+ # NOTE: pinned to a commit SHA — the Wan2.2-T2V TT_DIT_CACHE_DIR dev-catalog fix lands
21
+ # in commit b788278 (tenstorrent/tt-inference-server). The source branch was deleted but
22
+ # the SHA is still valid. Re-pin to a release version once that fix ships in a tag.
23
+ # TT_INFERENCE_ARTIFACT_BRANCH=b788278762b0bcc9332ad453d265050bfa94738d
24
+ # TT_INFERENCE_ARTIFACT_VERSION=v0.22.0
25
+ # TT_INFERENCE_ARTIFACT_BRANCH=tt-studio/202605
26
+
27
+ # Model support spec (tt-cli's model_support.json): the model list, per-device
28
+ # support and vLLM parsers the model catalog syncs from. URL or local path.
29
+ # Tracks tt-cli's latest release; pin one with .../releases/download/vX.Y.Z/model_support.json.
30
+ TT_MODEL_SUPPORT_URL=https://github.com/tenstorrent/tt-cli/releases/latest/download/model_support.json
31
+
32
+ # ─────────────────────────────────────────────────────────────────────────────
33
+ # tt-model-manager artifact (community models)
34
+ # Pinned tag/branch/commit of tenstorrent/tt-model-manager, installed into its
35
+ # own venv under .artifacts/. It cannot share inference-api's venv: that pins
36
+ # pydantic<2 and tt-model-manager needs pydantic>=2.
37
+ # Prefer a commit SHA: the install stamp records this value verbatim, so a branch
38
+ # name is fetched once and never refreshed afterwards.
39
+ # ─────────────────────────────────────────────────────────────────────────────
40
+ TT_MODEL_MANAGER_REF=f14f5a87b690e3adadfb15633a84978014133c58
41
+
42
+ # Community bundles (tt-cli's community_catalog.json) verified to deploy. URL or
43
+ # local path. Tracks tt-cli's latest release; pin one with
44
+ # .../releases/download/vX.Y.Z/community_catalog.json.
45
+ TT_COMMUNITY_CATALOG_URL=https://github.com/tenstorrent/tt-cli/releases/latest/download/community_catalog.json
46
+
47
+ # ─────────────────────────────────────────────────────────────────────────────
48
+ # Container images — run.py pulls prebuilt images from
49
+ # ghcr.io/tenstorrent/tt-studio/* and falls back to a local build when they
50
+ # aren't available (see `python run.py --help-env`).
51
+ #
52
+ # TT_STUDIO_IMAGE_TAG is written automatically on every start (release tag,
53
+ # else sha-<12>, else latest) — do not set it by hand.
54
+ # TT_STUDIO_IMAGE_REGISTRY overrides where images are pulled from (mirrors,
55
+ # air-gapped setups, or a local test registry).
56
+ # TT_STUDIO_IMAGE_REGISTRY=ghcr.io/tenstorrent/tt-studio
57
+
58
+ # ─────────────────────────────────────────────────────────────────────────────
59
+ # Hardware — QB2 (Blackhole QuietBox, P300x2) verification is OPT-IN and off by
60
+ # default, so a dev laptop, cloud mode, or a different board is never held to the
61
+ # strict tt-smi check. Set IS_QB2=true only on an actual QB2 to have startup
62
+ # verify the board (the tt_qb2_launch release branch ships with it set; see
63
+ # CONTRIBUTING.md → Release Process). Independent of the artifact branch above.
64
+ # — true or false (unset = false)
65
+ # ─────────────────────────────────────────────────────────────────────────────
66
+ # IS_QB2=true
67
+
68
+ # ─────────────────────────────────────────────────────────────────────────────
69
+ # Security credentials (keep secret in production!)
70
+ # ─────────────────────────────────────────────────────────────────────────────
71
+ # JWT_SECRET is optional and auto-managed — leave it unset unless you need a fixed
72
+ # value. The backend generates one on first run and persists it to
73
+ # backend_volume/user_config.env, then passes it to the inference server with each
74
+ # deploy request. It is NOT settable in the Settings UI (the API rejects it).
75
+ # JWT_SECRET=test-secret-456
76
+ DJANGO_SECRET_KEY=django-insecure-default
77
+ # Hugging Face API token (needed to download gated models).
78
+ # UI-managed: set on the Welcome screen or in Settings; env value is a fallback only.
79
+ # HF_TOKEN=hf_***
80
+
81
+ # ─────────────────────────────────────────────────────────────────────────────
82
+ # Service API keys
83
+ # ─────────────────────────────────────────────────────────────────────────────
84
+ # TTS / media inference engine.
85
+ # UI-managed: set on the Welcome screen or in Settings; env value is a fallback only.
86
+ # TTS_API_KEY=your-secret-key
87
+ # Docker Control Service (secure Docker operations API)
88
+ DOCKER_CONTROL_SERVICE_URL=http://docker-control:8002
89
+ DOCKER_CONTROL_JWT_SECRET=change-me-in-production
90
+ # Optional host source for Docker Control's socket bind mount. `run.py` detects
91
+ # rootless Docker from DOCKER_HOST/current context; direct Compose users can set
92
+ # this explicitly, for example: /run/user/1000/docker.sock.
93
+ # DOCKER_SOCKET_PATH=/run/user/1000/docker.sock
94
+ # TT Inference Server API running on the host
95
+ TT_INFERENCE_API_URL=http://host.docker.internal:8001
96
+ # Agent web search (optional). UI-managed: configurable in TT Studio Settings.
97
+ # TAVILY_API_KEY=tvly-xxx
98
+
99
+ # ─────────────────────────────────────────────────────────────────────────────
100
+ # LiteLLM gateway
101
+ # ─────────────────────────────────────────────────────────────────────────────
102
+ # Client-facing key coding agents use to access the gateway
103
+ LITELLM_MASTER_KEY=sk-tt-studio-REPLACE-ME
104
+ # Internal shared secret the gateway presents to the backend upstream
105
+ LITELLM_UPSTREAM_KEY=change-me-internal
106
+ # Host port the gateway is published on
107
+ LITELLM_PORT=4000
108
+
109
+ # ─────────────────────────────────────────────────────────────────────────────
110
+ # Frontend (VITE_*). Read by the React app via import.meta.env.
111
+ # Only VITE_-prefixed variables are exposed to the browser bundle.
112
+ # (VITE_BACKEND_URL is fixed in app/frontend/vite.config.ts — do not set it here.)
113
+ # ─────────────────────────────────────────────────────────────────────────────
114
+ VITE_APP_TITLE="TT Studio"
115
+ VITE_APP_LOGO=https://github.com/tenstorrent/tt-metal/raw/main/docs/source/common/images/favicon.png
116
+
117
+ # Application modes — true or false
118
+ VITE_ENABLE_DEPLOYED=false
119
+ VITE_ENABLE_RAG_ADMIN=false
120
+
121
+ # Frontend login (optional)
122
+ VITE_ENABLE_LOGIN=false
123
+ VITE_LOGIN_USERNAME=
124
+ VITE_LOGIN_PASSWORD=
125
+
126
+ # Chat UI direct-to-model endpoint (optional)
127
+ VITE_LLAMA_API_URL=
128
+ VITE_LLAMA_AUTH_TOKEN=
129
+
130
+ # ─────────────────────────────────────────────────────────────────────────────
131
+ # RAG (required when VITE_ENABLE_RAG_ADMIN=true)
132
+ # ─────────────────────────────────────────────────────────────────────────────
133
+ RAG_ADMIN_PASSWORD=tt-studio-rag-admin-password
134
+ # Name recorded against each collection for the model used to embed documents and
135
+ # queries. all-MiniLM-L6-v2 is the only supported value — it ships inside the backend
136
+ # image as an ONNX model, and any other value is ignored with a warning.
137
+ # CHROMA_DB_EMBED_MODEL=all-MiniLM-L6-v2
138
+ # Optional cosine-distance ceiling (0–2) for RAG queries. Results with a larger distance
139
+ # are dropped as insufficiently relevant. Leave unset to always return the top matches.
140
+ # RAG_RELEVANCE_THRESHOLD=1.0
141
+ # Rewrite the chat query with the deployed LLM before retrieval (resolves pronouns
142
+ # from chat history; adds one LLM round-trip per RAG query).
143
+ # RAG_QUERY_REWRITE=false
144
+ # Approximate token cap (chars/4) for RAG context returned to the chat UI.
145
+ # RAG_CONTEXT_TOKEN_BUDGET=2000
146
+ # Cross-encoder reranking of retrieval candidates (auto-skips if the model can't
147
+ # be downloaded, e.g. offline).
148
+ # RAG_RERANK_ENABLED=true
149
+ # Drop reranked chunks scoring below this relevance (0-1). The best
150
+ # RAG_RERANK_FLOOR chunks always survive, so results are never emptied outright.
151
+ # RAG_RERANK_MIN_SCORE=0.05
152
+ # RAG_RERANK_FLOOR=2
153
+ # Chunking for uploaded documents and the internal corpus. The embedding model
154
+ # truncates ~256 tokens, so keep chunks small. Changing these reseeds the corpus.
155
+ # RAG_CHUNK_SIZE=750
156
+ # RAG_CHUNK_OVERLAP=100
157
+
158
+ # ─────────────────────────────────────────────────────────────────────────────
159
+ # Cloud / external model APIs (only used when VITE_ENABLE_DEPLOYED=true)
160
+ # ─────────────────────────────────────────────────────────────────────────────
161
+ # Chat UI
162
+ CLOUD_CHAT_UI_URL=
163
+ CLOUD_CHAT_UI_AUTH_TOKEN=
164
+ # Computer vision
165
+ CLOUD_YOLOV4_API_URL=
166
+ CLOUD_YOLOV4_API_AUTH_TOKEN=
167
+ # Speech recognition
168
+ CLOUD_SPEECH_RECOGNITION_URL=
169
+ CLOUD_SPEECH_RECOGNITION_AUTH_TOKEN=
170
+ # Image generation
171
+ CLOUD_STABLE_DIFFUSION_URL=
172
+ CLOUD_STABLE_DIFFUSION_AUTH_TOKEN=
173
+
174
+ # ─────────────────────────────────────────────────────────────────────────────
175
+ # Wakeword detection
176
+ # ─────────────────────────────────────────────────────────────────────────────
177
+ WAKEWORD_MODEL=hey_quiet_box
178
+ WAKEWORD_THRESHOLD=0.3
179
+ WAKEWORD_DEBUG_SCORES=false
180
+
181
+ # ─────────────────────────────────────────────────────────────────────────────
182
+ # Frontend dev server
183
+ # ─────────────────────────────────────────────────────────────────────────────
184
+ FRONTEND_HOST=localhost
185
+ FRONTEND_PORT=3000
186
+ FRONTEND_TIMEOUT=60
187
+
188
+ # ─────────────────────────────────────────────────────────────────────────────
189
+ # Backend API host port. If it is already in use at startup, run.py bumps it to
190
+ # the next free port and rewrites this value in .env. The container-internal
191
+ # port stays 8000.
192
+ # ─────────────────────────────────────────────────────────────────────────────
193
+ BACKEND_PORT=8000
194
+
@@ -0,0 +1,109 @@
1
+ # IDE
2
+ .DS_Store
3
+
4
+ # Python
5
+ *.pyc
6
+ __pycache__
7
+ *egg-info
8
+ *.whl
9
+ # pip package build output (python -m build)
10
+ /build/
11
+ /dist/
12
+ .venv/
13
+ .pytest_cache/
14
+ # Coverage data/reports (generated by the launcher test suite / CI)
15
+ .coverage
16
+ .coverage.*
17
+ htmlcov/
18
+
19
+ # submodules / artifacts
20
+ .artifacts/
21
+ # tt-inference-server is cloned/fetched at runtime by run.py — never track it
22
+ # (accidental `git add` records it as a stray gitlink with no .gitmodules).
23
+ tt-inference-server/
24
+
25
+ # Virtual Environment
26
+ env
27
+ .testvenv
28
+ .tt_studio_run_venv/
29
+
30
+ # persistent storage volume
31
+ tt_studio_persistent_volume
32
+
33
+ # Output Files
34
+ *netlist.yaml
35
+ *.dump
36
+ docs/build
37
+ .hlkc_cache
38
+ tt_build
39
+ generated_modules
40
+ *.ipynb
41
+ *_params.pt
42
+ *.json
43
+ *.pt
44
+ *.tti
45
+ *.txt
46
+ unzipped_tti/
47
+ db.sqlite3
48
+
49
+ # Runtime files
50
+ *.pid
51
+ *.log
52
+
53
+ # secrets
54
+ .env
55
+
56
+ # config store (issue #807) + legacy pre-consolidation dotfiles
57
+ .tt_studio_config.json
58
+ .tt_studio_preferences.json
59
+ .tt_studio_setup_config.json
60
+ .tt_studio_easy_config.json
61
+
62
+ # unignore
63
+ !requirements.txt
64
+ !app/frontend/third-party-licenses.txt
65
+ !LICENSE_understanding.txt
66
+ !requirements-dev.txt
67
+ !docker-control-service/requirements-api.txt
68
+
69
+ app/frontend/src/assets/*
70
+ !app/frontend/src/assets/app-logos/
71
+
72
+ fastapi.pid
73
+ fastapi.log
74
+
75
+ # Browser cleanup sentinel armed by run.py --cleanup-all
76
+ app/frontend/public/.cleanup-pending
77
+
78
+ # Artifacts
79
+ .artifacts/
80
+ *.tar.gz
81
+ *.zip
82
+ *.eml
83
+
84
+ # Inference API
85
+ inference-api/.venv/
86
+ inference-api/__pycache__/
87
+
88
+ # Agent working directory (temporary files only), except committed skills
89
+ .claude/**/*
90
+ !.claude/skills/
91
+ !.claude/skills/**
92
+ .cursor/agent/**/*
93
+ docs/RAG_PRODUCTIONIZATION_PLAN.md
94
+ docs/DOCKER_CONTROL_SERVICE_PLAN.md
95
+ !app/backend/shared_config/models_from_inference_server.json
96
+ !app/backend/shared_config/community_catalog_bundled.json
97
+ !inference-api/host_volume_models.json
98
+ !inference-api/hf_cache_models.json
99
+ !app/backend/vector_db_control/eval/qa_pairs.json
100
+
101
+ request-venv/*
102
+ app/.env-old
103
+ output.wav
104
+ app/backend/core.*
105
+ .workflow_venvs/.venv_bootstrap_uv
106
+ speech.wav
107
+
108
+ # Superpowers brainstorming mockups
109
+ .superpowers/
@@ -0,0 +1,240 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Licensed under the Apache License, Version 2.0 (the "License");
179
+ you may not use this file except in compliance with the License.
180
+ You may obtain a copy of the License at
181
+
182
+ http://www.apache.org/licenses/LICENSE-2.0
183
+
184
+ Unless required by applicable law or agreed to in writing, software
185
+ distributed under the License is distributed on an "AS IS" BASIS,
186
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
187
+ See the License for the specific language governing permissions and
188
+ limitations under the License.
189
+
190
+ -------------------------------------------------------------------------------
191
+ Copyright (c) 2024 Tenstorrent AI ULC
192
+
193
+ -------------------------------------------------------------------------------
194
+ Third-Party Dependencies:
195
+
196
+ The following dependencies are utilized by this project but are not explicitly
197
+ distributed as part of the software:
198
+
199
+ - Django [License available here](https://github.com/django/django/blob/main/LICENSE)
200
+ - Docker [License available here](https://github.com/docker/docs/blob/main/LICENSE)
201
+ - shadcn/ui [License available here](https://github.com/shadcn/ui/blob/main/LICENSE.md)
202
+ - Third Party Libraries used in Frontend Product [License available here](app/frontend/third-party-licenses.txt)
203
+ - Pillow (MIT-CMU) [License available here](https://github.com/python-pillow/Pillow/blob/main/LICENSE)
204
+ - SciPy (BSD-3-Clause) [License available here](https://github.com/scipy/scipy/blob/main/LICENSE.txt)
205
+ - scikit-learn (BSD-3-Clause) [License available here](https://github.com/scikit-learn/scikit-learn/blob/main/COPYING)
206
+ - pypdf (BSD-3-Clause) [License available here](https://github.com/py-pdf/pypdf/blob/main/LICENSE)
207
+ - all-MiniLM-L6-v2 sentence-embedding model (Apache-2.0, ONNX build bundled in the backend image) [License available here](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2)
208
+ - openWakeWord (Apache-2.0) [License available here](https://github.com/dscripka/openWakeWord/blob/main/LICENSE)
209
+ - Silero VAD (MIT) [License available here](https://github.com/snakers4/silero-vad/blob/master/LICENSE)
210
+ - @ricky0123/vad-web (ISC) [License available here](https://github.com/ricky0123/vad/blob/master/LICENSE)
211
+ - Google speech_embedding model (Apache-2.0, bundled by openWakeWord) [License available here](https://github.com/dscripka/openWakeWord/blob/main/LICENSE)
212
+ - rank-bm25 (Apache-2.0) [License available here](https://github.com/dorianbrown/rank_bm25/blob/master/LICENSE)
213
+ - tokenizers (Apache-2.0, HuggingFace) [License available here](https://github.com/huggingface/tokenizers/blob/main/LICENSE)
214
+ - huggingface-hub (Apache-2.0) [License available here](https://github.com/huggingface/huggingface_hub/blob/main/LICENSE)
215
+ - ms-marco-MiniLM-L-6-v2 reranker model, ONNX export Xenova/ms-marco-MiniLM-L-6-v2 (Apache-2.0, downloaded at runtime) [License available here](https://huggingface.co/cross-encoder/ms-marco-MiniLM-L-6-v2)
216
+ - tt-model-manager (Apache-2.0, installed from GitHub at runtime by run.py) [License available here](https://github.com/tenstorrent/tt-model-manager/blob/main/LICENSE)
217
+
218
+ -------------------------------------------------------------------------------
219
+ Wake-Word Model Training Data:
220
+
221
+ The bundled wake-word model ("hey_quiet_box") was trained by Tenstorrent AI ULC
222
+ using the openWakeWord pipeline (Apache-2.0). Its weights are a derivative of the
223
+ following CC BY 4.0 datasets, credited here as required by that license:
224
+
225
+ - MUSAN corpus — used for background augmentation and negative/validation data.
226
+ D. Snyder, G. Chen, D. Povey, "MUSAN: A Music, Speech, and Noise Corpus,"
227
+ arXiv:1510.08484, 2015. Licensed under CC BY 4.0
228
+ [License](https://creativecommons.org/licenses/by/4.0/). Modified: audio
229
+ features were extracted from the corpus for model training.
230
+ - LibriTTS-R — underlying corpus of the Piper TTS voice (en_US-libritts_r-medium)
231
+ used to synthesize positive/adversarial training samples. Y. Koizumi et al.,
232
+ "LibriTTS-R: A Restored Multi-Speaker Text-to-Speech Corpus," Interspeech 2023,
233
+ arXiv:2305.18802. Licensed under CC BY 4.0
234
+ [License](https://creativecommons.org/licenses/by/4.0/).
235
+
236
+ Training tools (used to produce the model, not distributed as part of it):
237
+ openWakeWord (Apache-2.0), piper-sample-generator (MIT, https://github.com/rhasspy/piper-sample-generator),
238
+ pyroomacoustics (MIT). Room impulse responses used for augmentation were
239
+ synthetically generated with pyroomacoustics and are not derived from any
240
+ copyrighted recording.
@@ -0,0 +1,72 @@
1
+ Metadata-Version: 2.5
2
+ Name: tt-studio
3
+ Version: 2.12.0
4
+ Summary: Web interface for running AI models on Tenstorrent hardware
5
+ Project-URL: Homepage, https://github.com/tenstorrent/tt-studio
6
+ Project-URL: Issues, https://github.com/tenstorrent/tt-studio/issues
7
+ License-Expression: Apache-2.0
8
+ License-File: LICENSE
9
+ Keywords: ai,inference,tenstorrent,tt-studio
10
+ Requires-Python: >=3.12
11
+ Requires-Dist: pydantic-settings>=2.2
12
+ Requires-Dist: pydantic>=2.6
13
+ Requires-Dist: python-dotenv>=1.0
14
+ Requires-Dist: pyyaml>=6.0
15
+ Requires-Dist: requests>=2.31
16
+ Requires-Dist: rich>=13.7
17
+ Requires-Dist: textual>=0.60
18
+ Requires-Dist: typer>=0.12
19
+ Description-Content-Type: text/markdown
20
+
21
+ # TT Studio
22
+
23
+ Web interface for running AI models on [Tenstorrent](https://tenstorrent.com)
24
+ hardware. It wraps [TT Inference Server](https://github.com/tenstorrent/tt-inference-server)
25
+ packaging and [TT-Metal](https://github.com/tenstorrent/tt-metal) execution
26
+ behind a Django + React + agent stack, deployed with Docker.
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ pipx install tt-studio # recommended (isolated)
32
+ # or
33
+ pip install tt-studio
34
+ ```
35
+
36
+ Requires Python 3.12+ and Docker (with your user in the `docker` group). Full
37
+ local deployment needs a Tenstorrent accelerator; the web UI can also run
38
+ against remote inference endpoints with no local hardware.
39
+
40
+ ## Use
41
+
42
+ ```bash
43
+ tt-studio # set up and start the stack, then open http://localhost:3000
44
+ tt-studio run <model> # start the stack and deploy a model from the terminal
45
+ tt-studio --stop # stop the containers (keeps your data)
46
+ tt-studio --help # every option
47
+ ```
48
+
49
+ The package carries the whole application. On first run — and after each
50
+ upgrade — `tt-studio` copies its app files into `~/.tt-studio` (set
51
+ `TT_STUDIO_HOME` to use another folder), which also holds your `.env`, logs
52
+ and downloaded models. Prebuilt container images matching the installed
53
+ version are pulled from `ghcr.io/tenstorrent/tt-studio`.
54
+
55
+ ## Upgrade or uninstall
56
+
57
+ ```bash
58
+ pipx upgrade tt-studio # or: pip install -U tt-studio
59
+ pipx install tt-studio==X.Y.Z --force # pin a specific release
60
+ tt-studio --uninstall && pipx uninstall tt-studio
61
+ ```
62
+
63
+ `tt-studio` tells you at startup when a newer release is on PyPI.
64
+
65
+ ## Links
66
+
67
+ - Source & docs: https://github.com/tenstorrent/tt-studio
68
+ - Issues: https://github.com/tenstorrent/tt-studio/issues
69
+
70
+ Developing TT Studio itself? Clone the repository and use `python run.py`
71
+ (including `--dev` for hot reload) — see the
72
+ [setup guide](https://github.com/tenstorrent/tt-studio/blob/main/dev-docs/detailed-setup.md).