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.
- tt_studio-2.12.0/.env.default +194 -0
- tt_studio-2.12.0/.gitignore +109 -0
- tt_studio-2.12.0/LICENSE +240 -0
- tt_studio-2.12.0/PKG-INFO +72 -0
- tt_studio-2.12.0/app/README.md +116 -0
- tt_studio-2.12.0/app/agent/.dockerignore +22 -0
- tt_studio-2.12.0/app/agent/Agent_flow.png +0 -0
- tt_studio-2.12.0/app/agent/CODE_TOOL_SETUP.md +191 -0
- tt_studio-2.12.0/app/agent/Dockerfile +33 -0
- tt_studio-2.12.0/app/agent/IMPROVEMENTS.md +123 -0
- tt_studio-2.12.0/app/agent/README.md +186 -0
- tt_studio-2.12.0/app/agent/__init__.py +23 -0
- tt_studio-2.12.0/app/agent/agent.py +985 -0
- tt_studio-2.12.0/app/agent/agent_flow.svg +1 -0
- tt_studio-2.12.0/app/agent/agent_flow_chart.png +0 -0
- tt_studio-2.12.0/app/agent/code_tool.py +164 -0
- tt_studio-2.12.0/app/agent/config.py +150 -0
- tt_studio-2.12.0/app/agent/custom_llm.py +442 -0
- tt_studio-2.12.0/app/agent/health_monitor.py +149 -0
- tt_studio-2.12.0/app/agent/improved_react_agent.py +193 -0
- tt_studio-2.12.0/app/agent/llm_discovery.py +231 -0
- tt_studio-2.12.0/app/agent/requirements.txt +22 -0
- tt_studio-2.12.0/app/agent/test_code_tool.py +92 -0
- tt_studio-2.12.0/app/agent/utils.py +393 -0
- tt_studio-2.12.0/app/backend/.dockerignore +1 -0
- tt_studio-2.12.0/app/backend/Dockerfile +76 -0
- tt_studio-2.12.0/app/backend/README.md +215 -0
- tt_studio-2.12.0/app/backend/api/__init__.py +4 -0
- tt_studio-2.12.0/app/backend/api/asgi.py +31 -0
- tt_studio-2.12.0/app/backend/api/hf_access.py +91 -0
- tt_studio-2.12.0/app/backend/api/settings.py +200 -0
- tt_studio-2.12.0/app/backend/api/tests.py +150 -0
- tt_studio-2.12.0/app/backend/api/urls.py +40 -0
- tt_studio-2.12.0/app/backend/api/views.py +174 -0
- tt_studio-2.12.0/app/backend/api/wsgi.py +20 -0
- tt_studio-2.12.0/app/backend/board_control/__init__.py +4 -0
- tt_studio-2.12.0/app/backend/board_control/apps.py +9 -0
- tt_studio-2.12.0/app/backend/board_control/models.py +78 -0
- tt_studio-2.12.0/app/backend/board_control/services.py +697 -0
- tt_studio-2.12.0/app/backend/board_control/urls.py +26 -0
- tt_studio-2.12.0/app/backend/board_control/views.py +304 -0
- tt_studio-2.12.0/app/backend/docker_control/__init__.py +4 -0
- tt_studio-2.12.0/app/backend/docker_control/admin.py +3 -0
- tt_studio-2.12.0/app/backend/docker_control/apps.py +41 -0
- tt_studio-2.12.0/app/backend/docker_control/artifact_resolution.py +129 -0
- tt_studio-2.12.0/app/backend/docker_control/chip_allocator.py +692 -0
- tt_studio-2.12.0/app/backend/docker_control/community_deploy.py +262 -0
- tt_studio-2.12.0/app/backend/docker_control/deploy_guards.py +134 -0
- tt_studio-2.12.0/app/backend/docker_control/deployment_store.py +361 -0
- tt_studio-2.12.0/app/backend/docker_control/deployment_sync.py +371 -0
- tt_studio-2.12.0/app/backend/docker_control/docker_control_client.py +451 -0
- tt_studio-2.12.0/app/backend/docker_control/docker_utils.py +2279 -0
- tt_studio-2.12.0/app/backend/docker_control/forms.py +14 -0
- tt_studio-2.12.0/app/backend/docker_control/health_monitor.py +363 -0
- tt_studio-2.12.0/app/backend/docker_control/image_pull.py +313 -0
- tt_studio-2.12.0/app/backend/docker_control/image_pull_store.py +307 -0
- tt_studio-2.12.0/app/backend/docker_control/launchers/__init__.py +59 -0
- tt_studio-2.12.0/app/backend/docker_control/launchers/base.py +77 -0
- tt_studio-2.12.0/app/backend/docker_control/launchers/inference_server.py +58 -0
- tt_studio-2.12.0/app/backend/docker_control/launchers/model_manager.py +89 -0
- tt_studio-2.12.0/app/backend/docker_control/migrations/__init__.py +4 -0
- tt_studio-2.12.0/app/backend/docker_control/models.py +7 -0
- tt_studio-2.12.0/app/backend/docker_control/serializers.py +51 -0
- tt_studio-2.12.0/app/backend/docker_control/templates/docker_control/deployment_result.html +21 -0
- tt_studio-2.12.0/app/backend/docker_control/templates/docker_control/start_form.html +19 -0
- tt_studio-2.12.0/app/backend/docker_control/test_chip_group_allocation.py +97 -0
- tt_studio-2.12.0/app/backend/docker_control/test_community_listing.py +220 -0
- tt_studio-2.12.0/app/backend/docker_control/test_community_models.py +677 -0
- tt_studio-2.12.0/app/backend/docker_control/test_community_stop.py +117 -0
- tt_studio-2.12.0/app/backend/docker_control/test_deploy_reservation.py +292 -0
- tt_studio-2.12.0/app/backend/docker_control/test_discover_containers.py +51 -0
- tt_studio-2.12.0/app/backend/docker_control/test_docker_control_api.py +358 -0
- tt_studio-2.12.0/app/backend/docker_control/test_docker_utils.py +183 -0
- tt_studio-2.12.0/app/backend/docker_control/test_health_monitor.py +156 -0
- tt_studio-2.12.0/app/backend/docker_control/test_hf_detection.py +73 -0
- tt_studio-2.12.0/app/backend/docker_control/test_image_pull_store.py +218 -0
- tt_studio-2.12.0/app/backend/docker_control/tests.py +800 -0
- tt_studio-2.12.0/app/backend/docker_control/tt_inference_client.py +222 -0
- tt_studio-2.12.0/app/backend/docker_control/tt_model_client.py +222 -0
- tt_studio-2.12.0/app/backend/docker_control/urls.py +62 -0
- tt_studio-2.12.0/app/backend/docker_control/views.py +4372 -0
- tt_studio-2.12.0/app/backend/logs_control/__init__.py +3 -0
- tt_studio-2.12.0/app/backend/logs_control/support_email.py +145 -0
- tt_studio-2.12.0/app/backend/logs_control/test_support_email.py +147 -0
- tt_studio-2.12.0/app/backend/logs_control/urls.py +26 -0
- tt_studio-2.12.0/app/backend/logs_control/views.py +815 -0
- tt_studio-2.12.0/app/backend/manage.py +29 -0
- tt_studio-2.12.0/app/backend/model_control/__init__.py +4 -0
- tt_studio-2.12.0/app/backend/model_control/admin.py +7 -0
- tt_studio-2.12.0/app/backend/model_control/apps.py +25 -0
- tt_studio-2.12.0/app/backend/model_control/connection_warmer.py +170 -0
- tt_studio-2.12.0/app/backend/model_control/download_progress.py +354 -0
- tt_studio-2.12.0/app/backend/model_control/image_dialects.py +184 -0
- tt_studio-2.12.0/app/backend/model_control/image_generation.py +137 -0
- tt_studio-2.12.0/app/backend/model_control/log_classifier.py +700 -0
- tt_studio-2.12.0/app/backend/model_control/marketplace_utils.py +888 -0
- tt_studio-2.12.0/app/backend/model_control/metrics_tracker.py +165 -0
- tt_studio-2.12.0/app/backend/model_control/model_utils.py +630 -0
- tt_studio-2.12.0/app/backend/model_control/models.py +7 -0
- tt_studio-2.12.0/app/backend/model_control/pipeline_views.py +247 -0
- tt_studio-2.12.0/app/backend/model_control/serializers.py +38 -0
- tt_studio-2.12.0/app/backend/model_control/test_e2e.py +69 -0
- tt_studio-2.12.0/app/backend/model_control/test_embed_helpers.py +105 -0
- tt_studio-2.12.0/app/backend/model_control/test_embedding_inference.py +113 -0
- tt_studio-2.12.0/app/backend/model_control/test_health_check.py +34 -0
- tt_studio-2.12.0/app/backend/model_control/test_image_dialects.py +138 -0
- tt_studio-2.12.0/app/backend/model_control/test_marketplace_embedding_env.py +166 -0
- tt_studio-2.12.0/app/backend/model_control/test_marketplace_open_webui_auth.py +112 -0
- tt_studio-2.12.0/app/backend/model_control/test_model_api.py +146 -0
- tt_studio-2.12.0/app/backend/model_control/test_model_utils.py +106 -0
- tt_studio-2.12.0/app/backend/model_control/test_openai_audio.py +151 -0
- tt_studio-2.12.0/app/backend/model_control/test_openai_embeddings.py +113 -0
- tt_studio-2.12.0/app/backend/model_control/test_openai_images.py +134 -0
- tt_studio-2.12.0/app/backend/model_control/test_tts_fallback.py +153 -0
- tt_studio-2.12.0/app/backend/model_control/tests.py +7 -0
- tt_studio-2.12.0/app/backend/model_control/urls.py +49 -0
- tt_studio-2.12.0/app/backend/model_control/views.py +2462 -0
- tt_studio-2.12.0/app/backend/pytest.ini +3 -0
- tt_studio-2.12.0/app/backend/requirements.txt +47 -0
- tt_studio-2.12.0/app/backend/shared_config/__init__.py +4 -0
- tt_studio-2.12.0/app/backend/shared_config/backend_config.py +70 -0
- tt_studio-2.12.0/app/backend/shared_config/coding_agent_config.py +107 -0
- tt_studio-2.12.0/app/backend/shared_config/community_catalog_bundled.json +2266 -0
- tt_studio-2.12.0/app/backend/shared_config/community_model_config.py +317 -0
- tt_studio-2.12.0/app/backend/shared_config/community_overrides.py +153 -0
- tt_studio-2.12.0/app/backend/shared_config/community_overrides.toml +141 -0
- tt_studio-2.12.0/app/backend/shared_config/device_config.py +45 -0
- tt_studio-2.12.0/app/backend/shared_config/external_model_config.py +116 -0
- tt_studio-2.12.0/app/backend/shared_config/logger_config.py +35 -0
- tt_studio-2.12.0/app/backend/shared_config/marketplace_config.py +339 -0
- tt_studio-2.12.0/app/backend/shared_config/model_config.py +556 -0
- tt_studio-2.12.0/app/backend/shared_config/model_overrides.py +217 -0
- tt_studio-2.12.0/app/backend/shared_config/model_overrides.toml +325 -0
- tt_studio-2.12.0/app/backend/shared_config/model_type_config.py +22 -0
- tt_studio-2.12.0/app/backend/shared_config/models_from_inference_server.json +1975 -0
- tt_studio-2.12.0/app/backend/shared_config/setup_config.py +10 -0
- tt_studio-2.12.0/app/backend/shared_config/sync_models_from_inference_server.py +1070 -0
- tt_studio-2.12.0/app/backend/shared_config/test_coding_agent_config.py +111 -0
- tt_studio-2.12.0/app/backend/shared_config/test_community_overrides.py +103 -0
- tt_studio-2.12.0/app/backend/shared_config/test_external_model_config.py +109 -0
- tt_studio-2.12.0/app/backend/shared_config/test_model_config.py +55 -0
- tt_studio-2.12.0/app/backend/shared_config/test_sync_models.py +958 -0
- tt_studio-2.12.0/app/backend/shared_config/test_user_config.py +183 -0
- tt_studio-2.12.0/app/backend/shared_config/user_config.py +224 -0
- tt_studio-2.12.0/app/backend/test_no_header.py +5 -0
- tt_studio-2.12.0/app/backend/training_control/__init__.py +2 -0
- tt_studio-2.12.0/app/backend/training_control/apps.py +16 -0
- tt_studio-2.12.0/app/backend/training_control/test_views.py +299 -0
- tt_studio-2.12.0/app/backend/training_control/urls.py +22 -0
- tt_studio-2.12.0/app/backend/training_control/views.py +1085 -0
- tt_studio-2.12.0/app/backend/vector_db_control/__init__.py +5 -0
- tt_studio-2.12.0/app/backend/vector_db_control/apps.py +45 -0
- tt_studio-2.12.0/app/backend/vector_db_control/chroma.py +131 -0
- tt_studio-2.12.0/app/backend/vector_db_control/document_processor.py +258 -0
- tt_studio-2.12.0/app/backend/vector_db_control/documents.py +184 -0
- tt_studio-2.12.0/app/backend/vector_db_control/lexical.py +123 -0
- tt_studio-2.12.0/app/backend/vector_db_control/reranker.py +116 -0
- tt_studio-2.12.0/app/backend/vector_db_control/retrieval.py +244 -0
- tt_studio-2.12.0/app/backend/vector_db_control/rewrite.py +96 -0
- tt_studio-2.12.0/app/backend/vector_db_control/singletons.py +91 -0
- tt_studio-2.12.0/app/backend/vector_db_control/test_chunking.py +151 -0
- tt_studio-2.12.0/app/backend/vector_db_control/test_data/two_page_sample.pdf +93 -0
- tt_studio-2.12.0/app/backend/vector_db_control/test_embeddings.py +98 -0
- tt_studio-2.12.0/app/backend/vector_db_control/test_pdf_extraction.py +77 -0
- tt_studio-2.12.0/app/backend/vector_db_control/test_retrieval.py +200 -0
- tt_studio-2.12.0/app/backend/vector_db_control/test_tt_embedding_function.py +49 -0
- tt_studio-2.12.0/app/backend/vector_db_control/tt_embedding_function.py +47 -0
- tt_studio-2.12.0/app/backend/vector_db_control/urls.py +23 -0
- tt_studio-2.12.0/app/backend/vector_db_control/views.py +1049 -0
- tt_studio-2.12.0/app/backend/wakeword_control/__init__.py +0 -0
- tt_studio-2.12.0/app/backend/wakeword_control/apps.py +83 -0
- tt_studio-2.12.0/app/backend/wakeword_control/bundled_models/hey_quiet_box.onnx +0 -0
- tt_studio-2.12.0/app/backend/wakeword_control/consumers.py +37 -0
- tt_studio-2.12.0/app/backend/wakeword_control/detector.py +68 -0
- tt_studio-2.12.0/app/backend/wakeword_control/routing.py +11 -0
- tt_studio-2.12.0/app/backend/workflow_control/__init__.py +2 -0
- tt_studio-2.12.0/app/backend/workflow_control/admin.py +9 -0
- tt_studio-2.12.0/app/backend/workflow_control/apps.py +26 -0
- tt_studio-2.12.0/app/backend/workflow_control/executor.py +173 -0
- tt_studio-2.12.0/app/backend/workflow_control/handlers.py +240 -0
- tt_studio-2.12.0/app/backend/workflow_control/migrations/0001_initial.py +100 -0
- tt_studio-2.12.0/app/backend/workflow_control/migrations/__init__.py +2 -0
- tt_studio-2.12.0/app/backend/workflow_control/models.py +61 -0
- tt_studio-2.12.0/app/backend/workflow_control/serializers.py +51 -0
- tt_studio-2.12.0/app/backend/workflow_control/templates.py +123 -0
- tt_studio-2.12.0/app/backend/workflow_control/urls.py +30 -0
- tt_studio-2.12.0/app/backend/workflow_control/views.py +167 -0
- tt_studio-2.12.0/app/docker-compose.dev-mode.yml +74 -0
- tt_studio-2.12.0/app/docker-compose.prod.yml +38 -0
- tt_studio-2.12.0/app/docker-compose.skip-docker-control.yml +14 -0
- tt_studio-2.12.0/app/docker-compose.tt-hardware.yml +4 -0
- tt_studio-2.12.0/app/docker-compose.yml +270 -0
- tt_studio-2.12.0/app/frontend/.dockerignore +11 -0
- tt_studio-2.12.0/app/frontend/.gitignore +28 -0
- tt_studio-2.12.0/app/frontend/.prettierignore +14 -0
- tt_studio-2.12.0/app/frontend/.prettierrc +13 -0
- tt_studio-2.12.0/app/frontend/.vscode/HEADER_SETUP.md +225 -0
- tt_studio-2.12.0/app/frontend/Dockerfile.dev +27 -0
- tt_studio-2.12.0/app/frontend/Dockerfile.prod +34 -0
- tt_studio-2.12.0/app/frontend/HEADER_TESTING.md +73 -0
- tt_studio-2.12.0/app/frontend/README.md +106 -0
- tt_studio-2.12.0/app/frontend/components.json +17 -0
- tt_studio-2.12.0/app/frontend/e2e/app-render.spec.ts +81 -0
- tt_studio-2.12.0/app/frontend/e2e/helpers.ts +60 -0
- tt_studio-2.12.0/app/frontend/eslint.config.js +84 -0
- tt_studio-2.12.0/app/frontend/hooks/use-mobile.tsx +26 -0
- tt_studio-2.12.0/app/frontend/index.html +19 -0
- tt_studio-2.12.0/app/frontend/nginx.conf +131 -0
- tt_studio-2.12.0/app/frontend/package-lock.json +14163 -0
- tt_studio-2.12.0/app/frontend/package.json +112 -0
- tt_studio-2.12.0/app/frontend/playwright.config.ts +31 -0
- tt_studio-2.12.0/app/frontend/postcss.config.js +7 -0
- tt_studio-2.12.0/app/frontend/public/audio-frames-worklet.js +43 -0
- tt_studio-2.12.0/app/frontend/public/offline.html +220 -0
- tt_studio-2.12.0/app/frontend/public/placeholder.svg +7 -0
- tt_studio-2.12.0/app/frontend/public/sw.js +49 -0
- tt_studio-2.12.0/app/frontend/scripts/add-headers.js +182 -0
- tt_studio-2.12.0/app/frontend/scripts/check-headers-changed.js +195 -0
- tt_studio-2.12.0/app/frontend/src/App.css +42 -0
- tt_studio-2.12.0/app/frontend/src/App.tsx +53 -0
- tt_studio-2.12.0/app/frontend/src/api/config.ts +5 -0
- tt_studio-2.12.0/app/frontend/src/api/githubApi.ts +243 -0
- tt_studio-2.12.0/app/frontend/src/api/marketplaceApis.ts +75 -0
- tt_studio-2.12.0/app/frontend/src/api/modelsDeployedApis.ts +920 -0
- tt_studio-2.12.0/app/frontend/src/api/settingsApi.ts +95 -0
- tt_studio-2.12.0/app/frontend/src/api/trainingApi.ts +421 -0
- tt_studio-2.12.0/app/frontend/src/api/utlis.ts +14 -0
- tt_studio-2.12.0/app/frontend/src/api/workflowApi.ts +114 -0
- tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738772998942.jpg +0 -0
- tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773023543.jpg +0 -0
- tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773046851.jpg +0 -0
- tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773136575.jpg +0 -0
- tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773243000.jpg +0 -0
- tt_studio-2.12.0/app/frontend/src/assets/SD1.4/generated-image-1738773382747.jpg +0 -0
- tt_studio-2.12.0/app/frontend/src/assets/app-logos/anything-llm.svg +1 -0
- tt_studio-2.12.0/app/frontend/src/assets/app-logos/claudecode.svg +1 -0
- tt_studio-2.12.0/app/frontend/src/assets/app-logos/dify.svg +7 -0
- tt_studio-2.12.0/app/frontend/src/assets/app-logos/openclaw.svg +1 -0
- tt_studio-2.12.0/app/frontend/src/assets/app-logos/opencode.svg +4 -0
- tt_studio-2.12.0/app/frontend/src/assets/app-logos/openwebui.svg +1 -0
- tt_studio-2.12.0/app/frontend/src/components/BackendDisconnectedOverlay.tsx +101 -0
- tt_studio-2.12.0/app/frontend/src/components/BoardBadge.tsx +70 -0
- tt_studio-2.12.0/app/frontend/src/components/ChipConfigStep.tsx +448 -0
- tt_studio-2.12.0/app/frontend/src/components/ChipStatusDisplay.tsx +190 -0
- tt_studio-2.12.0/app/frontend/src/components/ConfirmDialog.tsx +52 -0
- tt_studio-2.12.0/app/frontend/src/components/CopyableText.tsx +58 -0
- tt_studio-2.12.0/app/frontend/src/components/CustomToaster.tsx +267 -0
- tt_studio-2.12.0/app/frontend/src/components/DarkModeToggle.tsx +34 -0
- tt_studio-2.12.0/app/frontend/src/components/DeployModelStep.tsx +666 -0
- tt_studio-2.12.0/app/frontend/src/components/DeployedModelsWarning.tsx +188 -0
- tt_studio-2.12.0/app/frontend/src/components/DeploymentTray.tsx +395 -0
- tt_studio-2.12.0/app/frontend/src/components/FilesUploader.tsx +72 -0
- tt_studio-2.12.0/app/frontend/src/components/FirstStepForm.tsx +656 -0
- tt_studio-2.12.0/app/frontend/src/components/Footer.tsx +692 -0
- tt_studio-2.12.0/app/frontend/src/components/HealthBadge.tsx +230 -0
- tt_studio-2.12.0/app/frontend/src/components/HelpIcon.tsx +43 -0
- tt_studio-2.12.0/app/frontend/src/components/HfAccessCheck.tsx +195 -0
- tt_studio-2.12.0/app/frontend/src/components/HfGatePanel.tsx +113 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/ModelAPIInfo.tsx +132 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/index.ts +8 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/EndpointsTab.tsx +244 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/ExamplesTab.tsx +412 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/TestTab.tsx +194 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/tabs/index.ts +6 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelAPIInfo/useModelAPIInfo.ts +361 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelsDeployedSkeleton.tsx +26 -0
- tt_studio-2.12.0/app/frontend/src/components/ModelsDeployedTable.tsx +9 -0
- tt_studio-2.12.0/app/frontend/src/components/MultiCardResetDialog.tsx +718 -0
- tt_studio-2.12.0/app/frontend/src/components/NavBar.tsx +1260 -0
- tt_studio-2.12.0/app/frontend/src/components/NoModelsDeployed.tsx +42 -0
- tt_studio-2.12.0/app/frontend/src/components/README_API_Info.md +119 -0
- tt_studio-2.12.0/app/frontend/src/components/ResetIcon.tsx +540 -0
- tt_studio-2.12.0/app/frontend/src/components/ResetStepRow.tsx +140 -0
- tt_studio-2.12.0/app/frontend/src/components/SelectionSteps.tsx +1207 -0
- tt_studio-2.12.0/app/frontend/src/components/SettingsDialog.tsx +300 -0
- tt_studio-2.12.0/app/frontend/src/components/SideBar.tsx +195 -0
- tt_studio-2.12.0/app/frontend/src/components/StatusBadge.tsx +61 -0
- tt_studio-2.12.0/app/frontend/src/components/StepperFooter.tsx +69 -0
- tt_studio-2.12.0/app/frontend/src/components/StepperFormActions.tsx +83 -0
- tt_studio-2.12.0/app/frontend/src/components/StreamingLogPanel.tsx +24 -0
- tt_studio-2.12.0/app/frontend/src/components/UploadDialog.tsx +36 -0
- tt_studio-2.12.0/app/frontend/src/components/VoiceAgentSolutionStep.tsx +1045 -0
- tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/ActionCard.tsx +29 -0
- tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/DeployedHome.tsx +164 -0
- tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/HardwareIcon.tsx +65 -0
- tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/ModelCard.tsx +464 -0
- tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/ModelLogo.tsx +48 -0
- tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/data.ts +136 -0
- tt_studio-2.12.0/app/frontend/src/components/aiPlaygroundHome/types.ts +61 -0
- tt_studio-2.12.0/app/frontend/src/components/bug-report/BugReportButton.tsx +62 -0
- tt_studio-2.12.0/app/frontend/src/components/bug-report/BugReportModal.tsx +284 -0
- tt_studio-2.12.0/app/frontend/src/components/bug-report/types.ts +12 -0
- tt_studio-2.12.0/app/frontend/src/components/bug-report/useBugReport.ts +210 -0
- tt_studio-2.12.0/app/frontend/src/components/canvas/CanvasChat.tsx +649 -0
- tt_studio-2.12.0/app/frontend/src/components/canvas/CanvasCodeView.tsx +206 -0
- tt_studio-2.12.0/app/frontend/src/components/canvas/CanvasPreview.tsx +231 -0
- tt_studio-2.12.0/app/frontend/src/components/canvas/canvasCodeParser.ts +113 -0
- tt_studio-2.12.0/app/frontend/src/components/canvas/canvasSystemPrompt.ts +79 -0
- tt_studio-2.12.0/app/frontend/src/components/canvas/useCanvasState.ts +445 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/ChatComponent.tsx +1554 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/ChatExamples.tsx +157 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/ChatHistory.tsx +442 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/CodeBlock.tsx +148 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/CompletionTemplatePanel.tsx +253 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/FileDisplay.tsx +399 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/Header.tsx +794 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/HistoryPanel.tsx +278 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/ImagePreview.tsx +55 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/InferenceStats.tsx +928 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/InputArea.tsx +492 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/MarkdownComponent.tsx +132 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/MessageActions.tsx +266 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/MessageIndicator.tsx +52 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/Settings.tsx +446 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/StreamingMessage.tsx +509 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/TTSkeletonLoader.tsx +59 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/VoiceInput.tsx +271 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/benchmarkData.ts +215 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/fileUtils.tsx +227 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/getRagContext.ts +79 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/indexedDBManager.ts +258 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/metricsTracker.ts +251 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/processUploadedFiles.tsx +42 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/runInference.ts +728 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/templateRenderer.ts +231 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/textProcessing.ts +456 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/tokenLimits.ts +36 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/types.ts +300 -0
- tt_studio-2.12.0/app/frontend/src/components/chatui/usePersistentState.ts +271 -0
- tt_studio-2.12.0/app/frontend/src/components/deployment/WorkflowLogDialog.tsx +710 -0
- tt_studio-2.12.0/app/frontend/src/components/embedding/DocumentsPanel.tsx +334 -0
- tt_studio-2.12.0/app/frontend/src/components/embedding/EmbeddingDemo.tsx +114 -0
- tt_studio-2.12.0/app/frontend/src/components/face_recognition/FaceRecognitionComponent.tsx +609 -0
- tt_studio-2.12.0/app/frontend/src/components/file-upload-demo.tsx +16 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/Header.tsx +105 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/ImageGenParentComponent.tsx +66 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/ImageInputArea.tsx +111 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/ShowcaseGallery.tsx +87 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/StableDiffusionChat.tsx +173 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/api/imageGeneration.ts +131 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/hooks/useChat.ts +118 -0
- tt_studio-2.12.0/app/frontend/src/components/imageGen/types/chat.ts +15 -0
- tt_studio-2.12.0/app/frontend/src/components/log_viewer/LogViewer.tsx +205 -0
- tt_studio-2.12.0/app/frontend/src/components/log_viewer/openEncodedLogInNewTab.tsx +12 -0
- tt_studio-2.12.0/app/frontend/src/components/log_viewer/parseLogFileName.tsx +20 -0
- tt_studio-2.12.0/app/frontend/src/components/magicui/AnimatedDeployButton.tsx +158 -0
- tt_studio-2.12.0/app/frontend/src/components/models/ColumnsMenu.tsx +88 -0
- tt_studio-2.12.0/app/frontend/src/components/models/DeleteModelDialog.tsx +315 -0
- tt_studio-2.12.0/app/frontend/src/components/models/Logs/EventsView.tsx +119 -0
- tt_studio-2.12.0/app/frontend/src/components/models/Logs/LogStreamDialog.tsx +298 -0
- tt_studio-2.12.0/app/frontend/src/components/models/Logs/LogView.tsx +135 -0
- tt_studio-2.12.0/app/frontend/src/components/models/Logs/MetricsView.tsx +51 -0
- tt_studio-2.12.0/app/frontend/src/components/models/ModelPreparingBanner.tsx +459 -0
- tt_studio-2.12.0/app/frontend/src/components/models/ModelsDeployedCard.tsx +854 -0
- tt_studio-2.12.0/app/frontend/src/components/models/ModelsTable.tsx +424 -0
- tt_studio-2.12.0/app/frontend/src/components/models/ModelsToolbar.tsx +72 -0
- tt_studio-2.12.0/app/frontend/src/components/models/NoModelsRunning.tsx +57 -0
- tt_studio-2.12.0/app/frontend/src/components/models/RegisterModelForm.tsx +395 -0
- tt_studio-2.12.0/app/frontend/src/components/models/SettingsMenu.tsx +182 -0
- tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ContainerLogsCell.tsx +70 -0
- tt_studio-2.12.0/app/frontend/src/components/models/row-cells/HealthCell.tsx +37 -0
- tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ImageCell.tsx +14 -0
- tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ManageCell.tsx +331 -0
- tt_studio-2.12.0/app/frontend/src/components/models/row-cells/ModelNameCell.tsx +14 -0
- tt_studio-2.12.0/app/frontend/src/components/models/row-cells/PortsCell.tsx +14 -0
- tt_studio-2.12.0/app/frontend/src/components/models/row-cells/StatusCell.tsx +14 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/AnimatedTabs.tsx +127 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/DetectionResultsTable.tsx +170 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/ObjectDetectionComponent.tsx +894 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/SourcePicker.tsx +192 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/WebcamPicker.tsx +191 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/hooks/useWebcam.ts +93 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/types/objectDetection.ts +43 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/colorUtils.ts +20 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/detectionUtils.ts +159 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/runInference.ts +79 -0
- tt_studio-2.12.0/app/frontend/src/components/object_detection/utils/webcamUtils.ts +73 -0
- tt_studio-2.12.0/app/frontend/src/components/rag/RagAdmin.tsx +433 -0
- tt_studio-2.12.0/app/frontend/src/components/rag/RagDataSourceForm.tsx +108 -0
- tt_studio-2.12.0/app/frontend/src/components/rag/RagManagement.tsx +1292 -0
- tt_studio-2.12.0/app/frontend/src/components/rag/RagSkeletons.tsx +254 -0
- tt_studio-2.12.0/app/frontend/src/components/rag/admin.ts +70 -0
- tt_studio-2.12.0/app/frontend/src/components/rag/index.ts +149 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/AudioRecorderWithVisualizer.tsx +779 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/appSidebar.tsx +320 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/conversationCounter.tsx +87 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/lib/apiClient.tsx +440 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/lib/chunker.ts +128 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/mainContent.tsx +1172 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/speechToTextApp.tsx +317 -0
- tt_studio-2.12.0/app/frontend/src/components/speechToText/waveConverter.ts +200 -0
- tt_studio-2.12.0/app/frontend/src/components/tour/TourHelpButton.tsx +125 -0
- tt_studio-2.12.0/app/frontend/src/components/tour/tourRegistry.ts +41 -0
- tt_studio-2.12.0/app/frontend/src/components/tour/tourSteps.ts +8 -0
- tt_studio-2.12.0/app/frontend/src/components/tour/tours/deployModel.ts +156 -0
- tt_studio-2.12.0/app/frontend/src/components/tour/tours/onboarding.ts +55 -0
- tt_studio-2.12.0/app/frontend/src/components/training/DatasetPreview.tsx +128 -0
- tt_studio-2.12.0/app/frontend/src/components/training/DatasetPreviewPanel.tsx +510 -0
- tt_studio-2.12.0/app/frontend/src/components/training/DatasetUploadField.tsx +111 -0
- tt_studio-2.12.0/app/frontend/src/components/training/TrainingConfigDialog.tsx +945 -0
- tt_studio-2.12.0/app/frontend/src/components/training/datasetPreview.ts +270 -0
- tt_studio-2.12.0/app/frontend/src/components/tts/TTSDemo.tsx +600 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/DeploymentProgress.tsx +460 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/ImageWithFallback.tsx +33 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/SimpleDeploymentProgress.tsx +102 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/accordion.tsx +62 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/alert-dialog.tsx +146 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/alert.tsx +65 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/aspect-ratio.tsx +12 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/badge.tsx +52 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/breadcrumb.tsx +125 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/button.tsx +65 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/card.tsx +92 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/collapsible.tsx +15 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/command.tsx +159 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/dialog.tsx +120 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/drawer.tsx +122 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/dropdown-menu.tsx +204 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/elevated-card.tsx +61 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/enhanced-button.tsx +115 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/file-upload.tsx +201 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/flip-words.tsx +102 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/focus-cards.tsx +96 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/form.tsx +186 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/gentle-file-upload.tsx +317 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/hooks/use-mobile.tsx +24 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/input.tsx +31 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/label.tsx +30 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/line-shadow-text.tsx +59 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/menubar.tsx +240 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/navigation-menu.tsx +135 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/popover.tsx +35 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/progress.tsx +230 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/pulsating-dot.tsx +72 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/resizable.tsx +45 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/retro-grid.tsx +49 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/scroll-area.tsx +58 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/scroll-progress-bar.tsx +104 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/select.tsx +172 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/separator.tsx +41 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/sheet.tsx +144 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/sidebar.tsx +779 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/skeleton.tsx +21 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/slider.tsx +32 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/spinner.tsx +25 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/stepper.tsx +989 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/switch.tsx +27 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/table.tsx +123 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/tabs.tsx +59 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/textarea.tsx +30 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/tooltip.tsx +34 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/tt-device-badge.tsx +39 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/typewriter-effect.tsx +114 -0
- tt_studio-2.12.0/app/frontend/src/components/ui/typing-animation.tsx +53 -0
- tt_studio-2.12.0/app/frontend/src/components/videoGen/VideoGenChat.tsx +204 -0
- tt_studio-2.12.0/app/frontend/src/components/videoGen/VideoGenParentComponent.tsx +72 -0
- tt_studio-2.12.0/app/frontend/src/components/videoGen/VideoInputArea.tsx +102 -0
- tt_studio-2.12.0/app/frontend/src/components/videoGen/api/videoGeneration.ts +76 -0
- tt_studio-2.12.0/app/frontend/src/components/videoGen/hooks/useVideoChat.ts +208 -0
- tt_studio-2.12.0/app/frontend/src/components/videoGen/types/chat.ts +27 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/AudioRecorderWithVisualizer.tsx +353 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/MetricsPanel.tsx +330 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/StatusPanel.tsx +265 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/VoiceAgentApp.tsx +1013 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/VoiceAgentSettings.tsx +172 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/appSidebar.tsx +316 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/conversationCounter.tsx +87 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/hooks/useSilenceDetection.ts +84 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/hooks/useWakeWord.ts +92 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/lib/apiClient.tsx +174 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/lib/cleanSpeech.ts +104 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/lib/prompts.ts +104 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/mainContent.tsx +598 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/types.ts +73 -0
- tt_studio-2.12.0/app/frontend/src/components/voiceAgent/waveConverter.ts +223 -0
- tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeDoneStep.tsx +47 -0
- tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeHfCheckStep.tsx +59 -0
- tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeIntroStep.tsx +55 -0
- tt_studio-2.12.0/app/frontend/src/components/welcome/WelcomeSecretsStep.tsx +164 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/ExecutionPanel.tsx +202 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/NodeConfigPanel.tsx +378 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/NodePalette.tsx +104 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/WorkflowCanvas.tsx +222 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/WorkflowToolbar.tsx +226 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/canvas-overrides.css +17 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/config/AgentConfigPanel.tsx +134 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/config/InputConfigPanel.tsx +54 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/config/LLMConfigPanel.tsx +129 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/config/RAGConfigPanel.tsx +161 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/edges/DeletableEdge.tsx +86 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/AgentNode.tsx +52 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/BaseNode.tsx +101 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/InputNode.tsx +26 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/LLMNode.tsx +36 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/OutputNode.tsx +34 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/RAGQueryNode.tsx +63 -0
- tt_studio-2.12.0/app/frontend/src/components/workflows/nodes/nodeTypes.ts +17 -0
- tt_studio-2.12.0/app/frontend/src/contexts/BackendHealthContext.ts +23 -0
- tt_studio-2.12.0/app/frontend/src/contexts/DeviceStateContext.ts +41 -0
- tt_studio-2.12.0/app/frontend/src/contexts/FooterVisibilityContext.ts +13 -0
- tt_studio-2.12.0/app/frontend/src/contexts/HeroSectionContext.ts +13 -0
- tt_studio-2.12.0/app/frontend/src/contexts/ModelsContext.ts +41 -0
- tt_studio-2.12.0/app/frontend/src/contexts/RefreshContext.ts +16 -0
- tt_studio-2.12.0/app/frontend/src/contexts/ThemeContext.ts +25 -0
- tt_studio-2.12.0/app/frontend/src/contexts/TourContext.ts +30 -0
- tt_studio-2.12.0/app/frontend/src/fonts/Akkurat-Mono.OTF +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/DegularDisplay-Light.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/DegularDisplay-Medium.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/DegularDisplay-Semibold.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/DegularText-Bold.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/DegularText-Medium.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/DegularText-MediumItalic.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/RMMono-Regular.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/fonts/RMMono-SemiBold.otf +0 -0
- tt_studio-2.12.0/app/frontend/src/hooks/use-media-query.tsx +27 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useActiveDeployments.ts +341 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useAgentAvailability.ts +83 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useAppReachable.ts +46 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useColumnPrefs.ts +68 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useDeleteStream.ts +134 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useDeploymentProgress.ts +226 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useDetectModel.ts +45 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useDeviceState.ts +13 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useFooterVisibility.ts +14 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useGitHubReleases.ts +92 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useHealthRefresh.ts +47 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useHeroSection.ts +12 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useHideDeploymentTray.ts +22 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useIsResetting.ts +15 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useLogStream.ts +202 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useModels.ts +13 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useOpenLogsFromUrl.ts +28 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useRefresh.ts +13 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useStrayContainers.ts +34 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useTablePrefs.ts +72 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useTheme.ts +17 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useTour.ts +15 -0
- tt_studio-2.12.0/app/frontend/src/hooks/useWorkflowLogStream.ts +147 -0
- tt_studio-2.12.0/app/frontend/src/index.css +557 -0
- tt_studio-2.12.0/app/frontend/src/layouts/MainLayout.tsx +27 -0
- tt_studio-2.12.0/app/frontend/src/lib/ansi.ts +177 -0
- tt_studio-2.12.0/app/frontend/src/lib/appLogos.ts +34 -0
- tt_studio-2.12.0/app/frontend/src/lib/debounce.ts +17 -0
- tt_studio-2.12.0/app/frontend/src/lib/deployProgress.ts +110 -0
- tt_studio-2.12.0/app/frontend/src/lib/deploySession.ts +32 -0
- tt_studio-2.12.0/app/frontend/src/lib/hfStatus.ts +34 -0
- tt_studio-2.12.0/app/frontend/src/lib/marketplaceGuides.ts +363 -0
- tt_studio-2.12.0/app/frontend/src/lib/mediaUtils.ts +54 -0
- tt_studio-2.12.0/app/frontend/src/lib/storage.ts +30 -0
- tt_studio-2.12.0/app/frontend/src/lib/utils.ts +8 -0
- tt_studio-2.12.0/app/frontend/src/main.tsx +86 -0
- tt_studio-2.12.0/app/frontend/src/pages/404Page.tsx +267 -0
- tt_studio-2.12.0/app/frontend/src/pages/ApiInfoPage.tsx +137 -0
- tt_studio-2.12.0/app/frontend/src/pages/AppsPage.tsx +982 -0
- tt_studio-2.12.0/app/frontend/src/pages/CanvasPage.tsx +227 -0
- tt_studio-2.12.0/app/frontend/src/pages/ChatUIPage.tsx +27 -0
- tt_studio-2.12.0/app/frontend/src/pages/DeployedHomePage.tsx +50 -0
- tt_studio-2.12.0/app/frontend/src/pages/DeploymentHistoryPage.tsx +395 -0
- tt_studio-2.12.0/app/frontend/src/pages/EmbeddingPage.tsx +26 -0
- tt_studio-2.12.0/app/frontend/src/pages/FaceRecognitionPage.tsx +47 -0
- tt_studio-2.12.0/app/frontend/src/pages/HomePage.tsx +13 -0
- tt_studio-2.12.0/app/frontend/src/pages/ImageGenPage.tsx +17 -0
- tt_studio-2.12.0/app/frontend/src/pages/LoginPage.tsx +269 -0
- tt_studio-2.12.0/app/frontend/src/pages/LogsPage.tsx +17 -0
- tt_studio-2.12.0/app/frontend/src/pages/ModelsDeployed.tsx +13 -0
- tt_studio-2.12.0/app/frontend/src/pages/NotFoundPage.tsx +131 -0
- tt_studio-2.12.0/app/frontend/src/pages/ObjectDetectionPage.tsx +18 -0
- tt_studio-2.12.0/app/frontend/src/pages/RagAdminPage.tsx +20 -0
- tt_studio-2.12.0/app/frontend/src/pages/RegisterModelPage.tsx +38 -0
- tt_studio-2.12.0/app/frontend/src/pages/SpeechToTextPage.tsx +15 -0
- tt_studio-2.12.0/app/frontend/src/pages/TTSPage.tsx +23 -0
- tt_studio-2.12.0/app/frontend/src/pages/TrainingJobDetailPage.tsx +894 -0
- tt_studio-2.12.0/app/frontend/src/pages/TrainingPage.tsx +325 -0
- tt_studio-2.12.0/app/frontend/src/pages/VideoGenPage.tsx +18 -0
- tt_studio-2.12.0/app/frontend/src/pages/VoiceAgentPage.tsx +13 -0
- tt_studio-2.12.0/app/frontend/src/pages/WelcomePage.tsx +148 -0
- tt_studio-2.12.0/app/frontend/src/pages/WorkflowsPage.tsx +69 -0
- tt_studio-2.12.0/app/frontend/src/providers/ActiveDeploymentsContext.tsx +34 -0
- tt_studio-2.12.0/app/frontend/src/providers/BackendHealthProvider.tsx +115 -0
- tt_studio-2.12.0/app/frontend/src/providers/DeviceStateContext.tsx +98 -0
- tt_studio-2.12.0/app/frontend/src/providers/FooterVisibilityContext.tsx +27 -0
- tt_studio-2.12.0/app/frontend/src/providers/HeroSectionContext.tsx +24 -0
- tt_studio-2.12.0/app/frontend/src/providers/ModelsContext.tsx +95 -0
- tt_studio-2.12.0/app/frontend/src/providers/RefreshContext.tsx +51 -0
- tt_studio-2.12.0/app/frontend/src/providers/ThemeProvider.tsx +50 -0
- tt_studio-2.12.0/app/frontend/src/providers/TourProvider.tsx +359 -0
- tt_studio-2.12.0/app/frontend/src/routes/components/protected-route.tsx +18 -0
- tt_studio-2.12.0/app/frontend/src/routes/index.tsx +103 -0
- tt_studio-2.12.0/app/frontend/src/routes/route-config.tsx +215 -0
- tt_studio-2.12.0/app/frontend/src/store/workflowStore.ts +539 -0
- tt_studio-2.12.0/app/frontend/src/test-pr-file.tsx +2 -0
- tt_studio-2.12.0/app/frontend/src/theme/commonThemeClasses.tsx +66 -0
- tt_studio-2.12.0/app/frontend/src/types/chipStatus.ts +27 -0
- tt_studio-2.12.0/app/frontend/src/types/models.ts +32 -0
- tt_studio-2.12.0/app/frontend/src/types/workflow.ts +85 -0
- tt_studio-2.12.0/app/frontend/src/utils/deviceFit.ts +394 -0
- tt_studio-2.12.0/app/frontend/src/utils/deviceIds.ts +36 -0
- tt_studio-2.12.0/app/frontend/src/utils/env.ts +5 -0
- tt_studio-2.12.0/app/frontend/src/utils/logo.tsx +221 -0
- tt_studio-2.12.0/app/frontend/src/utils/p300x2Placement.ts +86 -0
- tt_studio-2.12.0/app/frontend/src/vite-env.d.ts +9 -0
- tt_studio-2.12.0/app/frontend/tailwind.config.js +244 -0
- tt_studio-2.12.0/app/frontend/test-header-checker.js +202 -0
- tt_studio-2.12.0/app/frontend/third-party-licenses.txt +5880 -0
- tt_studio-2.12.0/app/frontend/tsconfig.json +31 -0
- tt_studio-2.12.0/app/frontend/tsconfig.node.json +11 -0
- tt_studio-2.12.0/app/frontend/vite.config.ts +175 -0
- tt_studio-2.12.0/app/litellm/config.yaml +25 -0
- tt_studio-2.12.0/ci/deploy_healthcheck.py +747 -0
- tt_studio-2.12.0/docker-control-service/.dockerignore +5 -0
- tt_studio-2.12.0/docker-control-service/Dockerfile +21 -0
- tt_studio-2.12.0/docker-control-service/README.md +125 -0
- tt_studio-2.12.0/docker-control-service/api.py +90 -0
- tt_studio-2.12.0/docker-control-service/config.py +62 -0
- tt_studio-2.12.0/docker-control-service/entrypoint.py +81 -0
- tt_studio-2.12.0/docker-control-service/middleware/auth.py +55 -0
- tt_studio-2.12.0/docker-control-service/models/requests.py +68 -0
- tt_studio-2.12.0/docker-control-service/models/responses.py +86 -0
- tt_studio-2.12.0/docker-control-service/requirements-api.txt +16 -0
- tt_studio-2.12.0/docker-control-service/routers/containers.py +352 -0
- tt_studio-2.12.0/docker-control-service/routers/health.py +57 -0
- tt_studio-2.12.0/docker-control-service/routers/images.py +382 -0
- tt_studio-2.12.0/docker-control-service/routers/logs.py +44 -0
- tt_studio-2.12.0/docker-control-service/routers/networks.py +213 -0
- tt_studio-2.12.0/docker-control-service/services/container_service.py +380 -0
- tt_studio-2.12.0/hatch_build.py +87 -0
- tt_studio-2.12.0/inference-api/__init__.py +2 -0
- tt_studio-2.12.0/inference-api/api.py +3510 -0
- tt_studio-2.12.0/inference-api/artifact_refs.py +267 -0
- tt_studio-2.12.0/inference-api/community.py +557 -0
- tt_studio-2.12.0/inference-api/host_volume_models.json +8 -0
- tt_studio-2.12.0/inference-api/main.py +15 -0
- tt_studio-2.12.0/inference-api/requirements.txt +21 -0
- tt_studio-2.12.0/inference-api/tests/__init__.py +2 -0
- tt_studio-2.12.0/inference-api/tests/test_artifact_git_marker.py +134 -0
- tt_studio-2.12.0/inference-api/tests/test_artifact_refs.py +196 -0
- tt_studio-2.12.0/inference-api/tests/test_community_router.py +530 -0
- tt_studio-2.12.0/inference-api/tests/test_dev_mode_subprocess.py +296 -0
- tt_studio-2.12.0/inference-api/tests/test_media_trace_region_override.py +50 -0
- tt_studio-2.12.0/inference-api/tests/test_run_lock_queue.py +139 -0
- tt_studio-2.12.0/inference-api/tests/test_secret_env_vars.py +82 -0
- tt_studio-2.12.0/inference-api/tests/test_tt_model_runner.py +496 -0
- tt_studio-2.12.0/inference-api/tt_model_runner.py +942 -0
- tt_studio-2.12.0/packaging/pypi/README.md +52 -0
- tt_studio-2.12.0/pyproject.toml +54 -0
- tt_studio-2.12.0/tt_setup/__init__.py +4 -0
- tt_studio-2.12.0/tt_setup/bootstrap.py +280 -0
- tt_studio-2.12.0/tt_setup/bug_report.py +306 -0
- tt_studio-2.12.0/tt_setup/cleanup/__init__.py +98 -0
- tt_studio-2.12.0/tt_setup/cleanup/_confirm.py +29 -0
- tt_studio-2.12.0/tt_setup/cleanup/_orchestrate.py +297 -0
- tt_studio-2.12.0/tt_setup/cleanup/_purge_model.py +695 -0
- tt_studio-2.12.0/tt_setup/cleanup/_resource_ops.py +738 -0
- tt_studio-2.12.0/tt_setup/cleanup/_runtime.py +108 -0
- tt_studio-2.12.0/tt_setup/cli/__init__.py +13 -0
- tt_studio-2.12.0/tt_setup/cli/_args.py +362 -0
- tt_studio-2.12.0/tt_setup/cli/_deploy.py +435 -0
- tt_studio-2.12.0/tt_setup/cli/_run.py +1351 -0
- tt_studio-2.12.0/tt_setup/cli/_stop_model.py +222 -0
- tt_studio-2.12.0/tt_setup/config_store.py +144 -0
- tt_studio-2.12.0/tt_setup/console/__init__.py +69 -0
- tt_studio-2.12.0/tt_setup/console/_panels.py +214 -0
- tt_studio-2.12.0/tt_setup/console/_prompts.py +51 -0
- tt_studio-2.12.0/tt_setup/console/_stepper.py +602 -0
- tt_studio-2.12.0/tt_setup/console/_steps.py +200 -0
- tt_studio-2.12.0/tt_setup/console/_theme.py +92 -0
- tt_studio-2.12.0/tt_setup/constants.py +139 -0
- tt_studio-2.12.0/tt_setup/docker.py +562 -0
- tt_studio-2.12.0/tt_setup/docker_diag/__init__.py +66 -0
- tt_studio-2.12.0/tt_setup/docker_diag/_build_progress.py +314 -0
- tt_studio-2.12.0/tt_setup/docker_diag/_diagnostics.py +435 -0
- tt_studio-2.12.0/tt_setup/env_config/__init__.py +53 -0
- tt_studio-2.12.0/tt_setup/env_config/_configure.py +591 -0
- tt_studio-2.12.0/tt_setup/env_config/_dotenv.py +67 -0
- tt_studio-2.12.0/tt_setup/env_config/_hf_access.py +115 -0
- tt_studio-2.12.0/tt_setup/env_config/_preferences.py +41 -0
- tt_studio-2.12.0/tt_setup/env_config/_values.py +29 -0
- tt_studio-2.12.0/tt_setup/env_config/_version.py +98 -0
- tt_studio-2.12.0/tt_setup/image_source.py +135 -0
- tt_studio-2.12.0/tt_setup/inference_server/__init__.py +45 -0
- tt_studio-2.12.0/tt_setup/inference_server/_catalog.py +66 -0
- tt_studio-2.12.0/tt_setup/inference_server/_config.py +167 -0
- tt_studio-2.12.0/tt_setup/inference_server/_env.py +16 -0
- tt_studio-2.12.0/tt_setup/inference_server/_git.py +64 -0
- tt_studio-2.12.0/tt_setup/inference_server/_metadata.py +136 -0
- tt_studio-2.12.0/tt_setup/inference_server/_orchestrator.py +731 -0
- tt_studio-2.12.0/tt_setup/inference_server/_privileges.py +59 -0
- tt_studio-2.12.0/tt_setup/inference_server/_upgrade.py +101 -0
- tt_studio-2.12.0/tt_setup/install_mode.py +252 -0
- tt_studio-2.12.0/tt_setup/logging.py +71 -0
- tt_studio-2.12.0/tt_setup/model_manager/__init__.py +16 -0
- tt_studio-2.12.0/tt_setup/model_manager/_orchestrator.py +169 -0
- tt_studio-2.12.0/tt_setup/model_support.py +230 -0
- tt_studio-2.12.0/tt_setup/monitor.py +83 -0
- tt_studio-2.12.0/tt_setup/monitor_app.py +226 -0
- tt_studio-2.12.0/tt_setup/release.py +735 -0
- tt_studio-2.12.0/tt_setup/services/__init__.py +61 -0
- tt_studio-2.12.0/tt_setup/services/_docker_control.py +148 -0
- tt_studio-2.12.0/tt_setup/services/_fastapi.py +390 -0
- tt_studio-2.12.0/tt_setup/services/_frontend.py +72 -0
- tt_studio-2.12.0/tt_setup/services/_health.py +408 -0
- tt_studio-2.12.0/tt_setup/services/_ports.py +458 -0
- tt_studio-2.12.0/tt_setup/settings.py +87 -0
- tt_studio-2.12.0/tt_setup/shell.py +351 -0
- tt_studio-2.12.0/tt_setup/shortcut.py +284 -0
- tt_studio-2.12.0/tt_setup/spdx.py +244 -0
- tt_studio-2.12.0/tt_setup/startup_checks.py +333 -0
- tt_studio-2.12.0/tt_setup/support_email.py +145 -0
- tt_studio-2.12.0/tt_setup/switch.py +144 -0
- 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/
|
tt_studio-2.12.0/LICENSE
ADDED
|
@@ -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).
|