weightslab 1.3.3__tar.gz → 1.4.2__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 (425) hide show
  1. {weightslab-1.3.3 → weightslab-1.4.2}/.github/workflows/ci.yml +5 -4
  2. {weightslab-1.3.3 → weightslab-1.4.2}/.github/workflows/release.yml +214 -91
  3. {weightslab-1.3.3 → weightslab-1.4.2}/.gitignore +9 -0
  4. {weightslab-1.3.3 → weightslab-1.4.2}/AGENTS.md +31 -28
  5. weightslab-1.4.2/CHANGELOG.md +1 -0
  6. {weightslab-1.3.3/weightslab.egg-info → weightslab-1.4.2}/PKG-INFO +57 -46
  7. {weightslab-1.3.3 → weightslab-1.4.2}/README.md +50 -37
  8. {weightslab-1.3.3 → weightslab-1.4.2}/agent_config.yaml +1 -0
  9. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/examples-gallery.js +6 -6
  10. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/wl-ribbon.js +1 -1
  11. weightslab-1.4.2/docs/checkpointing.rst +239 -0
  12. {weightslab-1.3.3 → weightslab-1.4.2}/docs/conf.py +1 -1
  13. {weightslab-1.3.3 → weightslab-1.4.2}/docs/configuration.rst +50 -44
  14. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/classification.rst +2 -2
  15. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/clustering.rst +2 -2
  16. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/detection.rst +2 -2
  17. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/generation.rst +1 -1
  18. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/segmentation.rst +2 -2
  19. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/usecases/lidar_detection.rst +1 -1
  20. weightslab-1.4.2/docs/examples/usecases/loss_shape_classification.rst +181 -0
  21. {weightslab-1.3.3 → weightslab-1.4.2}/docs/four_way_approach.rst +2 -2
  22. {weightslab-1.3.3 → weightslab-1.4.2}/docs/index.rst +2 -2
  23. weightslab-1.4.2/docs/logger.rst +251 -0
  24. {weightslab-1.3.3 → weightslab-1.4.2}/docs/quickstart.rst +9 -14
  25. {weightslab-1.3.3 → weightslab-1.4.2}/docs/ultralytics.rst +2 -2
  26. {weightslab-1.3.3 → weightslab-1.4.2}/docs/usage/parameters.rst +10 -30
  27. {weightslab-1.3.3 → weightslab-1.4.2}/docs/user_commands.rst +107 -114
  28. {weightslab-1.3.3 → weightslab-1.4.2}/docs/user_functions.rst +114 -49
  29. weightslab-1.4.2/docs/weights_studio.rst +425 -0
  30. {weightslab-1.3.3 → weightslab-1.4.2}/pyproject.toml +38 -19
  31. weightslab-1.4.2/tests/backend/test_cli.py +295 -0
  32. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_data_loader_interface.py +29 -0
  33. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_ledgers.py +43 -0
  34. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_logger_core.py +215 -1
  35. weightslab-1.4.2/tests/backend/test_tunnel.py +49 -0
  36. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_write_dataframe.py +46 -23
  37. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_write_history.py +111 -51
  38. {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/test_checkpoint_workflow.py +486 -26
  39. {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_grpc_tag_operations.py +8 -0
  40. {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_grpc_user_actions.py +1 -1
  41. {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_cli.py +53 -0
  42. {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_signal_refinements.py +94 -7
  43. {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_signals.py +37 -0
  44. {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/ultralytics/ddp/ddp_ablation.py +3 -1
  45. {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_constraint_generation.py +23 -0
  46. weightslab-1.4.2/tests/test_secure_communication.py +132 -0
  47. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_live_prompt_evaluation.py +15 -0
  48. weightslab-1.4.2/tests/trainer/services/test_data_service_sample_id_query.py +75 -0
  49. weightslab-1.4.2/tests/trainer/services/test_data_service_tabular_task_type.py +98 -0
  50. weightslab-1.4.2/tests/trainer/services/test_data_service_text_predictions.py +148 -0
  51. weightslab-1.4.2/tests/trainer/services/test_signal_trajectory.py +117 -0
  52. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/test_trainer_tools.py +79 -0
  53. weightslab-1.4.2/tests/utils/test_telemetry.py +59 -0
  54. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/__init__.py +71 -15
  55. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/_version.py +3 -3
  56. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/art.py +13 -0
  57. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/dataloader_interface.py +20 -0
  58. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/ledgers.py +36 -1
  59. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/logger.py +384 -43
  60. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/optimizer_interface.py +13 -8
  61. weightslab-1.4.2/weightslab/cli.py +845 -0
  62. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/checkpoint_manager.py +352 -147
  63. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/global_monitoring.py +9 -8
  64. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/array_proxy.py +42 -3
  65. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/data_utils.py +15 -0
  66. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/dataframe_manager.py +43 -25
  67. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/h5_array_store.py +109 -76
  68. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/h5_dataframe_store.py +20 -10
  69. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/sample_stats.py +4 -0
  70. weightslab-1.4.2/weightslab/examples/Notebooks/Colab/wl-colab-quickstart.ipynb +77 -0
  71. weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-ads-recommendation.ipynb +481 -0
  72. weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-classification.ipynb +1667 -0
  73. weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-clustering.ipynb +5272 -0
  74. weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-detection.ipynb +4691 -0
  75. weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-fraud-detection.ipynb +232 -0
  76. weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-segmentation.ipynb +1072 -0
  77. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-brain-tumor-detection-dataset.ipynb +1908 -0
  78. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynb +1704 -0
  79. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-construction-ppe-detection-dataset.ipynb +1716 -0
  80. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-crack-segmentation-dataset.ipynb +1684 -0
  81. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-homeobjects-dataset.ipynb +1716 -0
  82. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-kitti-detection-dataset.ipynb +1707 -0
  83. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-medical-pills-dataset.ipynb +1701 -0
  84. weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-package-segmentation-dataset.ipynb +1683 -0
  85. weightslab-1.4.2/weightslab/examples/Notebooks/Usecases/wl-segmentation-loss-shapes-classification.ipynb +530 -0
  86. weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/README.md +102 -0
  87. weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/config.yaml +52 -0
  88. weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/main.py +284 -0
  89. weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/test_ads_recommendation.py +185 -0
  90. weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/utils/data.py +269 -0
  91. weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/utils/model.py +74 -0
  92. weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/verify_integration.py +219 -0
  93. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-classification/config.yaml +8 -2
  94. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-classification/main.py +0 -5
  95. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/README.md +134 -0
  96. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/config.yaml +64 -0
  97. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/main.py +385 -0
  98. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/test_fraud_detection.py +237 -0
  99. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/utils/data.py +255 -0
  100. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/utils/kaggle_data.py +108 -0
  101. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/utils/model.py +34 -0
  102. weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/verify_integration.py +271 -0
  103. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/main.py +0 -8
  104. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Ultralytics/wl-detection/config.yaml +1 -1
  105. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/config.yaml +3 -6
  106. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/main.py +26 -22
  107. weightslab-1.4.2/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +47 -0
  108. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/signals.py +6 -14
  109. weightslab-1.4.2/weightslab/examples/Usecases/ws-signals-mnist/main.py +180 -0
  110. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/README.md +26 -6
  111. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/__init__.py +16 -8
  112. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/dataset.py +22 -0
  113. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/signals.py +26 -6
  114. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/trainer.py +108 -32
  115. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/proto/experiment_service.proto +33 -0
  116. weightslab-1.4.2/weightslab/proto/experiment_service_pb2.py +204 -0
  117. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/proto/experiment_service_pb2_grpc.py +50 -2
  118. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/security/cert_auth_manager.py +23 -20
  119. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/src.py +549 -111
  120. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/experiment_context.py +1 -1
  121. weightslab-1.4.2/weightslab/trainer/services/agent/__init__.py +0 -0
  122. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent.py +20 -1
  123. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/intent_prompt.py +38 -4
  124. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/data_image_utils.py +57 -0
  125. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/data_service.py +356 -18
  126. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/experiment_service.py +3 -3
  127. weightslab-1.4.2/weightslab/trainer/services/utils/__init__.py +0 -0
  128. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/trainer_services.py +4 -0
  129. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/trainer_tools.py +38 -2
  130. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/tunnel.py +21 -13
  131. weightslab-1.4.2/weightslab/ui/__init__.py +10 -0
  132. weightslab-1.4.2/weightslab/ui/server.py +561 -0
  133. weightslab-1.4.2/weightslab/ui/static/assets/experiment_service-DQrh-y3X.js +1 -0
  134. weightslab-1.4.2/weightslab/ui/static/assets/favicon-BtmqMp0p.png +0 -0
  135. weightslab-1.4.2/weightslab/ui/static/assets/index-BL7NV5ej.css +1 -0
  136. weightslab-1.4.2/weightslab/ui/static/assets/index-DhU_F1Hm.js +4475 -0
  137. weightslab-1.4.2/weightslab/ui/static/images/darkmode/logo.png +0 -0
  138. weightslab-1.4.2/weightslab/ui/static/images/darkmode/logo.svg +59 -0
  139. weightslab-1.4.2/weightslab/ui/static/images/favicon.png +0 -0
  140. weightslab-1.4.2/weightslab/ui/static/images/lightmode/logo.png +0 -0
  141. weightslab-1.4.2/weightslab/ui/static/images/lightmode/logo.svg +59 -0
  142. weightslab-1.4.2/weightslab/ui/static/images/logo.png +0 -0
  143. weightslab-1.4.2/weightslab/ui/static/index.html +794 -0
  144. {weightslab-1.3.3/weightslab/docker/docker → weightslab-1.4.2/weightslab/ui}/utils/generate-certs-auth-token.ps1 +19 -19
  145. {weightslab-1.3.3/weightslab/docker/docker → weightslab-1.4.2/weightslab/ui}/utils/generate-certs-auth-token.sh +19 -19
  146. weightslab-1.4.2/weightslab/ui/utils/sync-frontend.sh +49 -0
  147. weightslab-1.4.2/weightslab/utils/__init__.py +36 -0
  148. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/telemetry.py +57 -8
  149. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/tools.py +18 -0
  150. {weightslab-1.3.3 → weightslab-1.4.2/weightslab.egg-info}/PKG-INFO +57 -46
  151. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/SOURCES.txt +60 -33
  152. weightslab-1.4.2/weightslab.egg-info/entry_points.txt +2 -0
  153. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/requires.txt +6 -12
  154. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/scm_file_list.json +311 -295
  155. weightslab-1.4.2/weightslab.egg-info/scm_version.json +8 -0
  156. weightslab-1.3.3/CHANGELOG.md +0 -1
  157. weightslab-1.3.3/docs/examples/usecases/loss_shape_classification.rst +0 -219
  158. weightslab-1.3.3/docs/logger.rst +0 -88
  159. weightslab-1.3.3/docs/usage/docker.rst +0 -350
  160. weightslab-1.3.3/docs/weights_studio.rst +0 -612
  161. weightslab-1.3.3/tests/backend/test_ui_docker_bridge.py +0 -718
  162. weightslab-1.3.3/tests/general/test_logger_snapshot_rotation.py +0 -102
  163. weightslab-1.3.3/tests/test_secure_docker.py +0 -238
  164. weightslab-1.3.3/weightslab/docker/Dockerfile +0 -27
  165. weightslab-1.3.3/weightslab/docker/docker/.dockerignore +0 -20
  166. weightslab-1.3.3/weightslab/docker/docker/.env.example +0 -67
  167. weightslab-1.3.3/weightslab/docker/docker/DEPLOYMENT.md +0 -271
  168. weightslab-1.3.3/weightslab/docker/docker/docker-compose.yml +0 -127
  169. weightslab-1.3.3/weightslab/docker/docker/nginx-entrypoint.sh +0 -188
  170. weightslab-1.3.3/weightslab/docker/docker/nginx.base-path.conf copy.template +0 -40
  171. weightslab-1.3.3/weightslab/docker/docker/nginx.base-path.conf.template +0 -40
  172. weightslab-1.3.3/weightslab/docker/docker/nginx.conf +0 -57
  173. weightslab-1.3.3/weightslab/docker/docker/test-deployment.sh +0 -110
  174. weightslab-1.3.3/weightslab/docker/docker/utils/build-and-deploy.sh +0 -348
  175. weightslab-1.3.3/weightslab/docker/envoy/envoy.downstream_plaintext.yaml +0 -100
  176. weightslab-1.3.3/weightslab/docker/envoy/envoy.downstream_upstream_plaintext.yaml +0 -87
  177. weightslab-1.3.3/weightslab/docker/envoy/envoy.upstream_plaintext.yaml +0 -97
  178. weightslab-1.3.3/weightslab/docker/envoy/envoy.yaml +0 -110
  179. weightslab-1.3.3/weightslab/docker/nginx.conf +0 -118
  180. weightslab-1.3.3/weightslab/examples/Docker_training/README.md +0 -38
  181. weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/Dockerfile +0 -57
  182. weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/README.md +0 -161
  183. weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/docker-compose.yml +0 -54
  184. weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/entrypoint.sh +0 -67
  185. weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/Dockerfile +0 -55
  186. weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/README.md +0 -159
  187. weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/docker-compose.yml +0 -44
  188. weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/entrypoint.sh +0 -101
  189. weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/ui-compose.yml +0 -61
  190. weightslab-1.3.3/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +0 -36
  191. weightslab-1.3.3/weightslab/proto/experiment_service_pb2.py +0 -198
  192. weightslab-1.3.3/weightslab/ui_docker_bridge.py +0 -1260
  193. weightslab-1.3.3/weightslab/utils/__init__.py +0 -9
  194. weightslab-1.3.3/weightslab.egg-info/entry_points.txt +0 -2
  195. weightslab-1.3.3/weightslab.egg-info/scm_version.json +0 -8
  196. {weightslab-1.3.3 → weightslab-1.4.2}/.coverage +0 -0
  197. {weightslab-1.3.3 → weightslab-1.4.2}/.gitattributes +0 -0
  198. {weightslab-1.3.3 → weightslab-1.4.2}/.github/workflows/docs-pages.yml +0 -0
  199. {weightslab-1.3.3 → weightslab-1.4.2}/LICENSE +0 -0
  200. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/.gitkeep +0 -0
  201. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/custom.css +0 -0
  202. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/favicon.png +0 -0
  203. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/github-stars.js +0 -0
  204. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/logo-dark.png +0 -0
  205. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/logo-light.png +0 -0
  206. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/version-switcher.js +0 -0
  207. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/weights_studio_architecture.png +0 -0
  208. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/wl-topnav.js +0 -0
  209. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_templates/.gitkeep +0 -0
  210. {weightslab-1.3.3 → weightslab-1.4.2}/docs/_templates/sidebar/brand.html +0 -0
  211. {weightslab-1.3.3 → weightslab-1.4.2}/docs/agent.rst +0 -0
  212. {weightslab-1.3.3 → weightslab-1.4.2}/docs/data_exploration.rst +0 -0
  213. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/index.rst +0 -0
  214. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/lightning/classification.rst +0 -0
  215. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/lightning/index.rst +0 -0
  216. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/index.rst +0 -0
  217. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/ultralytics/detection.rst +0 -0
  218. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/ultralytics/index.rst +0 -0
  219. {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/usecases/index.rst +0 -0
  220. {weightslab-1.3.3 → weightslab-1.4.2}/docs/grpc/audit_logger.rst +0 -0
  221. {weightslab-1.3.3 → weightslab-1.4.2}/docs/grpc/grpc_functions.rst +0 -0
  222. {weightslab-1.3.3 → weightslab-1.4.2}/docs/grpc/index.rst +0 -0
  223. {weightslab-1.3.3 → weightslab-1.4.2}/docs/hyperparameters.rst +0 -0
  224. {weightslab-1.3.3 → weightslab-1.4.2}/docs/model_interaction.rst +0 -0
  225. {weightslab-1.3.3 → weightslab-1.4.2}/docs/pytorch_lightning.rst +0 -0
  226. {weightslab-1.3.3 → weightslab-1.4.2}/docs/requirements.txt +0 -0
  227. {weightslab-1.3.3 → weightslab-1.4.2}/docs/segmentation_usecase.rst +0 -0
  228. {weightslab-1.3.3 → weightslab-1.4.2}/docs/usage/good_practice.rst +0 -0
  229. {weightslab-1.3.3 → weightslab-1.4.2}/docs/usage.rst +0 -0
  230. {weightslab-1.3.3 → weightslab-1.4.2}/docs/usecases.rst +0 -0
  231. {weightslab-1.3.3 → weightslab-1.4.2}/setup.cfg +0 -0
  232. {weightslab-1.3.3 → weightslab-1.4.2}/tests/__init__.py +0 -0
  233. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/__init__.py +0 -0
  234. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_audit_logger.py +0 -0
  235. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_cli_additional_unit.py +0 -0
  236. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_compare_dataloaders.py +0 -0
  237. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_instance_signal_logger.py +0 -0
  238. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_model_interface_unit.py +0 -0
  239. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_optimizer_interface.py +0 -0
  240. {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_optimizer_interface_additional_unit.py +0 -0
  241. {weightslab-1.3.3 → weightslab-1.4.2}/tests/chaos_monkeys_utests/__init__.py +0 -0
  242. {weightslab-1.3.3 → weightslab-1.4.2}/tests/chaos_monkeys_utests/test_grpc_chaos_monkey_robustness.py +0 -0
  243. {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/__init__.py +0 -0
  244. {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/test_experiment_hash_and_art.py +0 -0
  245. {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/test_global_monitoring_unit.py +0 -0
  246. {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/__init__.py +0 -0
  247. {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_get_point_cloud.py +0 -0
  248. {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_grpc_histogram_categorical.py +0 -0
  249. {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/__init__.py +0 -0
  250. {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_auditor_mode.py +0 -0
  251. {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_hyperparams.py +0 -0
  252. {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_signals_wrapping.py +0 -0
  253. {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/__init__.py +0 -0
  254. {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/test_pytorch_lightning_integration.py +0 -0
  255. {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/ultralytics/ddp/ddp_test_suite.py +0 -0
  256. {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/__init__.py +0 -0
  257. {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_dependency_patterns.py +0 -0
  258. {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_logger.py +0 -0
  259. {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_model_with_ops.py +0 -0
  260. {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_model_with_ops_unit.py +0 -0
  261. {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_tracking.py +0 -0
  262. {weightslab-1.3.3 → weightslab-1.4.2}/tests/modules/__init__.py +0 -0
  263. {weightslab-1.3.3 → weightslab-1.4.2}/tests/modules/test_modules_with_ops.py +0 -0
  264. {weightslab-1.3.3 → weightslab-1.4.2}/tests/test_src_functions.py +0 -0
  265. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/__init__.py +0 -0
  266. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/__init__.py +0 -0
  267. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_model_and_safety_unit.py +0 -0
  268. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_prompt_unit.py +0 -0
  269. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_service_unit.py +0 -0
  270. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_trainer_services_server.py +0 -0
  271. {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_trainer_services_unit.py +0 -0
  272. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/__init__.py +0 -0
  273. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_computational_graph_utils_unit.py +0 -0
  274. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_logs_unit.py +0 -0
  275. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_modules_dependencies_unit.py +0 -0
  276. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_plot_graph_render_unit.py +0 -0
  277. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_plot_graph_unit.py +0 -0
  278. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_shape_prop_unit.py +0 -0
  279. {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_utils_tools_unit.py +0 -0
  280. {weightslab-1.3.3 → weightslab-1.4.2}/tests/watchdog/__init__.py +0 -0
  281. {weightslab-1.3.3 → weightslab-1.4.2}/tests/watchdog/test_lock_monitor.py +0 -0
  282. {weightslab-1.3.3 → weightslab-1.4.2}/tests/watchdog/test_watchdog.py +0 -0
  283. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/__init__.py +0 -0
  284. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/audit_logger.py +0 -0
  285. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/cli.py +0 -0
  286. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/model_interface.py +0 -0
  287. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/__init__.py +0 -0
  288. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/evaluation_controller.py +0 -0
  289. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/experiment_hash.py +0 -0
  290. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/parallel_primitives.py +0 -0
  291. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/tracking.py +0 -0
  292. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/__init__.py +0 -0
  293. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/data_samples_with_ops.py +0 -0
  294. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/point_cloud_utils.py +0 -0
  295. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/docker/docker/utils/test-deployment.sh +0 -0
  296. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Lightning/wl-classification/config.yaml +0 -0
  297. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Lightning/wl-classification/main.py +0 -0
  298. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-classification.ipynb +0 -0
  299. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-clustering.ipynb +0 -0
  300. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-detection.ipynb +0 -0
  301. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-generation.ipynb +0 -0
  302. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-segmentation.ipynb +0 -0
  303. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/Usecases/ws-segmentation-loss-shapes-classification.ipynb +0 -0
  304. {weightslab-1.3.3/weightslab/examples/PyTorch/wl-clustering/face → weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/utils}/__init__.py +0 -0
  305. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/config.yaml +0 -0
  306. {weightslab-1.3.3/weightslab/examples/utils/baseline_models → weightslab-1.4.2/weightslab/examples/PyTorch/wl-clustering/face}/__init__.py +0 -0
  307. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/data.py +0 -0
  308. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/model.py +0 -0
  309. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/signals.py +0 -0
  310. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/utils.py +0 -0
  311. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/main.py +0 -0
  312. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/README.md +0 -0
  313. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/config.yaml +0 -0
  314. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/main.py +0 -0
  315. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/utils/criterions.py +0 -0
  316. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/utils/data.py +0 -0
  317. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/utils/model.py +0 -0
  318. {weightslab-1.3.3/weightslab/examples/utils/baseline_models/pytorch → weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/utils}/__init__.py +0 -0
  319. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-generation/config.yaml +0 -0
  320. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-generation/main.py +0 -0
  321. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0000f77c-6257be58.jpg +0 -0
  322. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/000f8d37-d4c09a0f.jpg +0 -0
  323. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00a0f008-a315437f.jpg +0 -0
  324. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c12bd0-bb46e479.jpg +0 -0
  325. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c29c52-f9524f1e.jpg +0 -0
  326. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00ce6f6d-50bbee62.jpg +0 -0
  327. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d1bafa-1b47b41c.jpg +0 -0
  328. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d7268f-fd4487be.jpg +0 -0
  329. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00f0dd0f-5e9c9557.jpg +0 -0
  330. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a0d7f4c-ac5c3c8f.jpg +0 -0
  331. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a1f4fce-f9cac880.jpg +0 -0
  332. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a3bb2d8-c195d91e.jpg +0 -0
  333. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1cac6a7-04e33135.jpg +0 -0
  334. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ceb32e-3f481b43.jpg +0 -0
  335. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d10d08-5b108225.jpg +0 -0
  336. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d22449-15fb948f.jpg +0 -0
  337. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d7b3ac-5af8623b.jpg +0 -0
  338. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1dce572-c6a8cb5e.jpg +0 -0
  339. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e1a7b8-0aec80e8.jpg +0 -0
  340. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e8ad72-c3c79240.jpg +0 -0
  341. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ee702d-0ae1fc10.jpg +0 -0
  342. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1f0efd9-37a14dda.jpg +0 -0
  343. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2a0648b-d8e126bc.jpg +0 -0
  344. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2b70230-bad4ff6e.jpg +0 -0
  345. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0000f77c-6257be58.png +0 -0
  346. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/000f8d37-d4c09a0f.png +0 -0
  347. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00a0f008-a315437f.png +0 -0
  348. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c12bd0-bb46e479.png +0 -0
  349. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c29c52-f9524f1e.png +0 -0
  350. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00ce6f6d-50bbee62.png +0 -0
  351. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d1bafa-1b47b41c.png +0 -0
  352. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d7268f-fd4487be.png +0 -0
  353. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00f0dd0f-5e9c9557.png +0 -0
  354. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a0d7f4c-ac5c3c8f.png +0 -0
  355. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a1f4fce-f9cac880.png +0 -0
  356. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a3bb2d8-c195d91e.png +0 -0
  357. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1cac6a7-04e33135.png +0 -0
  358. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ceb32e-3f481b43.png +0 -0
  359. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d10d08-5b108225.png +0 -0
  360. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d22449-15fb948f.png +0 -0
  361. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d7b3ac-5af8623b.png +0 -0
  362. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1dce572-c6a8cb5e.png +0 -0
  363. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e1a7b8-0aec80e8.png +0 -0
  364. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e8ad72-c3c79240.png +0 -0
  365. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ee702d-0ae1fc10.png +0 -0
  366. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1f0efd9-37a14dda.png +0 -0
  367. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2a0648b-d8e126bc.png +0 -0
  368. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2b70230-bad4ff6e.png +0 -0
  369. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/config.yaml +0 -0
  370. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/utils/criterions.py +0 -0
  371. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/utils/data.py +0 -0
  372. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/utils/model.py +0 -0
  373. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Ultralytics/wl-detection/main.py +0 -0
  374. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/README.md +0 -0
  375. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/config.yaml +0 -0
  376. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/main.py +0 -0
  377. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/criterions.py +0 -0
  378. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/data.py +0 -0
  379. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/model.py +0 -0
  380. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/README.md +0 -0
  381. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/config.yaml +0 -0
  382. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/main.py +0 -0
  383. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/criterions.py +0 -0
  384. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/data.py +0 -0
  385. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/kitti_download.py +0 -0
  386. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/model.py +0 -0
  387. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/data.py +0 -0
  388. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/model.py +0 -0
  389. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/__init__.py +0 -0
  390. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/utils/__init__.py +0 -0
  391. {weightslab-1.3.3/weightslab/models → weightslab-1.4.2/weightslab/examples/utils/baseline_models}/__init__.py +0 -0
  392. {weightslab-1.3.3/weightslab/modules → weightslab-1.4.2/weightslab/examples/utils/baseline_models/pytorch}/__init__.py +0 -0
  393. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/utils/baseline_models/pytorch/models.py +0 -0
  394. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/__init__.py +0 -0
  395. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/_utils.py +0 -0
  396. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/collate.py +0 -0
  397. {weightslab-1.3.3/weightslab/proto → weightslab-1.4.2/weightslab/models}/__init__.py +0 -0
  398. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/models/model_with_ops.py +0 -0
  399. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/models/monkey_patcher.py +0 -0
  400. {weightslab-1.3.3/weightslab/trainer → weightslab-1.4.2/weightslab/modules}/__init__.py +0 -0
  401. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/modules/modules_with_ops.py +0 -0
  402. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/modules/neuron_ops.py +0 -0
  403. {weightslab-1.3.3/weightslab/trainer/services → weightslab-1.4.2/weightslab/proto}/__init__.py +0 -0
  404. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/security/__init__.py +0 -0
  405. {weightslab-1.3.3/weightslab/trainer/services/agent → weightslab-1.4.2/weightslab/trainer}/__init__.py +0 -0
  406. {weightslab-1.3.3/weightslab/trainer/services/utils → weightslab-1.4.2/weightslab/trainer/services}/__init__.py +0 -0
  407. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent_overview/agent.png +0 -0
  408. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent_overview/query_example.png +0 -0
  409. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent_overview/schema.png +0 -0
  410. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent_service.py +0 -0
  411. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/instance_merger.py +0 -0
  412. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/model_service.py +0 -0
  413. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/utils/tools.py +0 -0
  414. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/computational_graph.py +0 -0
  415. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/logs.py +0 -0
  416. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/modules_dependencies.py +0 -0
  417. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/plot_graph.py +0 -0
  418. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/shape_prop.py +0 -0
  419. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/__init__.py +0 -0
  420. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/grpc_watchdog.py +0 -0
  421. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/lock_monitor.py +0 -0
  422. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/log_level.py +0 -0
  423. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/watchdog.py +0 -0
  424. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/dependency_links.txt +0 -0
  425. {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/top_level.txt +0 -0
@@ -75,6 +75,7 @@ jobs:
75
75
  # Get changed Python files in weightslab directory, exclude generated files
76
76
  CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT $BASE_SHA $HEAD_SHA | \
77
77
  grep '^weightslab/.*\.py$' | \
78
+ grep -v '^weightslab/examples/' | \
78
79
  grep -v '_pb2\.py$' | \
79
80
  grep -v '_pb2_grpc\.py$' | \
80
81
  grep -v 'ui\.py$' | \
@@ -106,7 +107,7 @@ jobs:
106
107
  if [ -n "$FILES" ]; then
107
108
  # No --fix in CI: report and FAIL on any selected violation (a fix in
108
109
  # the ephemeral runner would be discarded and silently pass the gate).
109
- echo "$FILES" | xargs ruff check --select F401,F841,E9,F632,F722,F823 --ignore E501 ./weightslab
110
+ echo "$FILES" | xargs ruff check --select F401,F841,E9,F632,F722,F823 --ignore E501 --exclude weightslab/examples ./weightslab
110
111
  fi
111
112
 
112
113
  - name: Pylint (errors only)
@@ -114,7 +115,7 @@ jobs:
114
115
  run: |
115
116
  FILES="${{ steps.changed-files.outputs.changed_files }}"
116
117
  if [ -n "$FILES" ]; then
117
- echo "$FILES" | xargs pylint --disable=R0913,E0401,C0301,W0511,C0114,C0115,C0116 --fail-under=7.0 ./weightslab
118
+ echo "$FILES" | xargs pylint --disable=R0913,E0401,C0301,W0511,C0114,C0115,C0116 --fail-under=7.0 --ignore-paths='^weightslab/examples/.*' ./weightslab
118
119
  fi
119
120
 
120
121
  - name: Vulture (unused code)
@@ -125,7 +126,7 @@ jobs:
125
126
  # Advisory only (|| true): vulture at this confidence yields false
126
127
  # positives on dynamically-referenced code (CLI entry points, gRPC
127
128
  # handlers, framework hooks). Ruff + Pylint above are the hard gates.
128
- echo "$FILES" | xargs vulture --min-confidence 70 ./weightslab || true
129
+ echo "$FILES" | xargs vulture --min-confidence 70 --exclude weightslab/examples ./weightslab || true
129
130
  fi
130
131
 
131
132
  # ── Fast install gate (always runs) ──────────────────────────────────────
@@ -221,7 +222,7 @@ jobs:
221
222
  run: |
222
223
  export WEIGHTSLAB_LOG_LEVEL="DEBUG"
223
224
  # A per-test timeout guards against any regression that hangs a test.
224
- python -m pytest ./tests -v --timeout=300
225
+ python -m pytest ./tests -v --timeout=600
225
226
 
226
227
  build-and-publish-dev:
227
228
  # Only publish to TestPyPI when pushing to main (not on PRs or dev branch pushes).
@@ -7,9 +7,25 @@ on:
7
7
 
8
8
  jobs:
9
9
  # ── Routing ───────────────────────────────────────────────────────────────
10
- # Detect whether the tagged commit lives on main (→ PyPI production release)
11
- # or anywhere else (→ TestPyPI pre-release). All downstream jobs branch on
12
- # this output so only the correct path runs.
10
+ # Two independent signals decide what runs, checked in this priority order:
11
+ # 1. is_dev_release: the tag NAME contains "dev" (e.g. v1.3.1-dev0) —
12
+ # ALWAYS true in that case, regardless of which branch/commit is
13
+ # tagged. Always publishes to TestPyPI + a GitHub pre-release.
14
+ # 2. is_main: only considered when the name does NOT contain "dev", and
15
+ # requires the tag's commit to actually be an ancestor of main. This is
16
+ # a safety gate: a non-dev-named tag cut from a branch other than main
17
+ # must never auto-publish a real PyPI release under a "real" version
18
+ # number just because someone forgot the branch they were on.
19
+ # A non-dev-named tag whose commit is NOT on main matches neither and
20
+ # triggers nothing at all (should_run=false) — accidental/misplaced tags
21
+ # never release.
22
+ #
23
+ # This used to check "is the commit an ancestor of main" FIRST, which
24
+ # silently routed a dev-named tag to the main/PyPI pipeline whenever dev and
25
+ # main happened to be in sync (e.g. right after a merge) — the ancestor
26
+ # check won out over the "dev" in the tag name. Checking the name first
27
+ # fixes that, while still keeping the ancestor check as the guard for the
28
+ # non-dev path.
13
29
  detect-target:
14
30
  name: Detect release target
15
31
  runs-on: ubuntu-latest
@@ -23,33 +39,38 @@ jobs:
23
39
  with:
24
40
  fetch-depth: 0
25
41
 
26
- - name: Check whether the tag commit is on main
42
+ - name: Check the release target
27
43
  id: check
28
44
  run: |
29
- git fetch origin main
30
- TAG_COMMIT="$(git rev-list -n 1 "${GITHUB_REF}")"
31
- IS_ON_MAIN=$(git merge-base --is-ancestor "${TAG_COMMIT}" origin/main \
32
- && echo "true" || echo "false")
33
- echo "is_main=${IS_ON_MAIN}" >> $GITHUB_OUTPUT
34
-
35
- # Dev pre-release: a tag NOT on main whose name contains 'dev'
36
- # (e.g. v1.3.1-dev0). Runs the full pipeline up to the TestPyPI install
37
- # tests + a GitHub pre-release, then STOPS before the production PyPI
38
- # publish. A tag off main WITHOUT 'dev' triggers nothing (should_run=false),
39
- # so accidental/non-dev tags on dev never release.
40
45
  IS_DEV_RELEASE=false
41
- if [ "${IS_ON_MAIN}" != "true" ] && [[ "${GITHUB_REF_NAME}" == *dev* ]]; then
46
+ if [[ "${GITHUB_REF_NAME}" == *dev* ]]; then
42
47
  IS_DEV_RELEASE=true
43
48
  fi
44
49
  echo "is_dev_release=${IS_DEV_RELEASE}" >> $GITHUB_OUTPUT
45
50
 
46
- if [ "${IS_ON_MAIN}" = "true" ] || [ "${IS_DEV_RELEASE}" = "true" ]; then
51
+ # Only a non-dev-named tag needs the ancestor check at all -- a
52
+ # dev-named tag is never a main release, no matter where it sits.
53
+ IS_MAIN=false
54
+ if [ "${IS_DEV_RELEASE}" != "true" ]; then
55
+ git fetch origin main
56
+ TAG_COMMIT="$(git rev-list -n 1 "${GITHUB_REF}")"
57
+ if git merge-base --is-ancestor "${TAG_COMMIT}" origin/main; then
58
+ IS_MAIN=true
59
+ fi
60
+ fi
61
+ echo "is_main=${IS_MAIN}" >> $GITHUB_OUTPUT
62
+
63
+ if [ "${IS_DEV_RELEASE}" = "true" ] || [ "${IS_MAIN}" = "true" ]; then
47
64
  SHOULD_RUN=true
48
65
  else
49
66
  SHOULD_RUN=false
50
67
  fi
51
68
  echo "should_run=${SHOULD_RUN}" >> $GITHUB_OUTPUT
52
- echo "Tag: ${GITHUB_REF_NAME} commit: ${TAG_COMMIT} on_main: ${IS_ON_MAIN} dev_release: ${IS_DEV_RELEASE} should_run: ${SHOULD_RUN}"
69
+
70
+ echo "Tag: ${GITHUB_REF_NAME} is_main: ${IS_MAIN} dev_release: ${IS_DEV_RELEASE} should_run: ${SHOULD_RUN}"
71
+ if [ "${SHOULD_RUN}" != "true" ]; then
72
+ echo "::warning::Tag '${GITHUB_REF_NAME}' has no 'dev' in its name and its commit is not on main — skipping release entirely."
73
+ fi
53
74
 
54
75
  # ── Shared: run tests before any publish (main or dev pre-release) ────────
55
76
  test:
@@ -79,6 +100,7 @@ jobs:
79
100
  python -m pip install pytorch_lightning
80
101
  python -m unittest discover -s ./tests -p "test_*.py" -t . -v
81
102
 
103
+
82
104
  # ═══════════════════════════════════════════════════════════════════════════
83
105
  # DEV RELEASE — tag on dev branch, not yet merged to main
84
106
  # Publishes to TestPyPI and creates a GitHub pre-release.
@@ -87,6 +109,7 @@ jobs:
87
109
  build-and-publish-dev-release:
88
110
  name: Build & Publish Dev Release (TestPyPI)
89
111
  needs: [detect-target,test]
112
+ # needs: [detect-target]
90
113
  runs-on: ubuntu-latest
91
114
  if: ${{ needs.detect-target.outputs.should_run == 'true' }}
92
115
  permissions:
@@ -102,6 +125,55 @@ jobs:
102
125
  with:
103
126
  python-version: '3.11'
104
127
 
128
+ - uses: actions/setup-node@v4
129
+ with:
130
+ node-version: '20'
131
+
132
+ - name: Build and vendor Weights Studio UI
133
+ env:
134
+ # weights_studio is a separate PRIVATE repo — the automatic
135
+ # secrets.GITHUB_TOKEN is scoped to THIS repo only and has no access
136
+ # to it, so the clone below must authenticate with a real
137
+ # cross-repo PAT instead.
138
+ WEIGHTS_STUDIO_TOKEN: ${{ secrets.WEIGHTS_STUDIO_API_TOKEN }}
139
+ IS_DEV_RELEASE: ${{ needs.detect-target.outputs.is_dev_release }}
140
+ run: |
141
+ set -euo pipefail
142
+
143
+ if [ -z "${WEIGHTS_STUDIO_TOKEN:-}" ]; then
144
+ echo "WEIGHTS_STUDIO_API_TOKEN secret is not set; cannot access the private weights_studio repo." >&2
145
+ exit 1
146
+ fi
147
+ CLONE_URL="https://x-access-token:${WEIGHTS_STUDIO_TOKEN}@github.com/GrayboxTech/weights_studio.git"
148
+
149
+ # Mirror the weightslab tag routing: a dev-named tag vendors the
150
+ # weights_studio "dev" branch; every other tag vendors main. No
151
+ # ls-remote probe -- it added a flaky network round-trip and a
152
+ # branch that's known to exist. This used to guess the ref from
153
+ # which weightslab branches happened to contain the tagged commit
154
+ # -- fragile, and NOT tied to is_dev_release, so it could silently
155
+ # vendor the wrong UI.
156
+ UI_REF="main"
157
+ if [ "${IS_DEV_RELEASE}" = "true" ]; then
158
+ UI_REF="dev"
159
+ fi
160
+ echo "Using weights_studio ref: ${UI_REF}"
161
+
162
+ rm -rf /tmp/weights_studio
163
+ git clone --depth 1 --branch "${UI_REF}" "${CLONE_URL}" /tmp/weights_studio
164
+
165
+ pushd /tmp/weights_studio >/dev/null
166
+ npm ci
167
+ npm test
168
+ npm run build
169
+ popd >/dev/null
170
+
171
+ rm -rf weightslab/ui/static
172
+ mkdir -p weightslab/ui/static
173
+ cp -R /tmp/weights_studio/dist/. weightslab/ui/static/
174
+
175
+ test -f weightslab/ui/static/index.html
176
+
105
177
  - name: Install build tools
106
178
  run: python -m pip install --upgrade pip build twine
107
179
 
@@ -165,47 +237,54 @@ jobs:
165
237
  - name: Create isolated virtual environment
166
238
  run: python -m venv .venv-ci
167
239
 
168
- - name: Install from TestPyPI (wait until indexed)
240
+ # Wrapped in a retry: TestPyPI can take a while to index a fresh upload,
241
+ # and the install itself is a real network call to a public registry —
242
+ # both transient enough to warrant retrying the whole install+verify
243
+ # unit (up to 3 attempts total) rather than failing the job outright.
244
+ - name: Install from TestPyPI (wait until indexed) + verify import
245
+ uses: nick-fields/retry@v3
169
246
  env:
170
247
  WL_VERSION: ${{ needs.build-and-publish-dev-release.outputs.published_version }}
171
- run: |
172
- . .venv-ci/bin/activate
173
- python -m pip install --upgrade pip
174
- if [ -z "${WL_VERSION}" ]; then
175
- echo "Missing published_version from upstream job"; exit 1
176
- fi
177
-
178
- for attempt in $(seq 1 60); do
179
- echo "Checking TestPyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
180
- if python -m pip download \
181
- --index-url https://test.pypi.org/simple/ \
182
- --no-deps \
183
- "weightslab==${WL_VERSION}" \
184
- -d /tmp/wl-probe >/dev/null 2>&1; then
185
- echo "Found weightslab==${WL_VERSION}"
186
- break
187
- fi
188
- if [ "${attempt}" -eq 60 ]; then
189
- echo "Timed out waiting for weightslab==${WL_VERSION} on TestPyPI"; exit 1
248
+ with:
249
+ timeout_minutes: 15
250
+ max_attempts: 3
251
+ retry_on: any
252
+ shell: bash
253
+ command: |
254
+ . .venv-ci/bin/activate
255
+ python -m pip install --upgrade pip
256
+ if [ -z "${WL_VERSION}" ]; then
257
+ echo "Missing published_version from upstream job"; exit 1
190
258
  fi
191
- sleep 7
192
- done
193
-
194
- python -m pip install \
195
- --index-url https://test.pypi.org/simple/ \
196
- --extra-index-url https://pypi.org/simple/ \
197
- --extra-index-url https://download.pytorch.org/whl/cpu \
198
- "weightslab==${WL_VERSION}" --no-cache-dir --retries 10 --timeout 60
199
- echo "weightslab==${WL_VERSION} installed on Python ${{ matrix.python-version }}"
200
259
 
201
- - name: Verify package import
202
- run: |
203
- . .venv-ci/bin/activate
204
- python -c "
205
- import weightslab, importlib.metadata as m
206
- print('weightslab import OK on Python ${{ matrix.python-version }}')
207
- print('installed version:', m.version('weightslab'))
208
- "
260
+ for attempt in $(seq 1 60); do
261
+ echo "Checking TestPyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
262
+ if python -m pip download \
263
+ --index-url https://test.pypi.org/simple/ \
264
+ --no-deps \
265
+ "weightslab==${WL_VERSION}" \
266
+ -d /tmp/wl-probe >/dev/null 2>&1; then
267
+ echo "Found weightslab==${WL_VERSION}"
268
+ break
269
+ fi
270
+ if [ "${attempt}" -eq 60 ]; then
271
+ echo "Timed out waiting for weightslab==${WL_VERSION} on TestPyPI"; exit 1
272
+ fi
273
+ sleep 7
274
+ done
275
+
276
+ python -m pip install \
277
+ --index-url https://test.pypi.org/simple/ \
278
+ --extra-index-url https://pypi.org/simple/ \
279
+ --extra-index-url https://download.pytorch.org/whl/cpu \
280
+ "weightslab==${WL_VERSION}" --no-cache-dir --retries 10 --timeout 60
281
+ echo "weightslab==${WL_VERSION} installed on Python ${{ matrix.python-version }}"
282
+
283
+ python -c "
284
+ import weightslab, importlib.metadata as m
285
+ print('weightslab import OK on Python ${{ matrix.python-version }}')
286
+ print('installed version:', m.version('weightslab'))
287
+ "
209
288
 
210
289
  # Only for a dev pre-release tag (off main, name contains 'dev').
211
290
  create-dev-release:
@@ -456,6 +535,43 @@ jobs:
456
535
  with:
457
536
  python-version: '3.11'
458
537
 
538
+ - uses: actions/setup-node@v4
539
+ with:
540
+ node-version: '20'
541
+
542
+ - name: Build and vendor Weights Studio UI
543
+ env:
544
+ # weights_studio is a separate PRIVATE repo — the automatic
545
+ # secrets.GITHUB_TOKEN is scoped to THIS repo only and has no access
546
+ # to it, so the clone below must authenticate with a real
547
+ # cross-repo PAT instead.
548
+ WEIGHTS_STUDIO_TOKEN: ${{ secrets.WEIGHTS_STUDIO_API_TOKEN }}
549
+ run: |
550
+ set -euo pipefail
551
+
552
+ if [ -z "${WEIGHTS_STUDIO_TOKEN:-}" ]; then
553
+ echo "WEIGHTS_STUDIO_API_TOKEN secret is not set; cannot access the private weights_studio repo." >&2
554
+ exit 1
555
+ fi
556
+ CLONE_URL="https://x-access-token:${WEIGHTS_STUDIO_TOKEN}@github.com/GrayboxTech/weights_studio.git"
557
+ UI_REF="main"
558
+ echo "Using weights_studio ref: ${UI_REF}"
559
+
560
+ rm -rf /tmp/weights_studio
561
+ git clone --depth 1 --branch "${UI_REF}" "${CLONE_URL}" /tmp/weights_studio
562
+
563
+ pushd /tmp/weights_studio >/dev/null
564
+ npm ci
565
+ npm test
566
+ npm run build
567
+ popd >/dev/null
568
+
569
+ rm -rf weightslab/ui/static
570
+ mkdir -p weightslab/ui/static
571
+ cp -R /tmp/weights_studio/dist/. weightslab/ui/static/
572
+
573
+ test -f weightslab/ui/static/index.html
574
+
459
575
  - name: Install build tools
460
576
  run: python -m pip install --upgrade pip build twine
461
577
 
@@ -511,46 +627,53 @@ jobs:
511
627
  - name: Create isolated virtual environment
512
628
  run: python -m venv .venv-ci
513
629
 
514
- - name: Install from PyPI (wait until indexed)
630
+ # Wrapped in a retry: PyPI can take a while to index a fresh upload, and
631
+ # the install itself is a real network call to a public registry — both
632
+ # transient enough to warrant retrying the whole install+verify unit (up
633
+ # to 3 attempts total) rather than failing the job outright.
634
+ - name: Install from PyPI (wait until indexed) + verify import
635
+ uses: nick-fields/retry@v3
515
636
  env:
516
637
  WL_VERSION: ${{ needs.build-and-publish-main.outputs.published_version }}
517
- run: |
518
- . .venv-ci/bin/activate
519
- python -m pip install --upgrade pip
520
- if [ -z "${WL_VERSION}" ]; then
521
- echo "Missing published_version from upstream job"; exit 1
522
- fi
523
-
524
- for attempt in $(seq 1 60); do
525
- echo "Checking PyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
526
- if python -m pip download \
527
- --index-url https://pypi.org/simple/ \
528
- --no-deps \
529
- "weightslab==${WL_VERSION}" \
530
- -d /tmp/wl-probe >/dev/null 2>&1; then
531
- echo "Found weightslab==${WL_VERSION}"
532
- break
533
- fi
534
- if [ "${attempt}" -eq 60 ]; then
535
- echo "Timed out waiting for weightslab==${WL_VERSION} on PyPI"; exit 1
638
+ with:
639
+ timeout_minutes: 15
640
+ max_attempts: 3
641
+ retry_on: any
642
+ shell: bash
643
+ command: |
644
+ . .venv-ci/bin/activate
645
+ python -m pip install --upgrade pip
646
+ if [ -z "${WL_VERSION}" ]; then
647
+ echo "Missing published_version from upstream job"; exit 1
536
648
  fi
537
- sleep 7
538
- done
539
649
 
540
- python -m pip install \
541
- --index-url https://pypi.org/simple/ \
542
- --extra-index-url https://download.pytorch.org/whl/cpu \
543
- "weightslab==${WL_VERSION}" --no-cache-dir --retries 10 --timeout 60
544
- echo "weightslab==${WL_VERSION} installed on Python ${{ matrix.python-version }}"
545
-
546
- - name: Verify package import
547
- run: |
548
- . .venv-ci/bin/activate
549
- python -c "
550
- import weightslab, importlib.metadata as m
551
- print('weightslab import OK on Python ${{ matrix.python-version }}')
552
- print('installed version:', m.version('weightslab'))
553
- "
650
+ for attempt in $(seq 1 60); do
651
+ echo "Checking PyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
652
+ if python -m pip download \
653
+ --index-url https://pypi.org/simple/ \
654
+ --no-deps \
655
+ "weightslab==${WL_VERSION}" \
656
+ -d /tmp/wl-probe >/dev/null 2>&1; then
657
+ echo "Found weightslab==${WL_VERSION}"
658
+ break
659
+ fi
660
+ if [ "${attempt}" -eq 60 ]; then
661
+ echo "Timed out waiting for weightslab==${WL_VERSION} on PyPI"; exit 1
662
+ fi
663
+ sleep 7
664
+ done
665
+
666
+ python -m pip install \
667
+ --index-url https://pypi.org/simple/ \
668
+ --extra-index-url https://download.pytorch.org/whl/cpu \
669
+ "weightslab==${WL_VERSION}" --no-cache-dir --retries 10 --timeout 60
670
+ echo "weightslab==${WL_VERSION} installed on Python ${{ matrix.python-version }}"
671
+
672
+ python -c "
673
+ import weightslab, importlib.metadata as m
674
+ print('weightslab import OK on Python ${{ matrix.python-version }}')
675
+ print('installed version:', m.version('weightslab'))
676
+ "
554
677
 
555
678
  create-main-release:
556
679
  name: Create GitHub Release
@@ -3,13 +3,22 @@ weightslab.egg-info
3
3
  build
4
4
  agents
5
5
 
6
+ # UI dirs — built SPA artifacts, regenerated by `npm run build` / build:embed;
7
+ # never committed (the wheel embeds them at build time).
6
8
  dist
9
+ static
10
+ weightslab/ui/static/
11
+
12
+ # Ignore files and directories generated by Python
7
13
  logs
8
14
  root_log_dir
9
15
  __pycache__
10
16
  venv
11
17
  runs
12
18
  data
19
+ outputs
20
+ !./tests/data/
21
+ !./weightslab/data/
13
22
  MagicMock
14
23
  drop
15
24
  htmlcov
@@ -59,11 +59,12 @@ experiment becomes inspectable/editable; Weights Studio is the UI for that.
59
59
  **Wire path (the thing that breaks most often):**
60
60
 
61
61
  ```
62
- Browser (Vite app) → Envoy :8080 (grpc-web ↔ grpc) → Python gRPC servicer → training loop
62
+ Browser → weightslab start :8080 (grpc-web → grpc proxy) → Python gRPC servicer → training loop
63
63
  ```
64
64
 
65
- - The browser cannot speak raw gRPC, so **Envoy** transcodes grpc-web ↔ gRPC.
66
- If Envoy is down or misconfigured, the UI loads but no data appears.
65
+ - `weightslab start` is a pure-Python HTTP server that serves the bundled SPA
66
+ and translates grpc-web (browser) to raw gRPC (backend). No Docker, no Envoy.
67
+ If `weightslab start` is not running, the browser has no UI to load.
67
68
  - The gRPC servicer and the training loop run in the **same process, different
68
69
  threads**, coordinated by locks in
69
70
  `weightslab/weightslab/components/global_monitoring.py`.
@@ -88,13 +89,19 @@ wl.serve(serving_grpc=True, serving_cli=True) # background threads, same proce
88
89
  wl.keep_serving() # keep the process alive for the UI
89
90
  ```
90
91
 
91
- Then start the studio stack (Envoy + frontend) and open it in a browser.
92
+ Then start the UI in another terminal and open it in a browser:
93
+
94
+ ```bash
95
+ weightslab start # serves at http://localhost:8080 by default
96
+ ```
97
+
92
98
  Working starting points live in
93
99
  `weightslab/weightslab/examples/{PyTorch,Lightning,Usecases}/<usecase>/`
94
100
  (each is a `main.py` + `config.yaml`) — find the closest example and mirror it.
95
101
 
96
- Studio deployment details (Docker compose, Envoy, ports, certs) are in
97
- `weights_studio/docker/` and documented in `weightslab/docs/weights_studio.rst`.
102
+ UI deployment details (port, TLS, certs) are documented in
103
+ `weightslab/docs/weights_studio.rst`. TLS is opt-in: run `weightslab se` once,
104
+ then `weightslab start --certs`.
98
105
 
99
106
  ---
100
107
 
@@ -138,10 +145,10 @@ ones when debugging:
138
145
  | Variable | Default | Why you touch it |
139
146
  |---|---|---|
140
147
  | `WEIGHTSLAB_LOG_LEVEL` | `INFO` | Set `DEBUG` to see what's happening. (`WATCHDOG` level sits between WARNING/ERROR.) |
141
- | `GRPC_BACKEND_HOST` / `GRPC_BACKEND_PORT` | `0.0.0.0` / `50051` | Backend must listen where Envoy expects it. |
142
- | `GRPC_TLS_ENABLED` | `1` | TLS on the gRPC socket. Set `0` **only** for isolated local debugging. |
143
- | `GRPC_TLS_REQUIRE_CLIENT_AUTH` | `1` | mTLS. Must match what Envoy presents. |
144
- | `GRPC_TLS_CERT_DIR` | `~/certs` | Where default cert files are looked up. |
148
+ | `GRPC_BACKEND_HOST` / `GRPC_BACKEND_PORT` | `0.0.0.0` / `50051` | Backend gRPC bind address. |
149
+ | `GRPC_TLS_ENABLED` | `0` | TLS on the gRPC socket. Set `1` with `weightslab start --certs`. |
150
+ | `GRPC_TLS_REQUIRE_CLIENT_AUTH` | `0` | mTLS. Must match what `weightslab start --certs` presents. |
151
+ | `WEIGHTSLAB_CERTS_DIR` | `~/.weightslab-certs` | Where cert files are looked up (single source of truth). |
145
152
  | `GRPC_AUTH_TOKEN` | *(unset)* | Optional metadata-token auth on top of mTLS. |
146
153
  | `GRPC_MAX_MESSAGE_BYTES` | `268435456` (256 MB) | Raise it if large tensors/image batches fail. |
147
154
  | `WEIGHTSLAB_DISABLE_WATCHDOGS` | `0` | Set `1` when debugging with breakpoints (see §5). |
@@ -151,7 +158,7 @@ ones when debugging:
151
158
 
152
159
  | Variable | Default | Why you touch it |
153
160
  |---|---|---|
154
- | `WS_SERVER_HOST` / `WS_SERVER_PORT` / `WS_SERVER_PROTOCOL` | `localhost` / `8080` / `https` | How the browser reaches the backend (via Envoy). The #1 connection-issue knob. |
161
+ | `WS_SERVER_HOST` / `WS_SERVER_PORT` / `WS_SERVER_PROTOCOL` | `localhost` / `8080` / `http` | How the browser reaches the `weightslab start` server. The #1 connection-issue knob. |
155
162
  | `WS_HISTOGRAM_MAX_BINS` | `512` | Cap on metadata histogram bars. |
156
163
  | `BB_THUMB_RENDER` | `10` | Max bounding boxes drawn per **thumbnail**, per overlay (GT and PRED capped independently). |
157
164
  | `BB_MODAL_RENDER` | `100` | Max bounding boxes drawn per **modal** image, per overlay. A `?` button in the modal shows the active limit. |
@@ -161,11 +168,10 @@ ones when debugging:
161
168
  | `ENABLE_AGENT` | `1` | `0`/`false` removes the agent chat bar + history panel and stops the agent health poll. |
162
169
 
163
170
  > **VITE_ vs WS_/BB_/ENABLE_:** `VITE_*` variables are baked at **build time**
164
- > (changing them needs a rebuild). `WS_*` / `BB_*` / `ENABLE_*` are injected at
165
- > **container start** into `config.js` and read as `window.*` globals (the
166
- > toggles as `window.WS_ENABLE_*`) — changing them needs only a container restart
167
- > + browser reload (see the caching note in §5). Each `ENABLE_*` defaults to on;
168
- > set it to `0`/`false`/`no`/`off` to disable. Full reference:
171
+ > (changing them needs a frontend rebuild). `WS_*` / `BB_*` / `ENABLE_*` are
172
+ > injected into `config.js` at `weightslab start` time and read as `window.*`
173
+ > globals — changing them needs only a restart + browser reload. Each `ENABLE_*`
174
+ > defaults to on; set it to `0`/`false`/`no`/`off` to disable. Full reference:
169
175
  > `weightslab/docs/configuration.rst` (“Feature toggles”).
170
176
 
171
177
  ---
@@ -177,19 +183,15 @@ distilled from issues hit in development).
177
183
 
178
184
  **UI loads but the sample grid is empty / "failed to fetch" / gRPC errors.**
179
185
  The wire path (§1) is broken somewhere. Check in order: (1) backend actually
180
- serving on `0.0.0.0:50051`; (2) Envoy running and reachable on `:8080`;
181
- (3) frontend `WS_SERVER_HOST/PORT/PROTOCOL` point at Envoy, not the raw backend;
182
- (4) **TLS mismatch** — `WS_SERVER_PROTOCOL=https` vs `http`, Envoy server certs,
183
- and Envoy→backend mTLS certs all consistent. For local debugging you can drop
184
- TLS end-to-end (`GRPC_TLS_ENABLED=0` + `VITE_SERVER_PROTOCOL=http`).
186
+ serving on `0.0.0.0:50051`; (2) `weightslab start` is running and the browser
187
+ can reach it on `:8080`; (3) **TLS mismatch** if using `--certs` — run
188
+ `weightslab se` first and export `WEIGHTSLAB_CERTS_DIR`. For local debugging
189
+ drop TLS entirely (omit `--certs`; `GRPC_TLS_ENABLED=0`).
185
190
 
186
191
  **Changed an env var, restarted, but the UI still uses the old value.**
187
192
  - `VITE_*` is build-time → you must **rebuild** the frontend, not just restart.
188
- - `WS_*` / `BB_*` are read once per page load → you must **reload the tab**.
189
- - Historically `config.js` was served `Cache-Control: immutable` so even a
190
- restart needed a **hard refresh**; current builds serve `/config.js` with
191
- `no-store`, so a container restart + normal reload is enough. On an older
192
- deployment, hard-refresh (Ctrl+Shift+R) or clear cache.
193
+ - `WS_*` / `BB_*` / `ENABLE_*` are injected at `weightslab start` time → you
194
+ must **restart `weightslab start`** then reload the tab.
193
195
 
194
196
  **Sample grid flashes empty cells when auto-refresh fires.**
195
197
  An auto-refresh (timer or manual) that lands while a `GetDataSamples` grid fetch
@@ -247,7 +249,8 @@ OpenRouter** initialized from the UI via `/init` (then `/model` to switch,
247
249
  - `grid_data/` — grid + modal rendering (`GridCell.ts`, `DataImageService.ts`,
248
250
  `gridDataManager.ts`, `BboxRenderer.ts`, `SegmentationRenderer.ts`,
249
251
  `PointCloudViewer.ts`).
250
- - `docker/` — compose, `nginx-entrypoint.sh` (injects `config.js`), Envoy assets.
252
+ - `ui/` — `server.py` (pure-Python HTTP + gRPC-Web proxy), `static/` (bundled SPA),
253
+ `utils/` (cert-generation scripts, sync-frontend helper).
251
254
 
252
255
  **Docs:** `weightslab/docs/` (Sphinx) — `configuration.rst` (all env vars),
253
256
  `weights_studio.rst` (studio deploy + agent), `quickstart.rst`, `grpc/`.
@@ -257,7 +260,7 @@ OpenRouter** initialized from the UI via `/init` (then `/model` to switch,
257
260
  ## 7. For contributors (working in a checkout)
258
261
 
259
262
  - **The two repos must sit side by side** (`…/weightslab`, `…/weights_studio`);
260
- codegen and Envoy configs reach across by relative path.
263
+ proto codegen scripts reach across by relative path.
261
264
  - **Editing the proto is cross-repo** — do all of: edit
262
265
  `experiment_service.proto`; regenerate Python stubs from the repo root; run
263
266
  `npm run generate-proto:data` in weights_studio. Editing one side only leaves
@@ -0,0 +1 @@
1
+ # Changelog - 2026-08-03 v1.4.1 (3)