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.
- {weightslab-1.3.3 → weightslab-1.4.2}/.github/workflows/ci.yml +5 -4
- {weightslab-1.3.3 → weightslab-1.4.2}/.github/workflows/release.yml +214 -91
- {weightslab-1.3.3 → weightslab-1.4.2}/.gitignore +9 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/AGENTS.md +31 -28
- weightslab-1.4.2/CHANGELOG.md +1 -0
- {weightslab-1.3.3/weightslab.egg-info → weightslab-1.4.2}/PKG-INFO +57 -46
- {weightslab-1.3.3 → weightslab-1.4.2}/README.md +50 -37
- {weightslab-1.3.3 → weightslab-1.4.2}/agent_config.yaml +1 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/examples-gallery.js +6 -6
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/wl-ribbon.js +1 -1
- weightslab-1.4.2/docs/checkpointing.rst +239 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/conf.py +1 -1
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/configuration.rst +50 -44
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/classification.rst +2 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/clustering.rst +2 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/detection.rst +2 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/generation.rst +1 -1
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/segmentation.rst +2 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/usecases/lidar_detection.rst +1 -1
- weightslab-1.4.2/docs/examples/usecases/loss_shape_classification.rst +181 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/four_way_approach.rst +2 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/index.rst +2 -2
- weightslab-1.4.2/docs/logger.rst +251 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/quickstart.rst +9 -14
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/ultralytics.rst +2 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/usage/parameters.rst +10 -30
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/user_commands.rst +107 -114
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/user_functions.rst +114 -49
- weightslab-1.4.2/docs/weights_studio.rst +425 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/pyproject.toml +38 -19
- weightslab-1.4.2/tests/backend/test_cli.py +295 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_data_loader_interface.py +29 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_ledgers.py +43 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_logger_core.py +215 -1
- weightslab-1.4.2/tests/backend/test_tunnel.py +49 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_write_dataframe.py +46 -23
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_write_history.py +111 -51
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/test_checkpoint_workflow.py +486 -26
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_grpc_tag_operations.py +8 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_grpc_user_actions.py +1 -1
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_cli.py +53 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_signal_refinements.py +94 -7
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_signals.py +37 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/ultralytics/ddp/ddp_ablation.py +3 -1
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_constraint_generation.py +23 -0
- weightslab-1.4.2/tests/test_secure_communication.py +132 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_live_prompt_evaluation.py +15 -0
- weightslab-1.4.2/tests/trainer/services/test_data_service_sample_id_query.py +75 -0
- weightslab-1.4.2/tests/trainer/services/test_data_service_tabular_task_type.py +98 -0
- weightslab-1.4.2/tests/trainer/services/test_data_service_text_predictions.py +148 -0
- weightslab-1.4.2/tests/trainer/services/test_signal_trajectory.py +117 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/test_trainer_tools.py +79 -0
- weightslab-1.4.2/tests/utils/test_telemetry.py +59 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/__init__.py +71 -15
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/_version.py +3 -3
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/art.py +13 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/dataloader_interface.py +20 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/ledgers.py +36 -1
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/logger.py +384 -43
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/optimizer_interface.py +13 -8
- weightslab-1.4.2/weightslab/cli.py +845 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/checkpoint_manager.py +352 -147
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/global_monitoring.py +9 -8
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/array_proxy.py +42 -3
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/data_utils.py +15 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/dataframe_manager.py +43 -25
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/h5_array_store.py +109 -76
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/h5_dataframe_store.py +20 -10
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/sample_stats.py +4 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Colab/wl-colab-quickstart.ipynb +77 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-ads-recommendation.ipynb +481 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-classification.ipynb +1667 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-clustering.ipynb +5272 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-detection.ipynb +4691 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-fraud-detection.ipynb +232 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/PyTorch/wl-segmentation.ipynb +1072 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-brain-tumor-detection-dataset.ipynb +1908 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynb +1704 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-construction-ppe-detection-dataset.ipynb +1716 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-crack-segmentation-dataset.ipynb +1684 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-homeobjects-dataset.ipynb +1716 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-kitti-detection-dataset.ipynb +1707 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-medical-pills-dataset.ipynb +1701 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-package-segmentation-dataset.ipynb +1683 -0
- weightslab-1.4.2/weightslab/examples/Notebooks/Usecases/wl-segmentation-loss-shapes-classification.ipynb +530 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/README.md +102 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/config.yaml +52 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/main.py +284 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/test_ads_recommendation.py +185 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/utils/data.py +269 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/utils/model.py +74 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-ads-recommendation/verify_integration.py +219 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-classification/config.yaml +8 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-classification/main.py +0 -5
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/README.md +134 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/config.yaml +64 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/main.py +385 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/test_fraud_detection.py +237 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/utils/data.py +255 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/utils/kaggle_data.py +108 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/utils/model.py +34 -0
- weightslab-1.4.2/weightslab/examples/PyTorch/wl-fraud-detection/verify_integration.py +271 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/main.py +0 -8
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Ultralytics/wl-detection/config.yaml +1 -1
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/config.yaml +3 -6
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/main.py +26 -22
- weightslab-1.4.2/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +47 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/signals.py +6 -14
- weightslab-1.4.2/weightslab/examples/Usecases/ws-signals-mnist/main.py +180 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/README.md +26 -6
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/__init__.py +16 -8
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/dataset.py +22 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/signals.py +26 -6
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/trainer.py +108 -32
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/proto/experiment_service.proto +33 -0
- weightslab-1.4.2/weightslab/proto/experiment_service_pb2.py +204 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/proto/experiment_service_pb2_grpc.py +50 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/security/cert_auth_manager.py +23 -20
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/src.py +549 -111
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/experiment_context.py +1 -1
- weightslab-1.4.2/weightslab/trainer/services/agent/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent.py +20 -1
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/intent_prompt.py +38 -4
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/data_image_utils.py +57 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/data_service.py +356 -18
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/experiment_service.py +3 -3
- weightslab-1.4.2/weightslab/trainer/services/utils/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/trainer_services.py +4 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/trainer_tools.py +38 -2
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/tunnel.py +21 -13
- weightslab-1.4.2/weightslab/ui/__init__.py +10 -0
- weightslab-1.4.2/weightslab/ui/server.py +561 -0
- weightslab-1.4.2/weightslab/ui/static/assets/experiment_service-DQrh-y3X.js +1 -0
- weightslab-1.4.2/weightslab/ui/static/assets/favicon-BtmqMp0p.png +0 -0
- weightslab-1.4.2/weightslab/ui/static/assets/index-BL7NV5ej.css +1 -0
- weightslab-1.4.2/weightslab/ui/static/assets/index-DhU_F1Hm.js +4475 -0
- weightslab-1.4.2/weightslab/ui/static/images/darkmode/logo.png +0 -0
- weightslab-1.4.2/weightslab/ui/static/images/darkmode/logo.svg +59 -0
- weightslab-1.4.2/weightslab/ui/static/images/favicon.png +0 -0
- weightslab-1.4.2/weightslab/ui/static/images/lightmode/logo.png +0 -0
- weightslab-1.4.2/weightslab/ui/static/images/lightmode/logo.svg +59 -0
- weightslab-1.4.2/weightslab/ui/static/images/logo.png +0 -0
- weightslab-1.4.2/weightslab/ui/static/index.html +794 -0
- {weightslab-1.3.3/weightslab/docker/docker → weightslab-1.4.2/weightslab/ui}/utils/generate-certs-auth-token.ps1 +19 -19
- {weightslab-1.3.3/weightslab/docker/docker → weightslab-1.4.2/weightslab/ui}/utils/generate-certs-auth-token.sh +19 -19
- weightslab-1.4.2/weightslab/ui/utils/sync-frontend.sh +49 -0
- weightslab-1.4.2/weightslab/utils/__init__.py +36 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/telemetry.py +57 -8
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/tools.py +18 -0
- {weightslab-1.3.3 → weightslab-1.4.2/weightslab.egg-info}/PKG-INFO +57 -46
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/SOURCES.txt +60 -33
- weightslab-1.4.2/weightslab.egg-info/entry_points.txt +2 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/requires.txt +6 -12
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/scm_file_list.json +311 -295
- weightslab-1.4.2/weightslab.egg-info/scm_version.json +8 -0
- weightslab-1.3.3/CHANGELOG.md +0 -1
- weightslab-1.3.3/docs/examples/usecases/loss_shape_classification.rst +0 -219
- weightslab-1.3.3/docs/logger.rst +0 -88
- weightslab-1.3.3/docs/usage/docker.rst +0 -350
- weightslab-1.3.3/docs/weights_studio.rst +0 -612
- weightslab-1.3.3/tests/backend/test_ui_docker_bridge.py +0 -718
- weightslab-1.3.3/tests/general/test_logger_snapshot_rotation.py +0 -102
- weightslab-1.3.3/tests/test_secure_docker.py +0 -238
- weightslab-1.3.3/weightslab/docker/Dockerfile +0 -27
- weightslab-1.3.3/weightslab/docker/docker/.dockerignore +0 -20
- weightslab-1.3.3/weightslab/docker/docker/.env.example +0 -67
- weightslab-1.3.3/weightslab/docker/docker/DEPLOYMENT.md +0 -271
- weightslab-1.3.3/weightslab/docker/docker/docker-compose.yml +0 -127
- weightslab-1.3.3/weightslab/docker/docker/nginx-entrypoint.sh +0 -188
- weightslab-1.3.3/weightslab/docker/docker/nginx.base-path.conf copy.template +0 -40
- weightslab-1.3.3/weightslab/docker/docker/nginx.base-path.conf.template +0 -40
- weightslab-1.3.3/weightslab/docker/docker/nginx.conf +0 -57
- weightslab-1.3.3/weightslab/docker/docker/test-deployment.sh +0 -110
- weightslab-1.3.3/weightslab/docker/docker/utils/build-and-deploy.sh +0 -348
- weightslab-1.3.3/weightslab/docker/envoy/envoy.downstream_plaintext.yaml +0 -100
- weightslab-1.3.3/weightslab/docker/envoy/envoy.downstream_upstream_plaintext.yaml +0 -87
- weightslab-1.3.3/weightslab/docker/envoy/envoy.upstream_plaintext.yaml +0 -97
- weightslab-1.3.3/weightslab/docker/envoy/envoy.yaml +0 -110
- weightslab-1.3.3/weightslab/docker/nginx.conf +0 -118
- weightslab-1.3.3/weightslab/examples/Docker_training/README.md +0 -38
- weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/Dockerfile +0 -57
- weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/README.md +0 -161
- weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/docker-compose.yml +0 -54
- weightslab-1.3.3/weightslab/examples/Docker_training/docker_in_docker/entrypoint.sh +0 -67
- weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/Dockerfile +0 -55
- weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/README.md +0 -159
- weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/docker-compose.yml +0 -44
- weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/entrypoint.sh +0 -101
- weightslab-1.3.3/weightslab/examples/Docker_training/siblings_self_contained/ui-compose.yml +0 -61
- weightslab-1.3.3/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +0 -36
- weightslab-1.3.3/weightslab/proto/experiment_service_pb2.py +0 -198
- weightslab-1.3.3/weightslab/ui_docker_bridge.py +0 -1260
- weightslab-1.3.3/weightslab/utils/__init__.py +0 -9
- weightslab-1.3.3/weightslab.egg-info/entry_points.txt +0 -2
- weightslab-1.3.3/weightslab.egg-info/scm_version.json +0 -8
- {weightslab-1.3.3 → weightslab-1.4.2}/.coverage +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/.gitattributes +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/.github/workflows/docs-pages.yml +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/LICENSE +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/.gitkeep +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/custom.css +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/favicon.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/github-stars.js +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/logo-dark.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/logo-light.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/version-switcher.js +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/weights_studio_architecture.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_static/wl-topnav.js +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_templates/.gitkeep +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/_templates/sidebar/brand.html +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/agent.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/data_exploration.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/index.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/lightning/classification.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/lightning/index.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/pytorch/index.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/ultralytics/detection.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/ultralytics/index.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/examples/usecases/index.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/grpc/audit_logger.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/grpc/grpc_functions.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/grpc/index.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/hyperparameters.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/model_interaction.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/pytorch_lightning.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/requirements.txt +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/segmentation_usecase.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/usage/good_practice.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/usage.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/docs/usecases.rst +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/setup.cfg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_audit_logger.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_cli_additional_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_compare_dataloaders.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_instance_signal_logger.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_model_interface_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_optimizer_interface.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/backend/test_optimizer_interface_additional_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/chaos_monkeys_utests/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/chaos_monkeys_utests/test_grpc_chaos_monkey_robustness.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/test_experiment_hash_and_art.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/components/test_global_monitoring_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_get_point_cloud.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/gRPC/test_grpc_histogram_categorical.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_auditor_mode.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_hyperparams.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/general/test_signals_wrapping.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/test_pytorch_lightning_integration.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/integrations/ultralytics/ddp/ddp_test_suite.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_dependency_patterns.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_logger.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_model_with_ops.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_model_with_ops_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/model/test_tracking.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/modules/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/modules/test_modules_with_ops.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/test_src_functions.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_model_and_safety_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_prompt_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_agent_service_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_trainer_services_server.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/trainer/services/test_trainer_services_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_computational_graph_utils_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_logs_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_modules_dependencies_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_plot_graph_render_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_plot_graph_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_shape_prop_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/utils/test_utils_tools_unit.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/watchdog/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/watchdog/test_lock_monitor.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/tests/watchdog/test_watchdog.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/audit_logger.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/cli.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/backend/model_interface.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/evaluation_controller.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/experiment_hash.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/parallel_primitives.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/components/tracking.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/data_samples_with_ops.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/data/point_cloud_utils.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/docker/docker/utils/test-deployment.sh +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Lightning/wl-classification/config.yaml +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Lightning/wl-classification/main.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-classification.ipynb +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-clustering.ipynb +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-detection.ipynb +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-generation.ipynb +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/PyTorch/ws-segmentation.ipynb +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Notebooks/Usecases/ws-segmentation-loss-shapes-classification.ipynb +0 -0
- {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
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/config.yaml +0 -0
- {weightslab-1.3.3/weightslab/examples/utils/baseline_models → weightslab-1.4.2/weightslab/examples/PyTorch/wl-clustering/face}/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/data.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/model.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/signals.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/face/utils.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-clustering/main.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/README.md +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/config.yaml +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/main.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/utils/criterions.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/utils/data.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-detection/utils/model.py +0 -0
- {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
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-generation/config.yaml +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-generation/main.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0000f77c-6257be58.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/000f8d37-d4c09a0f.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00a0f008-a315437f.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c12bd0-bb46e479.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c29c52-f9524f1e.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00ce6f6d-50bbee62.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d1bafa-1b47b41c.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d7268f-fd4487be.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00f0dd0f-5e9c9557.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a0d7f4c-ac5c3c8f.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a1f4fce-f9cac880.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a3bb2d8-c195d91e.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1cac6a7-04e33135.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ceb32e-3f481b43.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d10d08-5b108225.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d22449-15fb948f.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d7b3ac-5af8623b.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1dce572-c6a8cb5e.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e1a7b8-0aec80e8.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e8ad72-c3c79240.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ee702d-0ae1fc10.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1f0efd9-37a14dda.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2a0648b-d8e126bc.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2b70230-bad4ff6e.jpg +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0000f77c-6257be58.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/000f8d37-d4c09a0f.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00a0f008-a315437f.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c12bd0-bb46e479.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c29c52-f9524f1e.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00ce6f6d-50bbee62.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d1bafa-1b47b41c.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d7268f-fd4487be.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00f0dd0f-5e9c9557.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a0d7f4c-ac5c3c8f.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a1f4fce-f9cac880.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a3bb2d8-c195d91e.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1cac6a7-04e33135.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ceb32e-3f481b43.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d10d08-5b108225.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d22449-15fb948f.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d7b3ac-5af8623b.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1dce572-c6a8cb5e.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e1a7b8-0aec80e8.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e8ad72-c3c79240.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ee702d-0ae1fc10.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1f0efd9-37a14dda.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2a0648b-d8e126bc.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2b70230-bad4ff6e.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/config.yaml +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/utils/criterions.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/utils/data.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/PyTorch/wl-segmentation/utils/model.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Ultralytics/wl-detection/main.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/README.md +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/config.yaml +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/main.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/data.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/model.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/README.md +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/config.yaml +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/main.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/data.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/kitti_download.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/model.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/data.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/model.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/utils/__init__.py +0 -0
- {weightslab-1.3.3/weightslab/models → weightslab-1.4.2/weightslab/examples/utils/baseline_models}/__init__.py +0 -0
- {weightslab-1.3.3/weightslab/modules → weightslab-1.4.2/weightslab/examples/utils/baseline_models/pytorch}/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/examples/utils/baseline_models/pytorch/models.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/_utils.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/integrations/ultralytics/collate.py +0 -0
- {weightslab-1.3.3/weightslab/proto → weightslab-1.4.2/weightslab/models}/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/models/model_with_ops.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/models/monkey_patcher.py +0 -0
- {weightslab-1.3.3/weightslab/trainer → weightslab-1.4.2/weightslab/modules}/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/modules/modules_with_ops.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/modules/neuron_ops.py +0 -0
- {weightslab-1.3.3/weightslab/trainer/services → weightslab-1.4.2/weightslab/proto}/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/security/__init__.py +0 -0
- {weightslab-1.3.3/weightslab/trainer/services/agent → weightslab-1.4.2/weightslab/trainer}/__init__.py +0 -0
- {weightslab-1.3.3/weightslab/trainer/services/utils → weightslab-1.4.2/weightslab/trainer/services}/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent_overview/agent.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent_overview/query_example.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent/agent_overview/schema.png +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/agent_service.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/instance_merger.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/model_service.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/trainer/services/utils/tools.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/computational_graph.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/logs.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/modules_dependencies.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/plot_graph.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/utils/shape_prop.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/__init__.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/grpc_watchdog.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/lock_monitor.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/log_level.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab/watchdog/watchdog.py +0 -0
- {weightslab-1.3.3 → weightslab-1.4.2}/weightslab.egg-info/dependency_links.txt +0 -0
- {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=
|
|
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
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
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
|
|
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 [
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
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
|
-
|
|
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
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
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
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
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
|
|
62
|
+
Browser → weightslab start :8080 (grpc-web → grpc proxy) → Python gRPC servicer → training loop
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
-
|
|
66
|
-
|
|
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
|
|
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
|
-
|
|
97
|
-
`weights_studio
|
|
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
|
|
142
|
-
| `GRPC_TLS_ENABLED` | `
|
|
143
|
-
| `GRPC_TLS_REQUIRE_CLIENT_AUTH` | `
|
|
144
|
-
| `
|
|
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` / `
|
|
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
|
|
165
|
-
>
|
|
166
|
-
>
|
|
167
|
-
>
|
|
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)
|
|
181
|
-
(3)
|
|
182
|
-
|
|
183
|
-
|
|
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
|
|
189
|
-
|
|
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
|
-
- `
|
|
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
|
|
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)
|