weightslab 2.0.2__tar.gz → 2.0.4__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-2.0.2 → weightslab-2.0.4}/.github/workflows/ci.yml +166 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/.github/workflows/release.yml +257 -0
- weightslab-2.0.4/.github/workflows/whats-new.yml +116 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/.gitignore +5 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/AGENTS.md +68 -16
- weightslab-2.0.4/CHANGELOG.md +2 -0
- weightslab-2.0.4/LICENSE +18 -0
- weightslab-2.0.4/LICENSE-PolyForm-Noncommercial-1.0.0.md +73 -0
- {weightslab-2.0.2/weightslab.egg-info → weightslab-2.0.4}/PKG-INFO +66 -129
- {weightslab-2.0.2 → weightslab-2.0.4}/README.md +63 -126
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_scripts/update_whats_new.py +77 -12
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/custom.css +0 -18
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/examples-gallery.js +14 -0
- weightslab-2.0.4/docs/_static/screenshots/projection-board.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/agent.rst +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/agent_quickstart.rst +3 -7
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/build_docs.sh +50 -11
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/checkpointing.rst +38 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/configuration.rst +76 -16
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/custom_evaluation.rst +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/data_exploration.rst +1 -1
- weightslab-2.0.4/docs/examples/index.rst +21 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/pytorch/classification.rst +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/pytorch/clustering.rst +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/pytorch/detection.rst +2 -2
- weightslab-2.0.4/docs/examples/pytorch/fashion_mnist_umap.rst +167 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/pytorch/generation.rst +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/pytorch/index.rst +1 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/pytorch/segmentation.rst +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/ultralytics/detection.rst +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/usecases/index.rst +3 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/usecases/lidar_detection.rst +1 -1
- weightslab-2.0.4/docs/examples/usecases/projection_fashion_mnist.rst +95 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/experiment_reports.rst +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/four_way_approach.rst +3 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/hyperparameters.rst +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/index.rst +7 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/logger.rst +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/model_interaction.rst +2 -2
- weightslab-2.0.4/docs/projection.rst +465 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/quickstart.rst +75 -13
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/resource_monitoring.rst +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/segmentation_usecase.rst +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/signal_trajectory_classification.rst +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/ultralytics.rst +5 -9
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/user_commands.rst +13 -4
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/user_functions.rst +92 -6
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/notebook.rst +10 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_cli/cli_init.rst +5 -5
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/agent.rst +2 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/index.rst +15 -9
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/landing_page.rst +31 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/main_area.rst +169 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/more/configuration.rst +5 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/more/deployment.rst +2 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/more/ports.rst +2 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/more/troubleshooting.rst +4 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/whats_new.rst +97 -41
- {weightslab-2.0.2 → weightslab-2.0.4}/opencode.json +1 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/pyproject.toml +41 -5
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_ledgers.py +21 -0
- weightslab-2.0.4/tests/backend/test_overlapping_loader_loops.py +65 -0
- weightslab-2.0.4/tests/backend/test_version.py +48 -0
- weightslab-2.0.4/tests/components/test_checkpoint_keep_best.py +236 -0
- weightslab-2.0.4/tests/components/test_checkpoint_read_only.py +192 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/components/test_global_monitoring_unit.py +39 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/conftest.py +52 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_data_samples_with_ops.py +28 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_data_utils_unit.py +26 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_dataframe_manager_unit.py +25 -0
- weightslab-2.0.4/tests/data/test_import_from_store_viewer.py +216 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_video_utils.py +133 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/gRPC/test_get_media.py +43 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_cli.py +70 -1
- weightslab-2.0.4/tests/general/test_example_fashion_mnist_umap.py +499 -0
- weightslab-2.0.4/tests/general/test_license_metadata.py +47 -0
- weightslab-2.0.4/tests/general/test_parametric_umap.py +1574 -0
- weightslab-2.0.4/tests/general/test_projection_baseline_models.py +222 -0
- weightslab-2.0.4/tests/general/test_projection_colour_and_splits.py +319 -0
- weightslab-2.0.4/tests/general/test_projection_layer.py +364 -0
- weightslab-2.0.4/tests/general/test_projection_lifecycle.py +1337 -0
- weightslab-2.0.4/tests/test_default_eval_contract.py +132 -0
- weightslab-2.0.4/tests/test_default_eval_device.py +84 -0
- weightslab-2.0.4/tests/test_opencode_rendezvous.py +100 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_agent_service_unit.py +72 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_data_service_discard_flag.py +22 -1
- weightslab-2.0.4/tests/trainer/services/test_data_service_new_loader.py +118 -0
- weightslab-2.0.4/tests/trainer/services/test_notebook_pauses_training.py +155 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_notebook_service_unit.py +199 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_trainer_services_server.py +36 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/test_trainer_tools.py +1 -1
- weightslab-2.0.4/tests/ui/test_embedded_ui.py +180 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_loop.py +42 -1
- weightslab-2.0.4/tests/ui/test_ui_env_globals.py +50 -0
- weightslab-2.0.4/tests/ui/test_update_check.py +136 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_logs_unit.py +29 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/AGENTS.md +112 -11
- weightslab-2.0.4/weightslab/VERSION +1 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/__init__.py +25 -6
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/_version.py +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/cli.py +38 -28
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/ledgers.py +61 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/logger.py +27 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/model_interface.py +2 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/cli.py +38 -13
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/checkpoint_manager.py +479 -30
- weightslab-2.0.4/weightslab/components/checkpoint_retention.py +110 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/global_monitoring.py +7 -4
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/data_samples_with_ops.py +11 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/data_utils.py +42 -11
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/dataframe_manager.py +168 -56
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/h5_array_store.py +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/h5_dataframe_store.py +14 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/point_cloud_utils.py +8 -14
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/video_utils.py +142 -14
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Colab/wl-colab-quickstart.ipynb +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Local/wl-local-studio-quickstart.ipynb +4 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/wl-ads-recommendation.ipynb +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/wl-classification.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/wl-clustering.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/wl-detection.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/wl-fraud-detection.ipynb +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/wl-segmentation.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/ws-classification.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/ws-clustering.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/ws-detection.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/ws-generation.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/PyTorch/ws-segmentation.ipynb +2 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-brain-tumor-detection-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-construction-ppe-detection-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-crack-segmentation-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-homeobjects-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-kitti-detection-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-medical-pills-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-package-segmentation-dataset.ipynb +3 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Usecases/wl-segmentation-loss-shapes-classification.ipynb +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Notebooks/Usecases/ws-segmentation-loss-shapes-classification.ipynb +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/verify_integration.py +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-classification/config.yaml +4 -0
- weightslab-2.0.4/weightslab/examples/PyTorch/wl-fashion-mnist-umap/config.yaml +49 -0
- weightslab-2.0.4/weightslab/examples/PyTorch/wl-fashion-mnist-umap/main.py +535 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/verify_integration.py +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-standalone-config/main.py +6 -4
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-standalone-data/main.py +6 -4
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-standalone-logger/main.py +6 -4
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-standalone-model/main.py +6 -4
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Ultralytics/wl-detection/config.yaml +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-3d-lidar-detection/config.yaml +1 -1
- weightslab-2.0.4/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/config.yaml +40 -0
- weightslab-2.0.4/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/main.py +293 -0
- weightslab-2.0.4/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/projection_notebook.py +193 -0
- weightslab-2.0.4/weightslab/examples/Usecases/wl-fashion-mnist-umap/config.yaml +42 -0
- weightslab-2.0.4/weightslab/examples/Usecases/wl-fashion-mnist-umap/main.py +301 -0
- weightslab-2.0.4/weightslab/examples/Usecases/wl-mnist-at-scale/main.py +472 -0
- weightslab-2.0.4/weightslab/examples/Usecases/wl-parametric-umap/main.py +261 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/ultralytics/trainer.py +24 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/opencode_process.py +60 -1
- weightslab-2.0.4/weightslab/projection/__init__.py +76 -0
- weightslab-2.0.4/weightslab/projection/custom.py +189 -0
- weightslab-2.0.4/weightslab/projection/parametric_umap.py +1773 -0
- weightslab-2.0.4/weightslab/projection/registry.py +196 -0
- weightslab-2.0.4/weightslab/projection/snapshots.py +184 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/proto/experiment_service.proto +149 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/proto/experiment_service_pb2.py +96 -90
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/proto/experiment_service_pb2_grpc.py +48 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/src.py +444 -58
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent_service.py +29 -3
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/data_image_utils.py +1 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/data_service.py +437 -49
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/notebook_service.py +249 -13
- weightslab-2.0.4/weightslab/trainer/services/projection_service.py +1563 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/trainer_services.py +9 -2
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/trainer_tools.py +15 -3
- weightslab-2.0.4/weightslab/ui/embedded.py +226 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/server.py +59 -1
- weightslab-2.0.2/weightslab/ui/static/assets/experiment_service-DnXd4tbJ.js → weightslab-2.0.4/weightslab/ui/static/assets/experiment_service-Dy4f-lC-.js +1 -1
- weightslab-2.0.4/weightslab/ui/static/assets/index-BLzm-Nvr.js +5683 -0
- weightslab-2.0.4/weightslab/ui/static/assets/index-eYHKs6BK.css +1 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/index.html +25 -2
- weightslab-2.0.4/weightslab/ui/update_check.py +115 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/active_experiment.py +14 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/computational_graph.py +9 -1
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/logs.py +27 -1
- {weightslab-2.0.2 → weightslab-2.0.4/weightslab.egg-info}/PKG-INFO +66 -129
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab.egg-info/SOURCES.txt +48 -5
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab.egg-info/scm_file_list.json +45 -1
- weightslab-2.0.2/CHANGELOG.md +0 -1
- weightslab-2.0.2/LICENSE +0 -201
- weightslab-2.0.2/docs/examples/index.rst +0 -39
- weightslab-2.0.2/weightslab/docker/docker/utils/test-deployment.sh +0 -437
- weightslab-2.0.2/weightslab/ui/static/assets/index-Jc_TdGcS.css +0 -1
- weightslab-2.0.2/weightslab/ui/static/assets/index-xk36q_3W.js +0 -5531
- weightslab-2.0.2/weightslab.egg-info/scm_version.json +0 -8
- {weightslab-2.0.2 → weightslab-2.0.4}/.coverage +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/.gitattributes +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/.github/workflows/docs-pages.yml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/agent_config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/.gitkeep +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/code-copy.js +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/favicon.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/github-stars.js +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/logo-dark.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/logo-light.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/agent-bar.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/agent-window.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/bottom-bar.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/data-grid.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/evaluate-popover.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/export-annotations.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/image-detail-modal.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/landing-page.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/left-panel-details.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/left-panel-hyperparameters.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/left-panel-tags-painter.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/left-panel-training.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/list-exploration.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/media-player.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/modal-overlays.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/mode-selector.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/notebook-panel.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/plot-error-band.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/plot-merge.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/plot-search.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/plots-board.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/pointcloud-viewer.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/quick-filters.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/refresh-config.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/report-button.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/resource-signals.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/selection-context-menu.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/tagging-modal.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/screenshots/training-controls.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/version-switcher.js +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/weights_studio_architecture.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/wl-ribbon.js +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_static/wl-topnav.js +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_templates/.gitkeep +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/_templates/sidebar/brand.html +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/conf.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/lightning/classification.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/lightning/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/ultralytics/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/usecases/loss_shape_classification.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/examples/usecases/model_signals.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/export.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/grpc/audit_logger.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/grpc/grpc_functions.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/grpc/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/migration/from_3lc.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/migration/from_tensorboard.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/migration/from_voxel51.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/migration/from_wandb.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/migration/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/notebooks.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/perf/o_change_register.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/pytorch_lightning.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/requirements.txt +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/usage/good_practice/data_and_loaders.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/usage/good_practice/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/usage/good_practice/signals.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/usage/good_practice/training_loop.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/usage/parameters.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/usage.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/usecases.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/agent.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/cli_console.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/configuration.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/data_board.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/deployment.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/detail_modal.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/header_bar.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/landing_page.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/left_panel.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/plots.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/ports.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/reports.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/resource_monitoring.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/security.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio/troubleshooting.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_cli/cli_console.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_cli/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/left_panel.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/more/index.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/docs/weights_studio_ui/more/security.rst +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/resource_monitoring.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/scripts/ci/agent_smoke.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/setup.cfg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_audit_logger.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_cli.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_cli_additional_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_compare_dataloaders.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_data_loader_interface.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_export_annotations_api.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_h5_array_store_recovery.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_h5_whole_file_recovery.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_instance_signal_logger.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_logger_core.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_logger_per_sample_state.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_logger_scale.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_model_interface_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_optimizer_interface.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_optimizer_interface_additional_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_signal_outliers.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_tunnel.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_write_dataframe.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/backend/test_write_history.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/chaos_monkeys_utests/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/chaos_monkeys_utests/test_grpc_chaos_monkey_robustness.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/components/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/components/test_checkpoint_rewind.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/components/test_checkpoint_workflow.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/components/test_experiment_hash_and_art.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_boolean_tag_registry.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_categorical_tags.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_data_service_metadata_copy.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_dataframe_data_invariants.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_dataframe_rewind.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_flush_pipeline.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_h5_array_store.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_h5_dataframe_store.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_point_cloud_utils.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/data/test_save_signals_e2e.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/export/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/export/test_collect.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/export/test_exporter.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/export/test_formats.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/gRPC/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/gRPC/test_get_point_cloud.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/gRPC/test_grpc_histogram_categorical.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/gRPC/test_grpc_tag_operations.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/gRPC/test_grpc_user_actions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_auditor_mode.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_cli_export.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_four_way_standalone.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_hyperparams.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_model_signals.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_signal_refinements.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_signals.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/general/test_signals_wrapping.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/integrations/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/integrations/test_pytorch_lightning_integration.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/integrations/ultralytics/ddp/ddp_ablation.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/integrations/ultralytics/ddp/ddp_test_suite.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/test_constraint_generation.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/test_dependency_patterns.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/test_logger.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/test_model_graph_api.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/test_model_with_ops.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/test_model_with_ops_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/model/test_tracking.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/modules/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/modules/test_modules_with_ops.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/monitoring/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/monitoring/test_resource_monitor.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_agent_cli.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_agent_networking.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_opencode_binary.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_opencode_process.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_opencode_shared_server_integration.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_report_entrypoints.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_reporting.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_reporting_media.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_secure_communication.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/test_src_functions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_agent_live_prompt_evaluation.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_agent_model_and_safety_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_agent_opencode_provider.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_agent_prompt_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_data_service_sample_id_query.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_data_service_step_snapshot.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_data_service_tabular_task_type.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_data_service_text_predictions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_opencode_chat.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_signal_trajectory.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/trainer/services/test_trainer_services_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/fake_opencode.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_agent.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_data_query.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_experiment_reports.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_opencode_wire.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_shared_model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_shutdown_signals.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/ui/test_server_tracked_processes.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_computational_graph_utils_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_modules_dependencies_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_plot_graph_render_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_plot_graph_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_shape_prop_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_telemetry.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_tqdm_logging_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/utils/test_utils_tools_unit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/watchdog/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/watchdog/test_lock_monitor.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/tests/watchdog/test_watchdog.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/art.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/assets/chart.umd.min.js +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/assets/icon.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/assets/logo-dark.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/assets/logo.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/audit_logger.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/dataloader_interface.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/backend/optimizer_interface.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/evaluation_controller.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/experiment_hash.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/experiment_naming.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/model_signals.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/parallel_primitives.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/components/tracking.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/array_proxy.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/h5_recovery.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/media_store.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/data/sample_stats.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Lightning/wl-classification/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Lightning/wl-classification/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/test_ads_recommendation.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-classification/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-clustering/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-clustering/face/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-clustering/face/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-clustering/face/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-clustering/face/signals.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-clustering/face/utils.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-clustering/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection/utils/criterions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection-relabeling/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection-relabeling/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection-relabeling/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-detection-relabeling/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/test_fraud_detection.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/utils/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/utils/kaggle_data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-fraud-detection/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-image-generation/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-image-generation/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-model-editing/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/common.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/probe_full_vit.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/run_all.sh +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/run_head_experiment.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/setup.sh +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0000f77c-6257be58.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/000f8d37-d4c09a0f.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00a0f008-a315437f.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c12bd0-bb46e479.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c29c52-f9524f1e.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00ce6f6d-50bbee62.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d1bafa-1b47b41c.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d7268f-fd4487be.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00f0dd0f-5e9c9557.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a0d7f4c-ac5c3c8f.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a1f4fce-f9cac880.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a3bb2d8-c195d91e.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1cac6a7-04e33135.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ceb32e-3f481b43.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d10d08-5b108225.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d22449-15fb948f.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d7b3ac-5af8623b.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1dce572-c6a8cb5e.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e1a7b8-0aec80e8.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e8ad72-c3c79240.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ee702d-0ae1fc10.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1f0efd9-37a14dda.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2a0648b-d8e126bc.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2b70230-bad4ff6e.jpg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0000f77c-6257be58.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/000f8d37-d4c09a0f.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00a0f008-a315437f.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c12bd0-bb46e479.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c29c52-f9524f1e.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00ce6f6d-50bbee62.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d1bafa-1b47b41c.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d7268f-fd4487be.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00f0dd0f-5e9c9557.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a0d7f4c-ac5c3c8f.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a1f4fce-f9cac880.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a3bb2d8-c195d91e.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1cac6a7-04e33135.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ceb32e-3f481b43.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d10d08-5b108225.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d22449-15fb948f.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d7b3ac-5af8623b.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1dce572-c6a8cb5e.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e1a7b8-0aec80e8.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e8ad72-c3c79240.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ee702d-0ae1fc10.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1f0efd9-37a14dda.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2a0648b-d8e126bc.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2b70230-bad4ff6e.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/utils/criterions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-segmentation/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-standalone-config/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-video-generation/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-video-generation/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-video-generation/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-video-generation/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/PyTorch/wl-video-generation/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Ultralytics/wl-detection/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-2d-lidar-detection/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-2d-lidar-detection/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-2d-lidar-detection/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-3d-lidar-detection/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-3d-lidar-detection/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/kitti_download.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/data.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/model.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/signals.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-fashion-mnist-signals/config.yaml +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/wl-fashion-mnist-signals/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/Usecases/ws-signals-mnist/main.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/utils/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/utils/baseline_models/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/utils/baseline_models/pytorch/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/examples/utils/baseline_models/pytorch/models.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/collect.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/exporter.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/formats/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/formats/cvat.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/formats/label_studio.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/formats/v7_darwin.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/export/models.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/ultralytics/README.md +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/ultralytics/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/ultralytics/_utils.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/ultralytics/collate.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/ultralytics/dataset.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/integrations/ultralytics/signals.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/models/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/models/model_with_ops.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/models/monkey_patcher.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/modules/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/modules/modules_with_ops.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/modules/neuron_ops.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/monitoring/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/monitoring/resource_monitor.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/opencode.json +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/opencode_binary.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/proto/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/reporting.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/security/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/security/cert_auth_manager.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/experiment_context.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/agent.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/agent_overview/agent.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/agent_overview/query_example.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/agent_overview/schema.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/intent_prompt.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/notebook_prompt.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/opencode_chat.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/agent/report_prompt.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/experiment_service.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/instance_merger.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/model_service.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/utils/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/trainer/services/utils/tools.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/tunnel.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/assets/favicon-BtmqMp0p.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/images/darkmode/logo.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/images/darkmode/logo.svg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/images/favicon.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/images/lightmode/logo.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/images/lightmode/logo.svg +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/static/images/logo.png +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/utils/generate-certs-auth-token.ps1 +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/utils/generate-certs-auth-token.sh +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/ui/utils/sync-frontend.sh +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/modules_dependencies.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/plot_graph.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/shape_prop.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/telemetry.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/tools.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/utils/tqdm_logging.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/watchdog/__init__.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/watchdog/grpc_watchdog.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/watchdog/lock_monitor.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/watchdog/log_level.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab/watchdog/watchdog.py +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab.egg-info/dependency_links.txt +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab.egg-info/entry_points.txt +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab.egg-info/requires.txt +0 -0
- {weightslab-2.0.2 → weightslab-2.0.4}/weightslab.egg-info/top_level.txt +0 -0
|
@@ -155,6 +155,54 @@ jobs:
|
|
|
155
155
|
run: |
|
|
156
156
|
python -c "import weightslab; print(f'weightslab imported successfully')"
|
|
157
157
|
|
|
158
|
+
# ── uv install paths (always runs, alongside `install`) ──────────────────
|
|
159
|
+
# The ways uv users get weightslab, none of which the pip jobs exercise:
|
|
160
|
+
# the wheel installed into a uv-created env (no pip inside it), `uvx`, and
|
|
161
|
+
# the editable install of a checkout that `uv sync` performs. uv picks the
|
|
162
|
+
# CPU torch build with --torch-backend instead of --extra-index-url, which
|
|
163
|
+
# uv treats differently from pip (first-index strategy).
|
|
164
|
+
install-uv:
|
|
165
|
+
needs: gate
|
|
166
|
+
if: ${{ needs.gate.outputs.run_ci == 'true' }}
|
|
167
|
+
runs-on: ubuntu-latest
|
|
168
|
+
name: install with uv (Python 3.11)
|
|
169
|
+
steps:
|
|
170
|
+
- name: Checkout repository
|
|
171
|
+
uses: actions/checkout@v4
|
|
172
|
+
with:
|
|
173
|
+
fetch-depth: 0 # tags: a checkout's version is its nearest tag
|
|
174
|
+
|
|
175
|
+
- name: Set up Python 3.11
|
|
176
|
+
uses: actions/setup-python@v6
|
|
177
|
+
with:
|
|
178
|
+
python-version: '3.11'
|
|
179
|
+
|
|
180
|
+
# setup-uv publishes no floating major tag (no `@v10`): pin a release.
|
|
181
|
+
- name: Set up uv
|
|
182
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
183
|
+
|
|
184
|
+
- name: Resolve dependencies for every platform
|
|
185
|
+
run: uv lock
|
|
186
|
+
|
|
187
|
+
- name: Build sdist and wheel
|
|
188
|
+
run: uv build
|
|
189
|
+
|
|
190
|
+
- name: Install the wheel into a uv venv
|
|
191
|
+
run: |
|
|
192
|
+
uv venv --python 3.11 /tmp/wl-uv
|
|
193
|
+
uv pip install --python /tmp/wl-uv/bin/python dist/*.whl --torch-backend cpu
|
|
194
|
+
/tmp/wl-uv/bin/python -c "import importlib.util, weightslab; assert importlib.util.find_spec('pip') is None; print(f'weightslab {weightslab.__version__} imported in a pip-less uv env')"
|
|
195
|
+
/tmp/wl-uv/bin/weightslab --help
|
|
196
|
+
|
|
197
|
+
- name: Run the CLI with uvx
|
|
198
|
+
run: uvx --python 3.11 --torch-backend cpu --from "$(ls dist/*.whl)" weightslab --help
|
|
199
|
+
|
|
200
|
+
- name: Editable install of the checkout (what uv sync does)
|
|
201
|
+
run: |
|
|
202
|
+
uv venv --python 3.11 /tmp/wl-uv-dev
|
|
203
|
+
uv pip install --python /tmp/wl-uv-dev/bin/python -e . --torch-backend cpu
|
|
204
|
+
/tmp/wl-uv-dev/bin/python -c "import importlib.metadata as m; v = m.version('weightslab'); assert not v.startswith('0.'), f'no tag found: {v}'; print(f'editable version {v}')"
|
|
205
|
+
|
|
158
206
|
# ── Full Python version matrix (PR and main only) ─────────────────────────
|
|
159
207
|
# Verifies that `pip install` + basic import work across all supported Python
|
|
160
208
|
# versions. Runs on every PR and every push to main; skipped on dev/other
|
|
@@ -194,6 +242,49 @@ jobs:
|
|
|
194
242
|
run: |
|
|
195
243
|
python -c "import weightslab; print(f'weightslab imported successfully on Python ${{ matrix.python-version }}')"
|
|
196
244
|
|
|
245
|
+
# ── Full Python version matrix, with uv (main only, like install-matrix) ──
|
|
246
|
+
# The same check as install-matrix, installing with uv instead of pip: a
|
|
247
|
+
# uv-created venv (no pip inside it) and the editable install `uv sync` does.
|
|
248
|
+
# `install-uv` covers the default version (3.11) on every CI run.
|
|
249
|
+
install-matrix-uv:
|
|
250
|
+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
251
|
+
runs-on: ubuntu-latest
|
|
252
|
+
strategy:
|
|
253
|
+
fail-fast: false
|
|
254
|
+
matrix:
|
|
255
|
+
include:
|
|
256
|
+
- python-version: '3.10'
|
|
257
|
+
- python-version: '3.11'
|
|
258
|
+
- python-version: '3.12'
|
|
259
|
+
- python-version: '3.13'
|
|
260
|
+
- python-version: '3.14'
|
|
261
|
+
allow-prereleases: true
|
|
262
|
+
name: install matrix with uv (Python ${{ matrix.python-version }})
|
|
263
|
+
continue-on-error: ${{ matrix.allow-prereleases == true }}
|
|
264
|
+
steps:
|
|
265
|
+
- name: Checkout repository
|
|
266
|
+
uses: actions/checkout@v4
|
|
267
|
+
with:
|
|
268
|
+
fetch-depth: 0 # tags: a checkout's version is its nearest tag
|
|
269
|
+
|
|
270
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
271
|
+
uses: actions/setup-python@v6
|
|
272
|
+
with:
|
|
273
|
+
python-version: ${{ matrix.python-version }}
|
|
274
|
+
allow-prereleases: ${{ matrix.allow-prereleases || false }}
|
|
275
|
+
|
|
276
|
+
- name: Set up uv
|
|
277
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
278
|
+
|
|
279
|
+
- name: Install project dependencies with uv
|
|
280
|
+
run: |
|
|
281
|
+
uv venv --python "${{ matrix.python-version }}" .venv-uv
|
|
282
|
+
uv pip install --python .venv-uv/bin/python -e . --torch-backend cpu
|
|
283
|
+
|
|
284
|
+
- name: Verify installation
|
|
285
|
+
run: |
|
|
286
|
+
.venv-uv/bin/python -c "import weightslab; print(f'weightslab imported successfully with uv on Python ${{ matrix.python-version }}')"
|
|
287
|
+
|
|
197
288
|
test:
|
|
198
289
|
if: ${{ needs.gate.outputs.run_ci == 'true' }}
|
|
199
290
|
runs-on: ubuntu-latest
|
|
@@ -463,3 +554,78 @@ jobs:
|
|
|
463
554
|
print('weightslab import OK on Python ${{ matrix.python-version }}')
|
|
464
555
|
print('installed version:', m.version('weightslab'))
|
|
465
556
|
"
|
|
557
|
+
|
|
558
|
+
# ── Same install test from TestPyPI, with uv ─────────────────────────────
|
|
559
|
+
# Not a required check (the pip job above keeps its name). The published
|
|
560
|
+
# wheel comes from TestPyPI and its dependencies from PyPI: with uv, never
|
|
561
|
+
# mix the two as --index-url / --extra-index-url. uv takes each package from
|
|
562
|
+
# the first index that has it, and TestPyPI holds stale or squatted copies
|
|
563
|
+
# of common packages. The CPU torch build comes from --torch-backend.
|
|
564
|
+
test-install-from-pip-dev-uv:
|
|
565
|
+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
566
|
+
name: Test Install From Pip Dev with uv (Python ${{ matrix.python-version }})
|
|
567
|
+
needs: build-and-publish-dev
|
|
568
|
+
runs-on: ubuntu-latest
|
|
569
|
+
strategy:
|
|
570
|
+
fail-fast: false
|
|
571
|
+
matrix:
|
|
572
|
+
include:
|
|
573
|
+
- python-version: '3.10'
|
|
574
|
+
- python-version: '3.11'
|
|
575
|
+
- python-version: '3.12'
|
|
576
|
+
- python-version: '3.13'
|
|
577
|
+
- python-version: '3.14'
|
|
578
|
+
allow-prereleases: true
|
|
579
|
+
continue-on-error: ${{ matrix.allow-prereleases == true }}
|
|
580
|
+
permissions:
|
|
581
|
+
contents: read
|
|
582
|
+
steps:
|
|
583
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
584
|
+
uses: actions/setup-python@v6
|
|
585
|
+
with:
|
|
586
|
+
python-version: ${{ matrix.python-version }}
|
|
587
|
+
allow-prereleases: ${{ matrix.allow-prereleases || false }}
|
|
588
|
+
|
|
589
|
+
- name: Set up uv
|
|
590
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
591
|
+
|
|
592
|
+
- name: Download the wheel from TestPyPI (wait until indexed)
|
|
593
|
+
env:
|
|
594
|
+
WL_VERSION: ${{ needs.build-and-publish-dev.outputs.published_version }}
|
|
595
|
+
run: |
|
|
596
|
+
if [ -z "${WL_VERSION}" ]; then
|
|
597
|
+
echo "Missing published version from upstream job"
|
|
598
|
+
exit 1
|
|
599
|
+
fi
|
|
600
|
+
for attempt in $(seq 1 60); do
|
|
601
|
+
echo "Checking TestPyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
|
|
602
|
+
if python -m pip download \
|
|
603
|
+
--index-url https://test.pypi.org/simple/ \
|
|
604
|
+
--no-deps --only-binary :all: \
|
|
605
|
+
"weightslab==${WL_VERSION}" \
|
|
606
|
+
-d /tmp/wl-wheel >/dev/null 2>&1; then
|
|
607
|
+
echo "Found weightslab==${WL_VERSION}"
|
|
608
|
+
break
|
|
609
|
+
fi
|
|
610
|
+
if [ "${attempt}" -eq 60 ]; then
|
|
611
|
+
echo "Timed out waiting for weightslab==${WL_VERSION} on TestPyPI"
|
|
612
|
+
exit 1
|
|
613
|
+
fi
|
|
614
|
+
sleep 7
|
|
615
|
+
done
|
|
616
|
+
|
|
617
|
+
- name: Install with uv into a uv venv
|
|
618
|
+
run: |
|
|
619
|
+
uv venv --python "${{ matrix.python-version }}" .venv-uv
|
|
620
|
+
uv pip install --python .venv-uv/bin/python /tmp/wl-wheel/weightslab-*.whl --torch-backend cpu
|
|
621
|
+
|
|
622
|
+
- name: Verify package import
|
|
623
|
+
env:
|
|
624
|
+
WL_VERSION: ${{ needs.build-and-publish-dev.outputs.published_version }}
|
|
625
|
+
run: |
|
|
626
|
+
.venv-uv/bin/python -c "
|
|
627
|
+
import os, weightslab, importlib.metadata as m
|
|
628
|
+
v = m.version('weightslab')
|
|
629
|
+
assert v == os.environ['WL_VERSION'], (v, os.environ['WL_VERSION'])
|
|
630
|
+
print('weightslab', v, 'import OK with uv on Python ${{ matrix.python-version }}')
|
|
631
|
+
"
|
|
@@ -203,6 +203,16 @@ jobs:
|
|
|
203
203
|
echo "publish_version=${PUBLISH_VERSION}" >> $GITHUB_OUTPUT
|
|
204
204
|
echo "Tag ${GITHUB_REF_NAME} @ ${SHORT_SHA_HEX} -> TestPyPI version ${PUBLISH_VERSION}"
|
|
205
205
|
|
|
206
|
+
# The packaged weightslab/VERSION states the version being published, so
|
|
207
|
+
# the artifact agrees with itself before it is uploaded (the commit back
|
|
208
|
+
# to dev/main is sync-version-file's job, after the release).
|
|
209
|
+
- name: Write weightslab/VERSION
|
|
210
|
+
env:
|
|
211
|
+
PUBLISH_VERSION: ${{ steps.compute_version.outputs.publish_version }}
|
|
212
|
+
run: |
|
|
213
|
+
printf '%s\n' "${PUBLISH_VERSION}" > weightslab/VERSION
|
|
214
|
+
echo "weightslab/VERSION -> $(cat weightslab/VERSION)"
|
|
215
|
+
|
|
206
216
|
- name: Build distributions
|
|
207
217
|
env:
|
|
208
218
|
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WEIGHTSLAB: ${{ steps.compute_version.outputs.publish_version }}
|
|
@@ -319,6 +329,80 @@ jobs:
|
|
|
319
329
|
print('installed version:', m.version('weightslab'))
|
|
320
330
|
"
|
|
321
331
|
|
|
332
|
+
# ── Same install test from TestPyPI, with uv (Dev Release) ───────────────
|
|
333
|
+
# Informational: the pre-release does not wait for it. The wheel comes from
|
|
334
|
+
# TestPyPI and its dependencies from PyPI: with uv, never pass TestPyPI as
|
|
335
|
+
# --index-url plus PyPI as --extra-index-url (uv takes each package from the
|
|
336
|
+
# first index that has it, and TestPyPI holds stale copies of common
|
|
337
|
+
# packages). The CPU torch build comes from --torch-backend.
|
|
338
|
+
test-install-from-pip-dev-release-uv:
|
|
339
|
+
name: Test Install From TestPyPI with uv — Python ${{ matrix.python-version }} (Dev Release)
|
|
340
|
+
needs: build-and-publish-dev-release
|
|
341
|
+
runs-on: ubuntu-latest
|
|
342
|
+
strategy:
|
|
343
|
+
fail-fast: false
|
|
344
|
+
matrix:
|
|
345
|
+
include:
|
|
346
|
+
- python-version: '3.10'
|
|
347
|
+
- python-version: '3.11'
|
|
348
|
+
- python-version: '3.12'
|
|
349
|
+
- python-version: '3.13'
|
|
350
|
+
- python-version: '3.14'
|
|
351
|
+
allow-prereleases: true
|
|
352
|
+
continue-on-error: ${{ matrix.allow-prereleases == true }}
|
|
353
|
+
permissions:
|
|
354
|
+
contents: read
|
|
355
|
+
steps:
|
|
356
|
+
- uses: actions/setup-python@v6
|
|
357
|
+
with:
|
|
358
|
+
python-version: ${{ matrix.python-version }}
|
|
359
|
+
allow-prereleases: ${{ matrix.allow-prereleases || false }}
|
|
360
|
+
|
|
361
|
+
- name: Set up uv
|
|
362
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
363
|
+
|
|
364
|
+
- name: Install from TestPyPI with uv (wait until indexed) + verify import
|
|
365
|
+
uses: nick-fields/retry@v3
|
|
366
|
+
env:
|
|
367
|
+
WL_VERSION: ${{ needs.build-and-publish-dev-release.outputs.published_version }}
|
|
368
|
+
with:
|
|
369
|
+
timeout_minutes: 15
|
|
370
|
+
max_attempts: 3
|
|
371
|
+
retry_on: any
|
|
372
|
+
shell: bash
|
|
373
|
+
command: |
|
|
374
|
+
if [ -z "${WL_VERSION}" ]; then
|
|
375
|
+
echo "Missing published_version from upstream job"; exit 1
|
|
376
|
+
fi
|
|
377
|
+
|
|
378
|
+
rm -rf /tmp/wl-wheel
|
|
379
|
+
for attempt in $(seq 1 60); do
|
|
380
|
+
echo "Checking TestPyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
|
|
381
|
+
if python -m pip download \
|
|
382
|
+
--index-url https://test.pypi.org/simple/ \
|
|
383
|
+
--no-deps --only-binary :all: \
|
|
384
|
+
"weightslab==${WL_VERSION}" \
|
|
385
|
+
-d /tmp/wl-wheel >/dev/null 2>&1; then
|
|
386
|
+
echo "Found weightslab==${WL_VERSION}"
|
|
387
|
+
break
|
|
388
|
+
fi
|
|
389
|
+
if [ "${attempt}" -eq 60 ]; then
|
|
390
|
+
echo "Timed out waiting for weightslab==${WL_VERSION} on TestPyPI"; exit 1
|
|
391
|
+
fi
|
|
392
|
+
sleep 7
|
|
393
|
+
done
|
|
394
|
+
|
|
395
|
+
rm -rf .venv-uv
|
|
396
|
+
uv venv --python "${{ matrix.python-version }}" .venv-uv
|
|
397
|
+
uv pip install --python .venv-uv/bin/python /tmp/wl-wheel/weightslab-*.whl --torch-backend cpu
|
|
398
|
+
|
|
399
|
+
.venv-uv/bin/python -c "
|
|
400
|
+
import os, weightslab, importlib.metadata as m
|
|
401
|
+
v = m.version('weightslab')
|
|
402
|
+
assert v == os.environ['WL_VERSION'], (v, os.environ['WL_VERSION'])
|
|
403
|
+
print('weightslab', v, 'import OK with uv on Python ${{ matrix.python-version }}')
|
|
404
|
+
"
|
|
405
|
+
|
|
322
406
|
# Only for a dev pre-release tag (off main, name contains 'dev').
|
|
323
407
|
create-dev-release:
|
|
324
408
|
name: Create GitHub Pre-Release
|
|
@@ -608,7 +692,24 @@ jobs:
|
|
|
608
692
|
- name: Install build tools
|
|
609
693
|
run: python -m pip install --upgrade pip build twine
|
|
610
694
|
|
|
695
|
+
# The packaged weightslab/VERSION states the version being published:
|
|
696
|
+
# the tag's own, PEP 440-normalized (v2.0.3 -> 2.0.3). The commit back to
|
|
697
|
+
# main/dev is sync-version-file's job, after the release.
|
|
698
|
+
#
|
|
699
|
+
# The build is then pinned to that same version. Writing the file dirties
|
|
700
|
+
# the checkout, and setuptools_scm's guess-next-dev turns a dirty tree at
|
|
701
|
+
# a tag into the NEXT dev version (2.0.4.dev0) instead of the tag's.
|
|
702
|
+
- name: Write weightslab/VERSION
|
|
703
|
+
id: release_version
|
|
704
|
+
run: |
|
|
705
|
+
VERSION="$(python -c 'import os; from packaging.version import Version; print(Version(os.environ["GITHUB_REF_NAME"]))')"
|
|
706
|
+
printf '%s\n' "${VERSION}" > weightslab/VERSION
|
|
707
|
+
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
|
708
|
+
echo "weightslab/VERSION -> ${VERSION}"
|
|
709
|
+
|
|
611
710
|
- name: Build distributions
|
|
711
|
+
env:
|
|
712
|
+
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WEIGHTSLAB: ${{ steps.release_version.outputs.version }}
|
|
612
713
|
run: python -m build
|
|
613
714
|
|
|
614
715
|
- name: Capture version from wheel
|
|
@@ -708,6 +809,70 @@ jobs:
|
|
|
708
809
|
print('installed version:', m.version('weightslab'))
|
|
709
810
|
"
|
|
710
811
|
|
|
812
|
+
# ── Same install test from PyPI, with uv (Main Release) ──────────────────
|
|
813
|
+
# Informational: the release does not wait for it. What a uv user runs:
|
|
814
|
+
# `uv pip install weightslab --torch-backend cpu` into a uv-created venv
|
|
815
|
+
# (no pip inside it), then `uvx weightslab`.
|
|
816
|
+
test-install-from-pip-main-uv:
|
|
817
|
+
name: Test Install From PyPI with uv — Python ${{ matrix.python-version }} (Main Release)
|
|
818
|
+
needs: build-and-publish-main
|
|
819
|
+
runs-on: ubuntu-latest
|
|
820
|
+
strategy:
|
|
821
|
+
fail-fast: false
|
|
822
|
+
matrix:
|
|
823
|
+
python-version: ['3.10', '3.11', '3.12', '3.13'] # same versions as the pip job
|
|
824
|
+
permissions:
|
|
825
|
+
contents: read
|
|
826
|
+
steps:
|
|
827
|
+
- uses: actions/setup-python@v6
|
|
828
|
+
with:
|
|
829
|
+
python-version: ${{ matrix.python-version }}
|
|
830
|
+
|
|
831
|
+
- name: Set up uv
|
|
832
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
833
|
+
|
|
834
|
+
- name: Install from PyPI with uv (wait until indexed) + verify import
|
|
835
|
+
uses: nick-fields/retry@v3
|
|
836
|
+
env:
|
|
837
|
+
WL_VERSION: ${{ needs.build-and-publish-main.outputs.published_version }}
|
|
838
|
+
with:
|
|
839
|
+
timeout_minutes: 15
|
|
840
|
+
max_attempts: 3
|
|
841
|
+
retry_on: any
|
|
842
|
+
shell: bash
|
|
843
|
+
command: |
|
|
844
|
+
if [ -z "${WL_VERSION}" ]; then
|
|
845
|
+
echo "Missing published_version from upstream job"; exit 1
|
|
846
|
+
fi
|
|
847
|
+
|
|
848
|
+
for attempt in $(seq 1 60); do
|
|
849
|
+
echo "Checking PyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
|
|
850
|
+
if python -m pip download \
|
|
851
|
+
--index-url https://pypi.org/simple/ \
|
|
852
|
+
--no-deps \
|
|
853
|
+
"weightslab==${WL_VERSION}" \
|
|
854
|
+
-d /tmp/wl-probe >/dev/null 2>&1; then
|
|
855
|
+
echo "Found weightslab==${WL_VERSION}"
|
|
856
|
+
break
|
|
857
|
+
fi
|
|
858
|
+
if [ "${attempt}" -eq 60 ]; then
|
|
859
|
+
echo "Timed out waiting for weightslab==${WL_VERSION} on PyPI"; exit 1
|
|
860
|
+
fi
|
|
861
|
+
sleep 7
|
|
862
|
+
done
|
|
863
|
+
|
|
864
|
+
rm -rf .venv-uv
|
|
865
|
+
uv venv --python "${{ matrix.python-version }}" .venv-uv
|
|
866
|
+
uv pip install --python .venv-uv/bin/python --refresh "weightslab==${WL_VERSION}" --torch-backend cpu
|
|
867
|
+
|
|
868
|
+
.venv-uv/bin/python -c "
|
|
869
|
+
import os, weightslab, importlib.metadata as m
|
|
870
|
+
v = m.version('weightslab')
|
|
871
|
+
assert v == os.environ['WL_VERSION'], (v, os.environ['WL_VERSION'])
|
|
872
|
+
print('weightslab', v, 'import OK with uv on Python ${{ matrix.python-version }}')
|
|
873
|
+
"
|
|
874
|
+
uvx --python "${{ matrix.python-version }}" --torch-backend cpu --refresh --from "weightslab==${WL_VERSION}" weightslab --help
|
|
875
|
+
|
|
711
876
|
create-main-release:
|
|
712
877
|
name: Create GitHub Release
|
|
713
878
|
needs: [test-install-from-pip-main]
|
|
@@ -931,3 +1096,95 @@ jobs:
|
|
|
931
1096
|
files: dist/*
|
|
932
1097
|
env:
|
|
933
1098
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
1099
|
+
|
|
1100
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
1101
|
+
# VERSION FILE SYNC — after either release, commit the tag's version into
|
|
1102
|
+
# weightslab/VERSION: on main AND dev for a main release, on dev only for a
|
|
1103
|
+
# dev release (a dev version never lands on main this way).
|
|
1104
|
+
# ═══════════════════════════════════════════════════════════════════════════
|
|
1105
|
+
# weightslab/VERSION is the last-resort source of weightslab.__version__ (and
|
|
1106
|
+
# so of the telemetry version): read only when there is no git metadata, no
|
|
1107
|
+
# setuptools_scm-built _version.py and no installed dist metadata. It never
|
|
1108
|
+
# overrides a git-derived version, so builds and checkouts are unaffected.
|
|
1109
|
+
#
|
|
1110
|
+
# main and dev both reject direct pushes (PR + status-check rulesets) unless
|
|
1111
|
+
# the pusher is a ruleset bypass actor, which GITHUB_TOKEN is not — hence
|
|
1112
|
+
# VERSION_SYNC_TOKEN: a token of a bypass actor with contents:write on this
|
|
1113
|
+
# repo. "[skip ci]" stops that push from re-triggering ci.yml/docs-pages.yml
|
|
1114
|
+
# (a PAT push triggers workflows, a GITHUB_TOKEN push would not), which would
|
|
1115
|
+
# otherwise run a TestPyPI publish for the push to main.
|
|
1116
|
+
sync-version-file:
|
|
1117
|
+
name: Sync weightslab/VERSION
|
|
1118
|
+
needs: [detect-target, create-dev-release, create-main-release]
|
|
1119
|
+
# !cancelled(): exactly one of the two release jobs is skipped on any tag.
|
|
1120
|
+
if: ${{ !cancelled() && (needs.create-main-release.result == 'success' || needs.create-dev-release.result == 'success') }}
|
|
1121
|
+
runs-on: ubuntu-latest
|
|
1122
|
+
permissions:
|
|
1123
|
+
contents: read
|
|
1124
|
+
steps:
|
|
1125
|
+
- name: Require the push token
|
|
1126
|
+
env:
|
|
1127
|
+
VERSION_SYNC_TOKEN: ${{ secrets.VERSION_SYNC_TOKEN }}
|
|
1128
|
+
run: |
|
|
1129
|
+
if [ -z "${VERSION_SYNC_TOKEN}" ]; then
|
|
1130
|
+
echo "::error::VERSION_SYNC_TOKEN is not set; main/dev reject pushes from GITHUB_TOKEN, so weightslab/VERSION was not updated for ${GITHUB_REF_NAME}. The release itself is published."
|
|
1131
|
+
exit 1
|
|
1132
|
+
fi
|
|
1133
|
+
|
|
1134
|
+
- uses: actions/setup-python@v6
|
|
1135
|
+
with:
|
|
1136
|
+
python-version: '3.11'
|
|
1137
|
+
|
|
1138
|
+
# PEP 440-normalized, so the file holds what a build of the tag reports:
|
|
1139
|
+
# v2.0.2 -> 2.0.2, v1.3.1-dev0 -> 1.3.1.dev0.
|
|
1140
|
+
- name: Compute version and target branches
|
|
1141
|
+
id: target
|
|
1142
|
+
env:
|
|
1143
|
+
IS_MAIN: ${{ needs.detect-target.outputs.is_main }}
|
|
1144
|
+
run: |
|
|
1145
|
+
set -euo pipefail
|
|
1146
|
+
python -m pip install --quiet packaging
|
|
1147
|
+
VERSION="$(python -c 'import os; from packaging.version import Version; print(Version(os.environ["GITHUB_REF_NAME"]))')"
|
|
1148
|
+
BRANCHES="dev"
|
|
1149
|
+
if [ "${IS_MAIN}" = "true" ]; then
|
|
1150
|
+
BRANCHES="main dev"
|
|
1151
|
+
fi
|
|
1152
|
+
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
|
1153
|
+
echo "branches=${BRANCHES}" >> $GITHUB_OUTPUT
|
|
1154
|
+
echo "Tag ${GITHUB_REF_NAME} -> weightslab/VERSION=${VERSION} on: ${BRANCHES}"
|
|
1155
|
+
|
|
1156
|
+
- uses: actions/checkout@v4
|
|
1157
|
+
with:
|
|
1158
|
+
token: ${{ secrets.VERSION_SYNC_TOKEN }}
|
|
1159
|
+
|
|
1160
|
+
# Each branch is rewritten from its fresh tip; a push rejected because the
|
|
1161
|
+
# branch moved meanwhile is retried on the new tip rather than rebased.
|
|
1162
|
+
- name: Commit weightslab/VERSION
|
|
1163
|
+
env:
|
|
1164
|
+
VERSION: ${{ steps.target.outputs.version }}
|
|
1165
|
+
BRANCHES: ${{ steps.target.outputs.branches }}
|
|
1166
|
+
run: |
|
|
1167
|
+
set -euo pipefail
|
|
1168
|
+
git config user.name "github-actions[bot]"
|
|
1169
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
1170
|
+
for BRANCH in ${BRANCHES}; do
|
|
1171
|
+
for attempt in 1 2 3; do
|
|
1172
|
+
git fetch --depth=1 origin "${BRANCH}"
|
|
1173
|
+
git checkout -q -B "${BRANCH}" FETCH_HEAD
|
|
1174
|
+
printf '%s\n' "${VERSION}" > weightslab/VERSION
|
|
1175
|
+
git add weightslab/VERSION
|
|
1176
|
+
if git diff --cached --quiet; then
|
|
1177
|
+
echo "${BRANCH}: weightslab/VERSION is already ${VERSION}"
|
|
1178
|
+
continue 2
|
|
1179
|
+
fi
|
|
1180
|
+
git commit -q -m "release: weightslab/VERSION -> ${VERSION} [skip ci]"
|
|
1181
|
+
if git push origin "HEAD:${BRANCH}"; then
|
|
1182
|
+
echo "${BRANCH}: weightslab/VERSION -> ${VERSION}"
|
|
1183
|
+
continue 2
|
|
1184
|
+
fi
|
|
1185
|
+
echo "Push to ${BRANCH} rejected (attempt ${attempt}/3); retrying on its new tip"
|
|
1186
|
+
sleep 5
|
|
1187
|
+
done
|
|
1188
|
+
echo "::error::Could not push weightslab/VERSION to ${BRANCH}"
|
|
1189
|
+
exit 1
|
|
1190
|
+
done
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
name: Docs What's New
|
|
2
|
+
|
|
3
|
+
# Regenerates docs/whats_new.rst from the GitHub releases
|
|
4
|
+
# (docs/_scripts/update_whats_new.py), commits it to main and dev, then
|
|
5
|
+
# redeploys the docs site.
|
|
6
|
+
#
|
|
7
|
+
# Triggers:
|
|
8
|
+
# - workflow_call: release.yml calls it once a stable release is published.
|
|
9
|
+
# That release is created with GITHUB_TOKEN, and events caused by
|
|
10
|
+
# GITHUB_TOKEN start no workflow, so the `release` trigger below never
|
|
11
|
+
# fires for it; hence the explicit call.
|
|
12
|
+
# - release published/edited by a person, e.g. release notes fixed in the
|
|
13
|
+
# GitHub UI. Pre-releases are skipped: the page lists stable releases only.
|
|
14
|
+
# - workflow_dispatch: by hand from the Actions tab.
|
|
15
|
+
#
|
|
16
|
+
# main and dev reject pushes from GITHUB_TOKEN (PR + status-check rulesets), so
|
|
17
|
+
# the commit is pushed with VERSION_SYNC_TOKEN (a ruleset bypass actor), the
|
|
18
|
+
# same token release.yml's sync-version-file job uses. "[skip ci]" keeps that
|
|
19
|
+
# push from starting ci.yml (a TestPyPI publish on main) and docs-pages.yml;
|
|
20
|
+
# the docs are redeployed explicitly instead, with a workflow_dispatch, which
|
|
21
|
+
# GITHUB_TOKEN is allowed to trigger.
|
|
22
|
+
|
|
23
|
+
on:
|
|
24
|
+
workflow_call:
|
|
25
|
+
workflow_dispatch:
|
|
26
|
+
release:
|
|
27
|
+
types: [published, edited]
|
|
28
|
+
|
|
29
|
+
permissions:
|
|
30
|
+
contents: read
|
|
31
|
+
actions: write
|
|
32
|
+
|
|
33
|
+
jobs:
|
|
34
|
+
update:
|
|
35
|
+
name: Regenerate What's New
|
|
36
|
+
if: ${{ github.event_name != 'release' || !github.event.release.prerelease }}
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
concurrency:
|
|
39
|
+
group: whats-new
|
|
40
|
+
cancel-in-progress: false
|
|
41
|
+
steps:
|
|
42
|
+
- name: Require the push token
|
|
43
|
+
env:
|
|
44
|
+
VERSION_SYNC_TOKEN: ${{ secrets.VERSION_SYNC_TOKEN }}
|
|
45
|
+
run: |
|
|
46
|
+
if [ -z "${VERSION_SYNC_TOKEN}" ]; then
|
|
47
|
+
echo "::error::VERSION_SYNC_TOKEN is not set; main/dev reject pushes from GITHUB_TOKEN, so docs/whats_new.rst cannot be committed."
|
|
48
|
+
exit 1
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
# refs/heads/ spelled out everywhere: the repo also has a tag named
|
|
52
|
+
# "main", which makes a bare "main" refspec ambiguous.
|
|
53
|
+
- uses: actions/checkout@v4
|
|
54
|
+
with:
|
|
55
|
+
ref: refs/heads/main
|
|
56
|
+
token: ${{ secrets.VERSION_SYNC_TOKEN }}
|
|
57
|
+
|
|
58
|
+
- uses: actions/setup-python@v6
|
|
59
|
+
with:
|
|
60
|
+
python-version: '3.11'
|
|
61
|
+
|
|
62
|
+
# Generated once, from main's copy of the script, then written to every
|
|
63
|
+
# branch. The script leaves the file untouched when only its
|
|
64
|
+
# "Last generated" date would change.
|
|
65
|
+
- name: Regenerate docs/whats_new.rst
|
|
66
|
+
env:
|
|
67
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
68
|
+
run: |
|
|
69
|
+
set -euo pipefail
|
|
70
|
+
python docs/_scripts/update_whats_new.py
|
|
71
|
+
cp docs/whats_new.rst "${RUNNER_TEMP}/whats_new.rst"
|
|
72
|
+
|
|
73
|
+
# Each branch is rewritten from its fresh tip; a push rejected because the
|
|
74
|
+
# branch moved meanwhile is retried on the new tip rather than rebased.
|
|
75
|
+
- name: Commit to main and dev
|
|
76
|
+
id: commit
|
|
77
|
+
env:
|
|
78
|
+
GENERATED: ${{ runner.temp }}/whats_new.rst
|
|
79
|
+
run: |
|
|
80
|
+
set -euo pipefail
|
|
81
|
+
git config user.name "github-actions[bot]"
|
|
82
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
83
|
+
without_date() { grep -v '^\.\. Last generated:' "$1" || true; }
|
|
84
|
+
PUSHED=false
|
|
85
|
+
for BRANCH in main dev; do
|
|
86
|
+
for attempt in 1 2 3; do
|
|
87
|
+
git fetch --depth=1 origin "refs/heads/${BRANCH}"
|
|
88
|
+
git checkout -q -B "${BRANCH}" FETCH_HEAD
|
|
89
|
+
if [ -f docs/whats_new.rst ] && \
|
|
90
|
+
[ "$(without_date docs/whats_new.rst)" = "$(without_date "${GENERATED}")" ]; then
|
|
91
|
+
echo "${BRANCH}: docs/whats_new.rst is up to date"
|
|
92
|
+
continue 2
|
|
93
|
+
fi
|
|
94
|
+
cp "${GENERATED}" docs/whats_new.rst
|
|
95
|
+
git add docs/whats_new.rst
|
|
96
|
+
git commit -q -m "docs: refresh What's New from the GitHub releases [skip ci]"
|
|
97
|
+
if git push origin "HEAD:refs/heads/${BRANCH}"; then
|
|
98
|
+
echo "${BRANCH}: docs/whats_new.rst updated"
|
|
99
|
+
PUSHED=true
|
|
100
|
+
continue 2
|
|
101
|
+
fi
|
|
102
|
+
echo "Push to ${BRANCH} rejected (attempt ${attempt}/3); retrying on its new tip"
|
|
103
|
+
sleep 5
|
|
104
|
+
done
|
|
105
|
+
echo "::error::Could not push docs/whats_new.rst to ${BRANCH}"
|
|
106
|
+
exit 1
|
|
107
|
+
done
|
|
108
|
+
echo "pushed=${PUSHED}" >> "$GITHUB_OUTPUT"
|
|
109
|
+
|
|
110
|
+
# docs-pages.yml builds every whitelisted branch and tag in one run
|
|
111
|
+
# (sphinx-multiversion), so a single dispatch refreshes main/latest and dev.
|
|
112
|
+
- name: Redeploy the docs
|
|
113
|
+
if: ${{ steps.commit.outputs.pushed == 'true' }}
|
|
114
|
+
env:
|
|
115
|
+
GH_TOKEN: ${{ github.token }}
|
|
116
|
+
run: gh workflow run docs-pages.yml --repo "${GITHUB_REPOSITORY}" --ref main
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
weightslab.egg-info
|
|
3
3
|
build
|
|
4
4
|
agents
|
|
5
|
+
my_experiment_directory
|
|
5
6
|
|
|
6
7
|
# UI dirs — built SPA artifacts, regenerated by `npm run build` / build:embed;
|
|
7
8
|
# never committed (the wheel embeds them at build time).
|
|
@@ -47,6 +48,10 @@ htmlcov-report
|
|
|
47
48
|
.env
|
|
48
49
|
|
|
49
50
|
# Ignore specific files
|
|
51
|
+
# uv's lockfile (written by `uv sync` / `uv lock`): CI and releases install with
|
|
52
|
+
# pip, so a committed lock would only drift. Commit it, and add `uv lock --check`
|
|
53
|
+
# to CI, if contributor environments should be pinned.
|
|
54
|
+
uv.lock
|
|
50
55
|
*.cache
|
|
51
56
|
experiment_service_pb2.py
|
|
52
57
|
experiment_service_pb2_grpc.py
|