weightslab 2.0.3__tar.gz → 2.0.5__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.5/.github/scripts/resolve_ui_ref.sh +106 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/.github/workflows/ci.yml +166 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/.github/workflows/docs-pages.yml +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/.github/workflows/release.yml +169 -13
- weightslab-2.0.5/.github/workflows/whats-new.yml +116 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/.gitignore +4 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/AGENTS.md +55 -16
- weightslab-2.0.5/CHANGELOG.md +2 -0
- weightslab-2.0.5/LICENSE +94 -0
- {weightslab-2.0.3/weightslab.egg-info → weightslab-2.0.5}/PKG-INFO +30 -12
- {weightslab-2.0.3 → weightslab-2.0.5}/README.md +28 -9
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_scripts/update_whats_new.py +77 -12
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/agent_quickstart.rst +3 -7
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/checkpointing.rst +87 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/configuration.rst +38 -6
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/data_exploration.rst +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/pytorch/classification.rst +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/pytorch/clustering.rst +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/pytorch/detection.rst +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/pytorch/fashion_mnist_umap.rst +1 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/pytorch/generation.rst +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/pytorch/segmentation.rst +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/ultralytics/detection.rst +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/usecases/lidar_detection.rst +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/four_way_approach.rst +3 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/hyperparameters.rst +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/logger.rst +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/model_interaction.rst +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/quickstart.rst +73 -11
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/ultralytics.rst +5 -9
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/user_commands.rst +12 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/user_functions.rst +31 -4
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_cli/cli_init.rst +5 -5
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/agent.rst +2 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/index.rst +15 -9
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/more/configuration.rst +5 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/more/deployment.rst +2 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/more/ports.rst +2 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/more/troubleshooting.rst +4 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/whats_new.rst +97 -41
- {weightslab-2.0.3 → weightslab-2.0.5}/pyproject.toml +28 -5
- weightslab-2.0.5/tests/components/test_checkpoint_keep_best.py +236 -0
- weightslab-2.0.5/tests/components/test_checkpoint_read_only.py +192 -0
- weightslab-2.0.5/tests/components/test_run_merge.py +819 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/conftest.py +20 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_data_samples_with_ops.py +28 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_data_utils_unit.py +26 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_dataframe_manager_unit.py +25 -0
- weightslab-2.0.5/tests/data/test_import_from_store_viewer.py +216 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_cli.py +70 -1
- weightslab-2.0.5/tests/general/test_license_metadata.py +47 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_data_service_discard_flag.py +22 -1
- weightslab-2.0.5/tests/trainer/services/test_data_service_new_loader.py +118 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_trainer_services_server.py +36 -3
- weightslab-2.0.5/tests/ui/test_embedded_ui.py +180 -0
- weightslab-2.0.5/tests/ui/test_ui_env_globals.py +50 -0
- weightslab-2.0.5/tests/ui/test_update_check.py +136 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/AGENTS.md +37 -11
- weightslab-2.0.5/weightslab/VERSION +1 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/__init__.py +5 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/_version.py +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/ledgers.py +13 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/logger.py +315 -31
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/model_interface.py +2 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/cli.py +38 -13
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/checkpoint_manager.py +832 -32
- weightslab-2.0.5/weightslab/components/checkpoint_retention.py +110 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/data_samples_with_ops.py +11 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/data_utils.py +24 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/dataframe_manager.py +168 -54
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/h5_dataframe_store.py +14 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Colab/wl-colab-quickstart.ipynb +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Local/wl-local-studio-quickstart.ipynb +4 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/wl-ads-recommendation.ipynb +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/wl-classification.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/wl-clustering.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/wl-detection.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/wl-fraud-detection.ipynb +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/wl-segmentation.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/ws-classification.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/ws-clustering.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/ws-detection.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/ws-generation.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/PyTorch/ws-segmentation.ipynb +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-brain-tumor-detection-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-construction-ppe-detection-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-crack-segmentation-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-homeobjects-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-kitti-detection-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-medical-pills-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-package-segmentation-dataset.ipynb +3 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Usecases/wl-segmentation-loss-shapes-classification.ipynb +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Notebooks/Usecases/ws-segmentation-loss-shapes-classification.ipynb +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/verify_integration.py +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-classification/config.yaml +4 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fashion-mnist-umap/main.py +2 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/verify_integration.py +1 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-standalone-config/main.py +6 -4
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-standalone-data/main.py +6 -4
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-standalone-logger/main.py +6 -4
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-standalone-model/main.py +6 -4
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-mnist-at-scale/main.py +4 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/proto/experiment_service.proto +45 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/proto/experiment_service_pb2.py +82 -70
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/proto/experiment_service_pb2_grpc.py +89 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/src.py +164 -25
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/data_service.py +40 -19
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/experiment_service.py +85 -1
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/trainer_services.py +12 -2
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/trainer_tools.py +13 -1
- weightslab-2.0.5/weightslab/ui/embedded.py +226 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/server.py +27 -1
- weightslab-2.0.3/weightslab/ui/static/assets/experiment_service-BRdd0mwF.js → weightslab-2.0.5/weightslab/ui/static/assets/experiment_service-CkcP3xDF.js +1 -1
- weightslab-2.0.5/weightslab/ui/static/assets/index-D5w7RfcG.css +1 -0
- weightslab-2.0.5/weightslab/ui/static/assets/index-DODdr9VR.js +5714 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/index.html +9 -2
- weightslab-2.0.5/weightslab/ui/update_check.py +115 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/active_experiment.py +14 -0
- {weightslab-2.0.3 → weightslab-2.0.5/weightslab.egg-info}/PKG-INFO +30 -12
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab.egg-info/SOURCES.txt +17 -3
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab.egg-info/scm_file_list.json +14 -0
- weightslab-2.0.3/CHANGELOG.md +0 -1
- weightslab-2.0.3/LICENSE +0 -201
- weightslab-2.0.3/weightslab/VERSION +0 -1
- weightslab-2.0.3/weightslab/ui/static/assets/index-ADuXdtYR.css +0 -1
- weightslab-2.0.3/weightslab/ui/static/assets/index-BpHyM2_d.js +0 -5544
- {weightslab-2.0.3 → weightslab-2.0.5}/.coverage +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/.gitattributes +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/agent_config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/.gitkeep +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/code-copy.js +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/custom.css +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/examples-gallery.js +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/favicon.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/github-stars.js +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/logo-dark.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/logo-light.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/agent-bar.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/agent-window.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/bottom-bar.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/data-grid.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/evaluate-popover.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/export-annotations.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/image-detail-modal.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/landing-page.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/left-panel-details.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/left-panel-hyperparameters.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/left-panel-tags-painter.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/left-panel-training.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/list-exploration.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/media-player.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/modal-overlays.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/mode-selector.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/notebook-panel.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/plot-error-band.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/plot-merge.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/plot-search.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/plots-board.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/pointcloud-viewer.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/projection-board.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/quick-filters.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/refresh-config.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/report-button.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/resource-signals.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/selection-context-menu.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/tagging-modal.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/screenshots/training-controls.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/version-switcher.js +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/weights_studio_architecture.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/wl-ribbon.js +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_static/wl-topnav.js +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_templates/.gitkeep +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/_templates/sidebar/brand.html +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/agent.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/build_docs.sh +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/conf.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/custom_evaluation.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/lightning/classification.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/lightning/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/pytorch/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/ultralytics/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/usecases/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/usecases/loss_shape_classification.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/usecases/model_signals.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/examples/usecases/projection_fashion_mnist.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/experiment_reports.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/export.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/grpc/audit_logger.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/grpc/grpc_functions.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/grpc/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/migration/from_3lc.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/migration/from_tensorboard.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/migration/from_voxel51.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/migration/from_wandb.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/migration/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/notebooks.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/perf/o_change_register.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/projection.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/pytorch_lightning.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/requirements.txt +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/resource_monitoring.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/segmentation_usecase.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/signal_trajectory_classification.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/usage/good_practice/data_and_loaders.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/usage/good_practice/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/usage/good_practice/signals.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/usage/good_practice/training_loop.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/usage/parameters.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/usage.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/usecases.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/agent.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/cli_console.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/configuration.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/data_board.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/deployment.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/detail_modal.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/header_bar.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/landing_page.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/left_panel.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/notebook.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/plots.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/ports.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/reports.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/resource_monitoring.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/security.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio/troubleshooting.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_cli/cli_console.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_cli/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/landing_page.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/left_panel.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/main_area.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/more/index.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/docs/weights_studio_ui/more/security.rst +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/opencode.json +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/resource_monitoring.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/scripts/ci/agent_smoke.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/setup.cfg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_audit_logger.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_cli.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_cli_additional_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_compare_dataloaders.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_data_loader_interface.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_export_annotations_api.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_h5_array_store_recovery.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_h5_whole_file_recovery.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_instance_signal_logger.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_ledgers.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_logger_core.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_logger_per_sample_state.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_logger_scale.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_model_interface_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_optimizer_interface.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_optimizer_interface_additional_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_overlapping_loader_loops.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_signal_outliers.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_tunnel.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_version.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_write_dataframe.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/backend/test_write_history.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/chaos_monkeys_utests/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/chaos_monkeys_utests/test_grpc_chaos_monkey_robustness.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/components/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/components/test_checkpoint_rewind.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/components/test_checkpoint_workflow.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/components/test_experiment_hash_and_art.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/components/test_global_monitoring_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_boolean_tag_registry.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_categorical_tags.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_data_service_metadata_copy.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_dataframe_data_invariants.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_dataframe_rewind.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_flush_pipeline.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_h5_array_store.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_h5_dataframe_store.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_point_cloud_utils.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_save_signals_e2e.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/data/test_video_utils.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/export/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/export/test_collect.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/export/test_exporter.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/export/test_formats.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/gRPC/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/gRPC/test_get_media.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/gRPC/test_get_point_cloud.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/gRPC/test_grpc_histogram_categorical.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/gRPC/test_grpc_tag_operations.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/gRPC/test_grpc_user_actions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_auditor_mode.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_cli_export.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_example_fashion_mnist_umap.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_four_way_standalone.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_hyperparams.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_model_signals.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_parametric_umap.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_projection_baseline_models.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_projection_colour_and_splits.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_projection_layer.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_projection_lifecycle.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_signal_refinements.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_signals.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/general/test_signals_wrapping.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/integrations/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/integrations/test_pytorch_lightning_integration.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/integrations/ultralytics/ddp/ddp_ablation.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/integrations/ultralytics/ddp/ddp_test_suite.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/test_constraint_generation.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/test_dependency_patterns.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/test_logger.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/test_model_graph_api.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/test_model_with_ops.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/test_model_with_ops_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/model/test_tracking.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/modules/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/modules/test_modules_with_ops.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/monitoring/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/monitoring/test_resource_monitor.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_agent_cli.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_agent_networking.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_default_eval_contract.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_default_eval_device.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_opencode_binary.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_opencode_process.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_opencode_rendezvous.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_opencode_shared_server_integration.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_report_entrypoints.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_reporting.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_reporting_media.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_secure_communication.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/test_src_functions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_agent_live_prompt_evaluation.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_agent_model_and_safety_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_agent_opencode_provider.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_agent_prompt_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_agent_service_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_data_service_sample_id_query.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_data_service_step_snapshot.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_data_service_tabular_task_type.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_data_service_text_predictions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_notebook_pauses_training.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_notebook_service_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_opencode_chat.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_signal_trajectory.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/services/test_trainer_services_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/trainer/test_trainer_tools.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/fake_opencode.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_agent.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_data_query.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_experiment_reports.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_loop.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_opencode_wire.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_shared_model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_shutdown_signals.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/ui/test_server_tracked_processes.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_computational_graph_utils_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_logs_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_modules_dependencies_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_plot_graph_render_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_plot_graph_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_shape_prop_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_telemetry.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_tqdm_logging_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/utils/test_utils_tools_unit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/watchdog/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/watchdog/test_lock_monitor.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/tests/watchdog/test_watchdog.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/art.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/assets/chart.umd.min.js +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/assets/icon.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/assets/logo-dark.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/assets/logo.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/audit_logger.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/cli.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/dataloader_interface.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/backend/optimizer_interface.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/evaluation_controller.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/experiment_hash.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/experiment_naming.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/global_monitoring.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/model_signals.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/parallel_primitives.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/components/tracking.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/array_proxy.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/h5_array_store.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/h5_recovery.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/media_store.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/point_cloud_utils.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/sample_stats.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/data/video_utils.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Lightning/wl-classification/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Lightning/wl-classification/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/test_ads_recommendation.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-classification/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-clustering/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-clustering/face/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-clustering/face/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-clustering/face/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-clustering/face/signals.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-clustering/face/utils.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-clustering/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection/utils/criterions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection-relabeling/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection-relabeling/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection-relabeling/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-detection-relabeling/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fashion-mnist-umap/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/test_fraud_detection.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/utils/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/utils/kaggle_data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-fraud-detection/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-image-generation/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-image-generation/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-model-editing/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/common.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/probe_full_vit.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/run_all.sh +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/run_head_experiment.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/setup.sh +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0000f77c-6257be58.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/000f8d37-d4c09a0f.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00a0f008-a315437f.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c12bd0-bb46e479.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c29c52-f9524f1e.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00ce6f6d-50bbee62.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d1bafa-1b47b41c.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d7268f-fd4487be.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00f0dd0f-5e9c9557.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a0d7f4c-ac5c3c8f.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a1f4fce-f9cac880.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a3bb2d8-c195d91e.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1cac6a7-04e33135.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ceb32e-3f481b43.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d10d08-5b108225.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d22449-15fb948f.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d7b3ac-5af8623b.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1dce572-c6a8cb5e.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e1a7b8-0aec80e8.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e8ad72-c3c79240.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ee702d-0ae1fc10.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1f0efd9-37a14dda.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2a0648b-d8e126bc.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2b70230-bad4ff6e.jpg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0000f77c-6257be58.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/000f8d37-d4c09a0f.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00a0f008-a315437f.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c12bd0-bb46e479.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c29c52-f9524f1e.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00ce6f6d-50bbee62.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d1bafa-1b47b41c.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d7268f-fd4487be.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00f0dd0f-5e9c9557.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a0d7f4c-ac5c3c8f.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a1f4fce-f9cac880.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a3bb2d8-c195d91e.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1cac6a7-04e33135.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ceb32e-3f481b43.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d10d08-5b108225.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d22449-15fb948f.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d7b3ac-5af8623b.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1dce572-c6a8cb5e.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e1a7b8-0aec80e8.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e8ad72-c3c79240.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ee702d-0ae1fc10.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1f0efd9-37a14dda.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2a0648b-d8e126bc.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2b70230-bad4ff6e.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/utils/criterions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-segmentation/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-standalone-config/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-video-generation/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-video-generation/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-video-generation/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-video-generation/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/PyTorch/wl-video-generation/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Ultralytics/wl-detection/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Ultralytics/wl-detection/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-2d-lidar-detection/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-2d-lidar-detection/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-2d-lidar-detection/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-3d-lidar-detection/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-3d-lidar-detection/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-3d-lidar-detection/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/kitti_download.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/data.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/model.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/signals.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/projection_notebook.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-fashion-mnist-signals/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-fashion-mnist-signals/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-fashion-mnist-umap/config.yaml +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-fashion-mnist-umap/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/wl-parametric-umap/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/Usecases/ws-signals-mnist/main.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/utils/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/utils/baseline_models/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/utils/baseline_models/pytorch/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/examples/utils/baseline_models/pytorch/models.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/collect.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/exporter.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/formats/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/formats/cvat.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/formats/label_studio.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/formats/v7_darwin.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/export/models.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/ultralytics/README.md +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/ultralytics/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/ultralytics/_utils.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/ultralytics/collate.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/ultralytics/dataset.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/ultralytics/signals.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/integrations/ultralytics/trainer.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/models/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/models/model_with_ops.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/models/monkey_patcher.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/modules/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/modules/modules_with_ops.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/modules/neuron_ops.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/monitoring/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/monitoring/resource_monitor.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/opencode.json +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/opencode_binary.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/opencode_process.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/projection/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/projection/custom.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/projection/parametric_umap.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/projection/registry.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/projection/snapshots.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/proto/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/reporting.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/security/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/security/cert_auth_manager.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/experiment_context.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/agent.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/agent_overview/agent.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/agent_overview/query_example.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/agent_overview/schema.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/intent_prompt.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/notebook_prompt.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/opencode_chat.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent/report_prompt.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/agent_service.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/data_image_utils.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/instance_merger.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/model_service.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/notebook_service.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/projection_service.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/utils/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/trainer/services/utils/tools.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/tunnel.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/assets/favicon-BtmqMp0p.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/images/darkmode/logo.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/images/darkmode/logo.svg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/images/favicon.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/images/lightmode/logo.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/images/lightmode/logo.svg +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/static/images/logo.png +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/utils/generate-certs-auth-token.ps1 +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/utils/generate-certs-auth-token.sh +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/ui/utils/sync-frontend.sh +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/computational_graph.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/logs.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/modules_dependencies.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/plot_graph.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/shape_prop.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/telemetry.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/tools.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/utils/tqdm_logging.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/watchdog/__init__.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/watchdog/grpc_watchdog.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/watchdog/lock_monitor.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/watchdog/log_level.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab/watchdog/watchdog.py +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab.egg-info/dependency_links.txt +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab.egg-info/entry_points.txt +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab.egg-info/requires.txt +0 -0
- {weightslab-2.0.3 → weightslab-2.0.5}/weightslab.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Which weights_studio branch a release vendors as its UI, in this order:
|
|
3
|
+
#
|
|
4
|
+
# 1. "@<branch>" in the tag's message (annotated tag) or in the tagged
|
|
5
|
+
# commit's message -- e.g. "2.0.5 pre-release @feature/foo" -- when
|
|
6
|
+
# weights_studio has that branch;
|
|
7
|
+
# 2. the weights_studio branch named like the weightslab branch the tag sits
|
|
8
|
+
# on, i.e. a branch whose tip is the tagged commit (a dev tag prefers a
|
|
9
|
+
# specific branch over dev/main; a release tag is on main, main first);
|
|
10
|
+
# 3. otherwise the default: dev for a dev tag, main for a release tag.
|
|
11
|
+
#
|
|
12
|
+
# A "@name" that is no weights_studio branch (a person's handle, a typo) is
|
|
13
|
+
# skipped with a note, never an error.
|
|
14
|
+
#
|
|
15
|
+
# Usage: resolve_ui_ref.sh <weights_studio clone url> <default ref>
|
|
16
|
+
# Prints the chosen branch on stdout; the reasoning goes to stderr (job log).
|
|
17
|
+
set -euo pipefail
|
|
18
|
+
|
|
19
|
+
CLONE_URL="$1"
|
|
20
|
+
DEFAULT_REF="$2"
|
|
21
|
+
TAG="${GITHUB_REF_NAME:-}"
|
|
22
|
+
|
|
23
|
+
log() { echo "$*" >&2; }
|
|
24
|
+
|
|
25
|
+
# weights_studio's branches, listed once. Retried, and fatal when it keeps
|
|
26
|
+
# failing: a network blip must not silently ship a different UI.
|
|
27
|
+
#
|
|
28
|
+
# Listed from OUTSIDE the weightslab checkout: actions/checkout stores this
|
|
29
|
+
# repo's GITHUB_TOKEN as an http extraheader in the checkout's local git
|
|
30
|
+
# config, and inside it that header replaces the weights_studio token in
|
|
31
|
+
# CLONE_URL -- GitHub then answers "Repository not found" for the private
|
|
32
|
+
# repo. (git clone is unaffected: it does not read the current repo's config.)
|
|
33
|
+
LISTING_DIR="${RUNNER_TEMP:-/tmp}"
|
|
34
|
+
heads=""
|
|
35
|
+
for attempt in 1 2 3; do
|
|
36
|
+
if heads="$(cd "${LISTING_DIR}" && git ls-remote --heads "${CLONE_URL}")" && [ -n "${heads}" ]; then
|
|
37
|
+
break
|
|
38
|
+
fi
|
|
39
|
+
heads=""
|
|
40
|
+
log "Listing weights_studio branches failed (attempt ${attempt}/3)"
|
|
41
|
+
sleep 5
|
|
42
|
+
done
|
|
43
|
+
if [ -z "${heads}" ]; then
|
|
44
|
+
log "::error::Could not list the weights_studio branches; not guessing which UI to ship."
|
|
45
|
+
exit 1
|
|
46
|
+
fi
|
|
47
|
+
ws_branches="$(printf '%s\n' "${heads}" | sed -n 's#^[0-9a-f]*[[:space:]]*refs/heads/##p')"
|
|
48
|
+
ws_has() { printf '%s\n' "${ws_branches}" | grep -Fxq -- "$1"; }
|
|
49
|
+
|
|
50
|
+
# actions/checkout fetches a pushed tag as a lightweight ref, without its
|
|
51
|
+
# message (the v2.0.5.dev0 run never saw its "@v2.0.5--fx"). Fetch the tag
|
|
52
|
+
# object itself so an annotated tag's message can name the branch.
|
|
53
|
+
if [ -n "${TAG}" ]; then
|
|
54
|
+
git fetch --quiet --no-tags origin "+refs/tags/${TAG}:refs/tags/${TAG}" \
|
|
55
|
+
|| log "Could not fetch the tag ${TAG}; reading the local tag and the commit message"
|
|
56
|
+
fi
|
|
57
|
+
|
|
58
|
+
if [ -n "${TAG}" ] && git rev-parse -q --verify "refs/tags/${TAG}" >/dev/null; then
|
|
59
|
+
TAG_COMMIT="$(git rev-list -n 1 "refs/tags/${TAG}")"
|
|
60
|
+
else
|
|
61
|
+
TAG_COMMIT="$(git rev-parse HEAD)"
|
|
62
|
+
fi
|
|
63
|
+
|
|
64
|
+
# 1. "@branch" in the tag message or the tagged commit's message.
|
|
65
|
+
messages="$(
|
|
66
|
+
{ [ -n "${TAG}" ] && git for-each-ref "refs/tags/${TAG}" --format='%(contents)'; } || true
|
|
67
|
+
git log -1 --format=%B "${TAG_COMMIT}"
|
|
68
|
+
)"
|
|
69
|
+
mentions="$(printf '%s\n' "${messages}" | grep -oE '(^|[[:space:]])@[A-Za-z0-9._/-]+' | sed -E 's/^[[:space:]]*@//' || true)"
|
|
70
|
+
for name in ${mentions}; do
|
|
71
|
+
for candidate in "${name}" "${name%.}"; do # "@feature/x." at the end of a sentence
|
|
72
|
+
if ws_has "${candidate}"; then
|
|
73
|
+
log "weights_studio ref: ${candidate} (\"@${candidate}\" in the tag/commit message)"
|
|
74
|
+
echo "${candidate}"
|
|
75
|
+
exit 0
|
|
76
|
+
fi
|
|
77
|
+
done
|
|
78
|
+
log "\"@${name}\" in the tag/commit message is no weights_studio branch; ignored"
|
|
79
|
+
done
|
|
80
|
+
|
|
81
|
+
# 2. The weights_studio branch named like the weightslab branch the tag is on.
|
|
82
|
+
git fetch --quiet --no-tags origin '+refs/heads/*:refs/remotes/origin/*' \
|
|
83
|
+
|| log "Could not refresh the weightslab branches; using what the checkout fetched"
|
|
84
|
+
here="$(git for-each-ref --points-at "${TAG_COMMIT}" --format='%(refname:lstrip=3)' refs/remotes/origin | grep -vx 'HEAD' || true)"
|
|
85
|
+
specific="$(printf '%s\n' "${here}" | grep -vxE 'main|dev' || true)"
|
|
86
|
+
on_main="$(printf '%s\n' "${here}" | grep -x 'main' || true)"
|
|
87
|
+
on_dev="$(printf '%s\n' "${here}" | grep -x 'dev' || true)"
|
|
88
|
+
if [ "${DEFAULT_REF}" = "main" ]; then
|
|
89
|
+
candidates="${on_main} ${specific} ${on_dev}"
|
|
90
|
+
else
|
|
91
|
+
candidates="${specific} ${on_dev} ${on_main}"
|
|
92
|
+
fi
|
|
93
|
+
for name in ${candidates}; do
|
|
94
|
+
if ws_has "${name}"; then
|
|
95
|
+
log "weights_studio ref: ${name} (same name as the weightslab branch the tag is on)"
|
|
96
|
+
echo "${name}"
|
|
97
|
+
exit 0
|
|
98
|
+
fi
|
|
99
|
+
done
|
|
100
|
+
if [ -n "${here// /}" ]; then
|
|
101
|
+
log "No weights_studio branch named like the weightslab branch(es) at the tag: $(echo ${here})"
|
|
102
|
+
fi
|
|
103
|
+
|
|
104
|
+
# 3. Default.
|
|
105
|
+
log "weights_studio ref: ${DEFAULT_REF} (default)"
|
|
106
|
+
echo "${DEFAULT_REF}"
|
|
@@ -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
|
+
"
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
id: check
|
|
32
32
|
run: |
|
|
33
33
|
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
|
|
34
|
-
git fetch origin main
|
|
34
|
+
git fetch origin +refs/heads/main:refs/remotes/origin/main
|
|
35
35
|
TAG_COMMIT="$(git rev-list -n 1 "${{ github.ref }}")"
|
|
36
36
|
IS_ON_MAIN=$(git merge-base --is-ancestor "${TAG_COMMIT}" origin/main \
|
|
37
37
|
&& echo "true" || echo "false")
|
|
@@ -52,7 +52,7 @@ jobs:
|
|
|
52
52
|
# dev-named tag is never a main release, no matter where it sits.
|
|
53
53
|
IS_MAIN=false
|
|
54
54
|
if [ "${IS_DEV_RELEASE}" != "true" ]; then
|
|
55
|
-
git fetch origin main
|
|
55
|
+
git fetch origin +refs/heads/main:refs/remotes/origin/main
|
|
56
56
|
TAG_COMMIT="$(git rev-list -n 1 "${GITHUB_REF}")"
|
|
57
57
|
if git merge-base --is-ancestor "${TAG_COMMIT}" origin/main; then
|
|
58
58
|
IS_MAIN=true
|
|
@@ -65,6 +65,15 @@ jobs:
|
|
|
65
65
|
else
|
|
66
66
|
SHOULD_RUN=false
|
|
67
67
|
fi
|
|
68
|
+
|
|
69
|
+
# A manual run (workflow_dispatch) on a branch has GITHUB_REF_NAME set
|
|
70
|
+
# to the branch name: on main it passed the ancestor check and
|
|
71
|
+
# published a GitHub release, and so a git tag, literally named "main"
|
|
72
|
+
# (2026-05-18), which later broke the VERSION sync. Only tags release.
|
|
73
|
+
if [[ "${GITHUB_REF}" != refs/tags/* ]]; then
|
|
74
|
+
SHOULD_RUN=false
|
|
75
|
+
echo "::warning::${GITHUB_REF} is not a tag; run this workflow from a v* tag to release."
|
|
76
|
+
fi
|
|
68
77
|
echo "should_run=${SHOULD_RUN}" >> $GITHUB_OUTPUT
|
|
69
78
|
|
|
70
79
|
echo "Tag: ${GITHUB_REF_NAME} is_main: ${IS_MAIN} dev_release: ${IS_DEV_RELEASE} should_run: ${SHOULD_RUN}"
|
|
@@ -146,21 +155,23 @@ jobs:
|
|
|
146
155
|
fi
|
|
147
156
|
CLONE_URL="https://x-access-token:${WEIGHTS_STUDIO_TOKEN}@github.com/GrayboxTech/weights_studio.git"
|
|
148
157
|
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
#
|
|
152
|
-
#
|
|
153
|
-
#
|
|
154
|
-
#
|
|
155
|
-
|
|
156
|
-
UI_REF="main"
|
|
158
|
+
# Which weights_studio branch to vendor (.github/scripts/resolve_ui_ref.sh):
|
|
159
|
+
# "@<branch>" in the tag or tagged commit's message, else the
|
|
160
|
+
# weights_studio branch named like the weightslab branch the tag
|
|
161
|
+
# is on, else the default -- dev for a dev tag, main otherwise.
|
|
162
|
+
# Deterministic from the tag (no guess from which branches contain
|
|
163
|
+
# the commit), and fatal if the branch list cannot be fetched.
|
|
164
|
+
DEFAULT_UI_REF="main"
|
|
157
165
|
if [ "${IS_DEV_RELEASE}" = "true" ]; then
|
|
158
|
-
|
|
166
|
+
DEFAULT_UI_REF="dev"
|
|
159
167
|
fi
|
|
168
|
+
UI_REF="$(bash .github/scripts/resolve_ui_ref.sh "${CLONE_URL}" "${DEFAULT_UI_REF}")"
|
|
160
169
|
echo "Using weights_studio ref: ${UI_REF}"
|
|
161
170
|
|
|
162
171
|
rm -rf /tmp/weights_studio
|
|
163
172
|
git clone --depth 1 --branch "${UI_REF}" "${CLONE_URL}" /tmp/weights_studio
|
|
173
|
+
UI_SHA="$(git -C /tmp/weights_studio rev-parse --short HEAD)"
|
|
174
|
+
echo "Weights Studio UI: \`${UI_REF}\` @ \`${UI_SHA}\`" >> "${GITHUB_STEP_SUMMARY}"
|
|
164
175
|
|
|
165
176
|
pushd /tmp/weights_studio >/dev/null
|
|
166
177
|
npm ci
|
|
@@ -329,6 +340,80 @@ jobs:
|
|
|
329
340
|
print('installed version:', m.version('weightslab'))
|
|
330
341
|
"
|
|
331
342
|
|
|
343
|
+
# ── Same install test from TestPyPI, with uv (Dev Release) ───────────────
|
|
344
|
+
# Informational: the pre-release does not wait for it. The wheel comes from
|
|
345
|
+
# TestPyPI and its dependencies from PyPI: with uv, never pass TestPyPI as
|
|
346
|
+
# --index-url plus PyPI as --extra-index-url (uv takes each package from the
|
|
347
|
+
# first index that has it, and TestPyPI holds stale copies of common
|
|
348
|
+
# packages). The CPU torch build comes from --torch-backend.
|
|
349
|
+
test-install-from-pip-dev-release-uv:
|
|
350
|
+
name: Test Install From TestPyPI with uv — Python ${{ matrix.python-version }} (Dev Release)
|
|
351
|
+
needs: build-and-publish-dev-release
|
|
352
|
+
runs-on: ubuntu-latest
|
|
353
|
+
strategy:
|
|
354
|
+
fail-fast: false
|
|
355
|
+
matrix:
|
|
356
|
+
include:
|
|
357
|
+
- python-version: '3.10'
|
|
358
|
+
- python-version: '3.11'
|
|
359
|
+
- python-version: '3.12'
|
|
360
|
+
- python-version: '3.13'
|
|
361
|
+
- python-version: '3.14'
|
|
362
|
+
allow-prereleases: true
|
|
363
|
+
continue-on-error: ${{ matrix.allow-prereleases == true }}
|
|
364
|
+
permissions:
|
|
365
|
+
contents: read
|
|
366
|
+
steps:
|
|
367
|
+
- uses: actions/setup-python@v6
|
|
368
|
+
with:
|
|
369
|
+
python-version: ${{ matrix.python-version }}
|
|
370
|
+
allow-prereleases: ${{ matrix.allow-prereleases || false }}
|
|
371
|
+
|
|
372
|
+
- name: Set up uv
|
|
373
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
374
|
+
|
|
375
|
+
- name: Install from TestPyPI with uv (wait until indexed) + verify import
|
|
376
|
+
uses: nick-fields/retry@v3
|
|
377
|
+
env:
|
|
378
|
+
WL_VERSION: ${{ needs.build-and-publish-dev-release.outputs.published_version }}
|
|
379
|
+
with:
|
|
380
|
+
timeout_minutes: 15
|
|
381
|
+
max_attempts: 3
|
|
382
|
+
retry_on: any
|
|
383
|
+
shell: bash
|
|
384
|
+
command: |
|
|
385
|
+
if [ -z "${WL_VERSION}" ]; then
|
|
386
|
+
echo "Missing published_version from upstream job"; exit 1
|
|
387
|
+
fi
|
|
388
|
+
|
|
389
|
+
rm -rf /tmp/wl-wheel
|
|
390
|
+
for attempt in $(seq 1 60); do
|
|
391
|
+
echo "Checking TestPyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
|
|
392
|
+
if python -m pip download \
|
|
393
|
+
--index-url https://test.pypi.org/simple/ \
|
|
394
|
+
--no-deps --only-binary :all: \
|
|
395
|
+
"weightslab==${WL_VERSION}" \
|
|
396
|
+
-d /tmp/wl-wheel >/dev/null 2>&1; then
|
|
397
|
+
echo "Found weightslab==${WL_VERSION}"
|
|
398
|
+
break
|
|
399
|
+
fi
|
|
400
|
+
if [ "${attempt}" -eq 60 ]; then
|
|
401
|
+
echo "Timed out waiting for weightslab==${WL_VERSION} on TestPyPI"; exit 1
|
|
402
|
+
fi
|
|
403
|
+
sleep 7
|
|
404
|
+
done
|
|
405
|
+
|
|
406
|
+
rm -rf .venv-uv
|
|
407
|
+
uv venv --python "${{ matrix.python-version }}" .venv-uv
|
|
408
|
+
uv pip install --python .venv-uv/bin/python /tmp/wl-wheel/weightslab-*.whl --torch-backend cpu
|
|
409
|
+
|
|
410
|
+
.venv-uv/bin/python -c "
|
|
411
|
+
import os, weightslab, importlib.metadata as m
|
|
412
|
+
v = m.version('weightslab')
|
|
413
|
+
assert v == os.environ['WL_VERSION'], (v, os.environ['WL_VERSION'])
|
|
414
|
+
print('weightslab', v, 'import OK with uv on Python ${{ matrix.python-version }}')
|
|
415
|
+
"
|
|
416
|
+
|
|
332
417
|
# Only for a dev pre-release tag (off main, name contains 'dev').
|
|
333
418
|
create-dev-release:
|
|
334
419
|
name: Create GitHub Pre-Release
|
|
@@ -597,11 +682,15 @@ jobs:
|
|
|
597
682
|
exit 1
|
|
598
683
|
fi
|
|
599
684
|
CLONE_URL="https://x-access-token:${WEIGHTS_STUDIO_TOKEN}@github.com/GrayboxTech/weights_studio.git"
|
|
600
|
-
|
|
685
|
+
# Same rules as the dev release (.github/scripts/resolve_ui_ref.sh).
|
|
686
|
+
# A release tag is on main, so without an "@<branch>" this is main.
|
|
687
|
+
UI_REF="$(bash .github/scripts/resolve_ui_ref.sh "${CLONE_URL}" main)"
|
|
601
688
|
echo "Using weights_studio ref: ${UI_REF}"
|
|
602
689
|
|
|
603
690
|
rm -rf /tmp/weights_studio
|
|
604
691
|
git clone --depth 1 --branch "${UI_REF}" "${CLONE_URL}" /tmp/weights_studio
|
|
692
|
+
UI_SHA="$(git -C /tmp/weights_studio rev-parse --short HEAD)"
|
|
693
|
+
echo "Weights Studio UI: \`${UI_REF}\` @ \`${UI_SHA}\`" >> "${GITHUB_STEP_SUMMARY}"
|
|
605
694
|
|
|
606
695
|
pushd /tmp/weights_studio >/dev/null
|
|
607
696
|
npm ci
|
|
@@ -735,6 +824,70 @@ jobs:
|
|
|
735
824
|
print('installed version:', m.version('weightslab'))
|
|
736
825
|
"
|
|
737
826
|
|
|
827
|
+
# ── Same install test from PyPI, with uv (Main Release) ──────────────────
|
|
828
|
+
# Informational: the release does not wait for it. What a uv user runs:
|
|
829
|
+
# `uv pip install weightslab --torch-backend cpu` into a uv-created venv
|
|
830
|
+
# (no pip inside it), then `uvx weightslab`.
|
|
831
|
+
test-install-from-pip-main-uv:
|
|
832
|
+
name: Test Install From PyPI with uv — Python ${{ matrix.python-version }} (Main Release)
|
|
833
|
+
needs: build-and-publish-main
|
|
834
|
+
runs-on: ubuntu-latest
|
|
835
|
+
strategy:
|
|
836
|
+
fail-fast: false
|
|
837
|
+
matrix:
|
|
838
|
+
python-version: ['3.10', '3.11', '3.12', '3.13'] # same versions as the pip job
|
|
839
|
+
permissions:
|
|
840
|
+
contents: read
|
|
841
|
+
steps:
|
|
842
|
+
- uses: actions/setup-python@v6
|
|
843
|
+
with:
|
|
844
|
+
python-version: ${{ matrix.python-version }}
|
|
845
|
+
|
|
846
|
+
- name: Set up uv
|
|
847
|
+
uses: astral-sh/setup-uv@v10.3.3
|
|
848
|
+
|
|
849
|
+
- name: Install from PyPI with uv (wait until indexed) + verify import
|
|
850
|
+
uses: nick-fields/retry@v3
|
|
851
|
+
env:
|
|
852
|
+
WL_VERSION: ${{ needs.build-and-publish-main.outputs.published_version }}
|
|
853
|
+
with:
|
|
854
|
+
timeout_minutes: 15
|
|
855
|
+
max_attempts: 3
|
|
856
|
+
retry_on: any
|
|
857
|
+
shell: bash
|
|
858
|
+
command: |
|
|
859
|
+
if [ -z "${WL_VERSION}" ]; then
|
|
860
|
+
echo "Missing published_version from upstream job"; exit 1
|
|
861
|
+
fi
|
|
862
|
+
|
|
863
|
+
for attempt in $(seq 1 60); do
|
|
864
|
+
echo "Checking PyPI for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
|
|
865
|
+
if python -m pip download \
|
|
866
|
+
--index-url https://pypi.org/simple/ \
|
|
867
|
+
--no-deps \
|
|
868
|
+
"weightslab==${WL_VERSION}" \
|
|
869
|
+
-d /tmp/wl-probe >/dev/null 2>&1; then
|
|
870
|
+
echo "Found weightslab==${WL_VERSION}"
|
|
871
|
+
break
|
|
872
|
+
fi
|
|
873
|
+
if [ "${attempt}" -eq 60 ]; then
|
|
874
|
+
echo "Timed out waiting for weightslab==${WL_VERSION} on PyPI"; exit 1
|
|
875
|
+
fi
|
|
876
|
+
sleep 7
|
|
877
|
+
done
|
|
878
|
+
|
|
879
|
+
rm -rf .venv-uv
|
|
880
|
+
uv venv --python "${{ matrix.python-version }}" .venv-uv
|
|
881
|
+
uv pip install --python .venv-uv/bin/python --refresh "weightslab==${WL_VERSION}" --torch-backend cpu
|
|
882
|
+
|
|
883
|
+
.venv-uv/bin/python -c "
|
|
884
|
+
import os, weightslab, importlib.metadata as m
|
|
885
|
+
v = m.version('weightslab')
|
|
886
|
+
assert v == os.environ['WL_VERSION'], (v, os.environ['WL_VERSION'])
|
|
887
|
+
print('weightslab', v, 'import OK with uv on Python ${{ matrix.python-version }}')
|
|
888
|
+
"
|
|
889
|
+
uvx --python "${{ matrix.python-version }}" --torch-backend cpu --refresh --from "weightslab==${WL_VERSION}" weightslab --help
|
|
890
|
+
|
|
738
891
|
create-main-release:
|
|
739
892
|
name: Create GitHub Release
|
|
740
893
|
needs: [test-install-from-pip-main]
|
|
@@ -1031,7 +1184,10 @@ jobs:
|
|
|
1031
1184
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
1032
1185
|
for BRANCH in ${BRANCHES}; do
|
|
1033
1186
|
for attempt in 1 2 3; do
|
|
1034
|
-
|
|
1187
|
+
# Fully qualified refs: a bare "main" is ambiguous when a tag of the
|
|
1188
|
+
# same name exists (a stray "main" tag made git fetch the tag and
|
|
1189
|
+
# reject the push with "dst refspec main matches more than one").
|
|
1190
|
+
git fetch --depth=1 origin "refs/heads/${BRANCH}"
|
|
1035
1191
|
git checkout -q -B "${BRANCH}" FETCH_HEAD
|
|
1036
1192
|
printf '%s\n' "${VERSION}" > weightslab/VERSION
|
|
1037
1193
|
git add weightslab/VERSION
|
|
@@ -1040,7 +1196,7 @@ jobs:
|
|
|
1040
1196
|
continue 2
|
|
1041
1197
|
fi
|
|
1042
1198
|
git commit -q -m "release: weightslab/VERSION -> ${VERSION} [skip ci]"
|
|
1043
|
-
if git push origin "HEAD
|
|
1199
|
+
if git push origin "HEAD:refs/heads/${BRANCH}"; then
|
|
1044
1200
|
echo "${BRANCH}: weightslab/VERSION -> ${VERSION}"
|
|
1045
1201
|
continue 2
|
|
1046
1202
|
fi
|
|
@@ -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
|
|
@@ -48,6 +48,10 @@ htmlcov-report
|
|
|
48
48
|
.env
|
|
49
49
|
|
|
50
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
|
|
51
55
|
*.cache
|
|
52
56
|
experiment_service_pb2.py
|
|
53
57
|
experiment_service_pb2_grpc.py
|