weightslab 2.0.1__tar.gz → 2.0.3__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.3/.github/workflows/ci.yml +465 -0
- weightslab-2.0.3/.github/workflows/release.yml +1052 -0
- weightslab-2.0.3/.gitignore +94 -0
- weightslab-2.0.3/AGENTS.md +337 -0
- weightslab-2.0.3/CHANGELOG.md +1 -0
- weightslab-2.0.3/PKG-INFO +338 -0
- weightslab-2.0.3/README.md +274 -0
- weightslab-2.0.3/agent_config.yaml +32 -0
- weightslab-2.0.3/docs/_scripts/update_whats_new.py +283 -0
- weightslab-2.0.3/docs/_static/custom.css +868 -0
- weightslab-2.0.3/docs/_static/examples-gallery.js +249 -0
- weightslab-2.0.3/docs/_static/screenshots/README.md +17 -0
- weightslab-2.0.3/docs/_static/screenshots/projection-board.png +0 -0
- weightslab-2.0.3/docs/_static/wl-ribbon.js +76 -0
- weightslab-2.0.3/docs/agent.rst +606 -0
- weightslab-2.0.3/docs/agent_quickstart.rst +122 -0
- weightslab-2.0.3/docs/build_docs.sh +204 -0
- weightslab-2.0.3/docs/checkpointing.rst +239 -0
- weightslab-2.0.3/docs/configuration.rst +1317 -0
- weightslab-2.0.3/docs/custom_evaluation.rst +76 -0
- weightslab-2.0.3/docs/data_exploration.rst +121 -0
- weightslab-2.0.3/docs/examples/index.rst +21 -0
- weightslab-2.0.3/docs/examples/lightning/classification.rst +118 -0
- weightslab-2.0.3/docs/examples/pytorch/classification.rst +170 -0
- weightslab-2.0.3/docs/examples/pytorch/clustering.rst +106 -0
- weightslab-2.0.3/docs/examples/pytorch/detection.rst +138 -0
- weightslab-2.0.3/docs/examples/pytorch/fashion_mnist_umap.rst +169 -0
- weightslab-2.0.3/docs/examples/pytorch/generation.rst +112 -0
- weightslab-2.0.3/docs/examples/pytorch/index.rst +24 -0
- weightslab-2.0.3/docs/examples/pytorch/segmentation.rst +125 -0
- weightslab-2.0.3/docs/examples/ultralytics/detection.rst +227 -0
- weightslab-2.0.3/docs/examples/usecases/index.rst +23 -0
- weightslab-2.0.3/docs/examples/usecases/lidar_detection.rst +126 -0
- weightslab-2.0.3/docs/examples/usecases/loss_shape_classification.rst +181 -0
- weightslab-2.0.3/docs/examples/usecases/model_signals.rst +162 -0
- weightslab-2.0.3/docs/examples/usecases/projection_fashion_mnist.rst +95 -0
- weightslab-2.0.3/docs/experiment_reports.rst +333 -0
- weightslab-2.0.3/docs/export.rst +155 -0
- weightslab-2.0.3/docs/four_way_approach.rst +148 -0
- weightslab-2.0.3/docs/grpc/audit_logger.rst +413 -0
- weightslab-2.0.3/docs/hyperparameters.rst +140 -0
- weightslab-2.0.3/docs/index.rst +183 -0
- weightslab-2.0.3/docs/logger.rst +191 -0
- weightslab-2.0.3/docs/migration/from_3lc.rst +196 -0
- weightslab-2.0.3/docs/migration/from_tensorboard.rst +176 -0
- weightslab-2.0.3/docs/migration/from_voxel51.rst +197 -0
- weightslab-2.0.3/docs/migration/from_wandb.rst +193 -0
- weightslab-2.0.3/docs/migration/index.rst +70 -0
- weightslab-2.0.3/docs/model_interaction.rst +353 -0
- weightslab-2.0.3/docs/notebooks.rst +95 -0
- weightslab-2.0.3/docs/perf/o_change_register.md +170 -0
- weightslab-2.0.3/docs/projection.rst +465 -0
- weightslab-2.0.3/docs/pytorch_lightning.rst +148 -0
- weightslab-2.0.3/docs/quickstart.rst +495 -0
- weightslab-2.0.3/docs/resource_monitoring.rst +196 -0
- weightslab-2.0.3/docs/segmentation_usecase.rst +210 -0
- weightslab-2.0.3/docs/signal_trajectory_classification.rst +150 -0
- weightslab-2.0.3/docs/ultralytics.rst +222 -0
- weightslab-2.0.3/docs/usage/good_practice/data_and_loaders.rst +133 -0
- weightslab-2.0.3/docs/usage/good_practice/index.rst +24 -0
- weightslab-2.0.3/docs/usage/good_practice/signals.rst +66 -0
- weightslab-2.0.3/docs/usage/good_practice/training_loop.rst +61 -0
- weightslab-2.0.3/docs/usage/parameters.rst +507 -0
- weightslab-2.0.3/docs/usecases.rst +161 -0
- weightslab-2.0.3/docs/user_commands.rst +370 -0
- weightslab-2.0.3/docs/user_functions.rst +2317 -0
- weightslab-2.0.3/docs/weights_studio/agent.rst +115 -0
- weightslab-2.0.3/docs/weights_studio/cli_console.rst +42 -0
- weightslab-2.0.3/docs/weights_studio/configuration.rst +78 -0
- weightslab-2.0.3/docs/weights_studio/data_board.rst +96 -0
- weightslab-2.0.3/docs/weights_studio/deployment.rst +72 -0
- weightslab-2.0.3/docs/weights_studio/detail_modal.rst +56 -0
- weightslab-2.0.3/docs/weights_studio/header_bar.rst +92 -0
- weightslab-2.0.3/docs/weights_studio/index.rst +103 -0
- weightslab-2.0.3/docs/weights_studio/landing_page.rst +29 -0
- weightslab-2.0.3/docs/weights_studio/left_panel.rst +84 -0
- weightslab-2.0.3/docs/weights_studio/notebook.rst +167 -0
- weightslab-2.0.3/docs/weights_studio/plots.rst +69 -0
- weightslab-2.0.3/docs/weights_studio/ports.rst +243 -0
- weightslab-2.0.3/docs/weights_studio/reports.rst +72 -0
- weightslab-2.0.3/docs/weights_studio/resource_monitoring.rst +140 -0
- weightslab-2.0.3/docs/weights_studio/security.rst +59 -0
- weightslab-2.0.3/docs/weights_studio/troubleshooting.rst +17 -0
- weightslab-2.0.3/docs/weights_studio_cli/cli_console.rst +207 -0
- weightslab-2.0.3/docs/weights_studio_cli/cli_init.rst +90 -0
- weightslab-2.0.3/docs/weights_studio_cli/index.rst +58 -0
- weightslab-2.0.3/docs/weights_studio_ui/agent.rst +115 -0
- weightslab-2.0.3/docs/weights_studio_ui/index.rst +84 -0
- weightslab-2.0.3/docs/weights_studio_ui/landing_page.rst +253 -0
- weightslab-2.0.3/docs/weights_studio_ui/left_panel.rst +175 -0
- weightslab-2.0.3/docs/weights_studio_ui/main_area.rst +532 -0
- weightslab-2.0.3/docs/weights_studio_ui/more/configuration.rst +78 -0
- weightslab-2.0.3/docs/weights_studio_ui/more/deployment.rst +72 -0
- weightslab-2.0.3/docs/weights_studio_ui/more/index.rst +28 -0
- weightslab-2.0.3/docs/weights_studio_ui/more/ports.rst +243 -0
- weightslab-2.0.3/docs/weights_studio_ui/more/security.rst +59 -0
- weightslab-2.0.3/docs/weights_studio_ui/more/troubleshooting.rst +17 -0
- weightslab-2.0.3/docs/whats_new.rst +315 -0
- weightslab-2.0.3/opencode.json +8 -0
- weightslab-2.0.3/pyproject.toml +218 -0
- weightslab-2.0.3/tests/backend/test_cli.py +611 -0
- weightslab-2.0.3/tests/backend/test_data_loader_interface.py +585 -0
- weightslab-2.0.3/tests/backend/test_h5_array_store_recovery.py +120 -0
- weightslab-2.0.3/tests/backend/test_h5_whole_file_recovery.py +205 -0
- weightslab-2.0.3/tests/backend/test_ledgers.py +742 -0
- weightslab-2.0.3/tests/backend/test_logger_per_sample_state.py +144 -0
- weightslab-2.0.3/tests/backend/test_logger_scale.py +562 -0
- weightslab-2.0.3/tests/backend/test_overlapping_loader_loops.py +65 -0
- weightslab-2.0.3/tests/backend/test_version.py +48 -0
- weightslab-2.0.3/tests/backend/test_write_dataframe.py +354 -0
- weightslab-2.0.3/tests/components/test_checkpoint_rewind.py +137 -0
- weightslab-2.0.3/tests/components/test_checkpoint_workflow.py +1999 -0
- weightslab-2.0.3/tests/components/test_experiment_hash_and_art.py +112 -0
- weightslab-2.0.3/tests/components/test_global_monitoring_unit.py +115 -0
- weightslab-2.0.3/tests/conftest.py +102 -0
- weightslab-2.0.3/tests/data/test_boolean_tag_registry.py +83 -0
- weightslab-2.0.3/tests/data/test_categorical_tags.py +168 -0
- weightslab-2.0.3/tests/data/test_data_samples_with_ops.py +783 -0
- weightslab-2.0.3/tests/data/test_data_service_metadata_copy.py +97 -0
- weightslab-2.0.3/tests/data/test_data_utils_unit.py +117 -0
- weightslab-2.0.3/tests/data/test_dataframe_data_invariants.py +243 -0
- weightslab-2.0.3/tests/data/test_dataframe_manager_unit.py +541 -0
- weightslab-2.0.3/tests/data/test_dataframe_rewind.py +173 -0
- weightslab-2.0.3/tests/data/test_flush_pipeline.py +276 -0
- weightslab-2.0.3/tests/data/test_h5_array_store.py +216 -0
- weightslab-2.0.3/tests/data/test_h5_dataframe_store.py +243 -0
- weightslab-2.0.3/tests/data/test_point_cloud_utils.py +330 -0
- weightslab-2.0.3/tests/data/test_save_signals_e2e.py +213 -0
- weightslab-2.0.3/tests/data/test_video_utils.py +449 -0
- weightslab-2.0.3/tests/gRPC/test_get_media.py +477 -0
- weightslab-2.0.3/tests/general/test_cli.py +596 -0
- weightslab-2.0.3/tests/general/test_example_fashion_mnist_umap.py +499 -0
- weightslab-2.0.3/tests/general/test_four_way_standalone.py +606 -0
- weightslab-2.0.3/tests/general/test_parametric_umap.py +1574 -0
- weightslab-2.0.3/tests/general/test_projection_baseline_models.py +222 -0
- weightslab-2.0.3/tests/general/test_projection_colour_and_splits.py +319 -0
- weightslab-2.0.3/tests/general/test_projection_layer.py +364 -0
- weightslab-2.0.3/tests/general/test_projection_lifecycle.py +1337 -0
- weightslab-2.0.3/tests/model/test_model_graph_api.py +117 -0
- weightslab-2.0.3/tests/test_default_eval_contract.py +132 -0
- weightslab-2.0.3/tests/test_default_eval_device.py +84 -0
- weightslab-2.0.3/tests/test_opencode_binary.py +265 -0
- weightslab-2.0.3/tests/test_opencode_rendezvous.py +100 -0
- weightslab-2.0.3/tests/test_secure_communication.py +190 -0
- weightslab-2.0.3/tests/test_src_functions.py +444 -0
- weightslab-2.0.3/tests/trainer/services/test_agent_opencode_provider.py +565 -0
- weightslab-2.0.3/tests/trainer/services/test_agent_service_unit.py +257 -0
- weightslab-2.0.3/tests/trainer/services/test_data_service_discard_flag.py +308 -0
- weightslab-2.0.3/tests/trainer/services/test_notebook_pauses_training.py +155 -0
- weightslab-2.0.3/tests/trainer/services/test_notebook_service_unit.py +797 -0
- weightslab-2.0.3/tests/trainer/services/test_opencode_chat.py +618 -0
- weightslab-2.0.3/tests/trainer/services/test_trainer_services_server.py +454 -0
- weightslab-2.0.3/tests/trainer/services/test_trainer_services_unit.py +848 -0
- weightslab-2.0.3/tests/trainer/test_trainer_tools.py +276 -0
- weightslab-2.0.3/tests/ui/test_server_experiment_reports.py +190 -0
- weightslab-2.0.3/tests/ui/test_server_loop.py +528 -0
- weightslab-2.0.3/tests/ui/test_server_shared_model.py +184 -0
- weightslab-2.0.3/tests/utils/test_logs_unit.py +411 -0
- weightslab-2.0.3/tests/utils/test_tqdm_logging_unit.py +231 -0
- weightslab-2.0.3/tests/utils/test_utils_tools_unit.py +148 -0
- weightslab-2.0.3/weightslab/AGENTS.md +498 -0
- weightslab-2.0.3/weightslab/VERSION +1 -0
- weightslab-2.0.3/weightslab/__init__.py +329 -0
- weightslab-2.0.3/weightslab/_version.py +24 -0
- weightslab-2.0.3/weightslab/backend/cli.py +1548 -0
- weightslab-2.0.3/weightslab/backend/dataloader_interface.py +1382 -0
- weightslab-2.0.3/weightslab/backend/ledgers.py +1529 -0
- weightslab-2.0.3/weightslab/backend/logger.py +2718 -0
- weightslab-2.0.3/weightslab/cli.py +1350 -0
- weightslab-2.0.3/weightslab/components/checkpoint_manager.py +2688 -0
- weightslab-2.0.3/weightslab/components/experiment_hash.py +378 -0
- weightslab-2.0.3/weightslab/components/global_monitoring.py +447 -0
- weightslab-2.0.3/weightslab/data/array_proxy.py +439 -0
- weightslab-2.0.3/weightslab/data/data_utils.py +817 -0
- weightslab-2.0.3/weightslab/data/dataframe_manager.py +3353 -0
- weightslab-2.0.3/weightslab/data/h5_array_store.py +1091 -0
- weightslab-2.0.3/weightslab/data/h5_dataframe_store.py +1080 -0
- weightslab-2.0.3/weightslab/data/h5_recovery.py +149 -0
- weightslab-2.0.3/weightslab/data/point_cloud_utils.py +716 -0
- weightslab-2.0.3/weightslab/data/video_utils.py +603 -0
- weightslab-2.0.3/weightslab/examples/Lightning/wl-classification/main.py +409 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/PyTorch/wl-ads-recommendation.ipynb +476 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/PyTorch/wl-classification.ipynb +1206 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/PyTorch/wl-clustering.ipynb +1660 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/PyTorch/wl-detection.ipynb +1252 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/PyTorch/wl-fraud-detection.ipynb +584 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/PyTorch/wl-segmentation.ipynb +1071 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/PyTorch/ws-classification.ipynb +504 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-brain-tumor-detection-dataset.ipynb +286 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynb +297 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-construction-ppe-detection-dataset.ipynb +309 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-crack-segmentation-dataset.ipynb +277 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-homeobjects-dataset.ipynb +309 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-kitti-detection-dataset.ipynb +300 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-medical-pills-dataset.ipynb +294 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-package-segmentation-dataset.ipynb +276 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Usecases/wl-segmentation-loss-shapes-classification.ipynb +534 -0
- weightslab-2.0.3/weightslab/examples/Notebooks/Usecases/ws-segmentation-loss-shapes-classification.ipynb +521 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-ads-recommendation/main.py +286 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-ads-recommendation/verify_integration.py +215 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-classification/config.yaml +48 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-classification/main.py +482 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-clustering/main.py +337 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-detection/main.py +335 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-fashion-mnist-umap/config.yaml +49 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-fashion-mnist-umap/main.py +535 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-fraud-detection/main.py +387 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-fraud-detection/verify_integration.py +267 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-image-generation/main.py +520 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-model-editing/README.md +13 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/README.md +119 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/common.py +140 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/probe_full_vit.py +153 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/run_all.sh +21 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/run_head_experiment.py +370 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-model-editing/vit-model-editing/setup.sh +14 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-segmentation/config.yaml +42 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-segmentation/main.py +388 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-standalone-config/main.py +178 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-standalone-data/main.py +206 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-standalone-logger/main.py +219 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-standalone-model/main.py +277 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-video-generation/main.py +360 -0
- weightslab-2.0.3/weightslab/examples/PyTorch/wl-video-generation/utils/data.py +356 -0
- weightslab-2.0.3/weightslab/examples/Ultralytics/wl-detection/config.yaml +63 -0
- weightslab-2.0.3/weightslab/examples/Ultralytics/wl-detection/main.py +92 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-2d-lidar-detection/main.py +193 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-3d-lidar-detection/config.yaml +72 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-3d-lidar-detection/main.py +426 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-classification-signals_shape_classification/main.py +259 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/config.yaml +40 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/main.py +293 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-fashion-mnist-custom-projection/projection_notebook.py +193 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-fashion-mnist-signals/main.py +442 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-fashion-mnist-umap/config.yaml +42 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-fashion-mnist-umap/main.py +301 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-mnist-at-scale/main.py +470 -0
- weightslab-2.0.3/weightslab/examples/Usecases/wl-parametric-umap/main.py +261 -0
- weightslab-2.0.3/weightslab/examples/Usecases/ws-signals-mnist/main.py +185 -0
- weightslab-2.0.3/weightslab/integrations/ultralytics/README.md +85 -0
- weightslab-2.0.3/weightslab/integrations/ultralytics/__init__.py +41 -0
- weightslab-2.0.3/weightslab/integrations/ultralytics/trainer.py +292 -0
- weightslab-2.0.3/weightslab/models/model_with_ops.py +846 -0
- weightslab-2.0.3/weightslab/opencode_process.py +556 -0
- weightslab-2.0.3/weightslab/projection/__init__.py +76 -0
- weightslab-2.0.3/weightslab/projection/custom.py +189 -0
- weightslab-2.0.3/weightslab/projection/parametric_umap.py +1773 -0
- weightslab-2.0.3/weightslab/projection/registry.py +196 -0
- weightslab-2.0.3/weightslab/projection/snapshots.py +184 -0
- weightslab-2.0.3/weightslab/proto/experiment_service.proto +1140 -0
- weightslab-2.0.3/weightslab/proto/experiment_service_pb2.py +268 -0
- weightslab-2.0.3/weightslab/proto/experiment_service_pb2_grpc.py +1741 -0
- weightslab-2.0.3/weightslab/security/__init__.py +5 -0
- weightslab-2.0.3/weightslab/security/cert_auth_manager.py +365 -0
- weightslab-2.0.3/weightslab/src.py +5987 -0
- weightslab-2.0.3/weightslab/trainer/services/agent/agent.py +2086 -0
- weightslab-2.0.3/weightslab/trainer/services/agent/opencode_chat.py +478 -0
- weightslab-2.0.3/weightslab/trainer/services/agent_service.py +249 -0
- weightslab-2.0.3/weightslab/trainer/services/data_image_utils.py +239 -0
- weightslab-2.0.3/weightslab/trainer/services/data_service.py +6971 -0
- weightslab-2.0.3/weightslab/trainer/services/experiment_service.py +1539 -0
- weightslab-2.0.3/weightslab/trainer/services/notebook_service.py +1578 -0
- weightslab-2.0.3/weightslab/trainer/services/projection_service.py +1563 -0
- weightslab-2.0.3/weightslab/trainer/services/utils/__init__.py +0 -0
- weightslab-2.0.3/weightslab/trainer/trainer_services.py +812 -0
- weightslab-2.0.3/weightslab/trainer/trainer_tools.py +636 -0
- weightslab-2.0.3/weightslab/ui/server.py +2707 -0
- weightslab-2.0.3/weightslab/ui/static/assets/experiment_service-BRdd0mwF.js +1 -0
- weightslab-2.0.3/weightslab/ui/static/assets/index-ADuXdtYR.css +1 -0
- weightslab-2.0.3/weightslab/ui/static/assets/index-BpHyM2_d.js +5544 -0
- weightslab-2.0.3/weightslab/ui/static/index.html +1051 -0
- weightslab-2.0.3/weightslab/utils/active_experiment.py +339 -0
- weightslab-2.0.3/weightslab/utils/computational_graph.py +1735 -0
- weightslab-2.0.3/weightslab/utils/logs.py +548 -0
- weightslab-2.0.3/weightslab/utils/tools.py +831 -0
- weightslab-2.0.3/weightslab/utils/tqdm_logging.py +216 -0
- weightslab-2.0.3/weightslab.egg-info/PKG-INFO +338 -0
- weightslab-2.0.3/weightslab.egg-info/SOURCES.txt +667 -0
- weightslab-2.0.3/weightslab.egg-info/scm_file_list.json +593 -0
- weightslab-2.0.1/.github/workflows/ci.yml +0 -465
- weightslab-2.0.1/.github/workflows/release.yml +0 -933
- weightslab-2.0.1/.gitignore +0 -93
- weightslab-2.0.1/AGENTS.md +0 -310
- weightslab-2.0.1/CHANGELOG.md +0 -1
- weightslab-2.0.1/PKG-INFO +0 -422
- weightslab-2.0.1/README.md +0 -358
- weightslab-2.0.1/agent_config.yaml +0 -23
- weightslab-2.0.1/docs/_scripts/update_whats_new.py +0 -254
- weightslab-2.0.1/docs/_static/custom.css +0 -845
- weightslab-2.0.1/docs/_static/examples-gallery.js +0 -234
- weightslab-2.0.1/docs/_static/screenshots/README.md +0 -17
- weightslab-2.0.1/docs/_static/wl-ribbon.js +0 -49
- weightslab-2.0.1/docs/agent.rst +0 -579
- weightslab-2.0.1/docs/agent_quickstart.rst +0 -122
- weightslab-2.0.1/docs/build_docs.sh +0 -72
- weightslab-2.0.1/docs/checkpointing.rst +0 -239
- weightslab-2.0.1/docs/configuration.rst +0 -1203
- weightslab-2.0.1/docs/data_exploration.rst +0 -134
- weightslab-2.0.1/docs/examples/index.rst +0 -29
- weightslab-2.0.1/docs/examples/lightning/classification.rst +0 -119
- weightslab-2.0.1/docs/examples/pytorch/classification.rst +0 -170
- weightslab-2.0.1/docs/examples/pytorch/clustering.rst +0 -106
- weightslab-2.0.1/docs/examples/pytorch/detection.rst +0 -138
- weightslab-2.0.1/docs/examples/pytorch/generation.rst +0 -112
- weightslab-2.0.1/docs/examples/pytorch/index.rst +0 -23
- weightslab-2.0.1/docs/examples/pytorch/segmentation.rst +0 -125
- weightslab-2.0.1/docs/examples/ultralytics/detection.rst +0 -47
- weightslab-2.0.1/docs/examples/usecases/index.rst +0 -21
- weightslab-2.0.1/docs/examples/usecases/lidar_detection.rst +0 -126
- weightslab-2.0.1/docs/examples/usecases/loss_shape_classification.rst +0 -181
- weightslab-2.0.1/docs/examples/usecases/model_signals.rst +0 -162
- weightslab-2.0.1/docs/experiment_reports.rst +0 -333
- weightslab-2.0.1/docs/export.rst +0 -137
- weightslab-2.0.1/docs/four_way_approach.rst +0 -144
- weightslab-2.0.1/docs/grpc/audit_logger.rst +0 -439
- weightslab-2.0.1/docs/hyperparameters.rst +0 -151
- weightslab-2.0.1/docs/index.rst +0 -184
- weightslab-2.0.1/docs/logger.rst +0 -202
- weightslab-2.0.1/docs/migration/from_3lc.rst +0 -196
- weightslab-2.0.1/docs/migration/from_tensorboard.rst +0 -176
- weightslab-2.0.1/docs/migration/from_voxel51.rst +0 -197
- weightslab-2.0.1/docs/migration/from_wandb.rst +0 -193
- weightslab-2.0.1/docs/migration/index.rst +0 -70
- weightslab-2.0.1/docs/model_interaction.rst +0 -321
- weightslab-2.0.1/docs/notebooks.rst +0 -100
- weightslab-2.0.1/docs/pytorch_lightning.rst +0 -148
- weightslab-2.0.1/docs/quickstart.rst +0 -219
- weightslab-2.0.1/docs/resource_monitoring.rst +0 -196
- weightslab-2.0.1/docs/segmentation_usecase.rst +0 -210
- weightslab-2.0.1/docs/ultralytics.rst +0 -224
- weightslab-2.0.1/docs/usage/good_practice/data_and_loaders.rst +0 -133
- weightslab-2.0.1/docs/usage/good_practice/index.rst +0 -24
- weightslab-2.0.1/docs/usage/good_practice/signals.rst +0 -66
- weightslab-2.0.1/docs/usage/good_practice/training_loop.rst +0 -61
- weightslab-2.0.1/docs/usage/parameters.rst +0 -499
- weightslab-2.0.1/docs/usecases.rst +0 -161
- weightslab-2.0.1/docs/user_commands.rst +0 -344
- weightslab-2.0.1/docs/user_functions.rst +0 -2258
- weightslab-2.0.1/docs/weights_studio/agent.rst +0 -115
- weightslab-2.0.1/docs/weights_studio/cli_console.rst +0 -42
- weightslab-2.0.1/docs/weights_studio/configuration.rst +0 -74
- weightslab-2.0.1/docs/weights_studio/data_board.rst +0 -96
- weightslab-2.0.1/docs/weights_studio/deployment.rst +0 -72
- weightslab-2.0.1/docs/weights_studio/detail_modal.rst +0 -56
- weightslab-2.0.1/docs/weights_studio/header_bar.rst +0 -96
- weightslab-2.0.1/docs/weights_studio/index.rst +0 -97
- weightslab-2.0.1/docs/weights_studio/landing_page.rst +0 -29
- weightslab-2.0.1/docs/weights_studio/left_panel.rst +0 -84
- weightslab-2.0.1/docs/weights_studio/notebook.rst +0 -119
- weightslab-2.0.1/docs/weights_studio/plots.rst +0 -69
- weightslab-2.0.1/docs/weights_studio/ports.rst +0 -243
- weightslab-2.0.1/docs/weights_studio/reports.rst +0 -72
- weightslab-2.0.1/docs/weights_studio/resource_monitoring.rst +0 -140
- weightslab-2.0.1/docs/weights_studio/security.rst +0 -47
- weightslab-2.0.1/docs/weights_studio/troubleshooting.rst +0 -13
- weightslab-2.0.1/docs/weights_studio_cli/cli_console.rst +0 -206
- weightslab-2.0.1/docs/weights_studio_cli/cli_init.rst +0 -90
- weightslab-2.0.1/docs/weights_studio_cli/index.rst +0 -58
- weightslab-2.0.1/docs/weights_studio_ui/agent.rst +0 -115
- weightslab-2.0.1/docs/weights_studio_ui/index.rst +0 -86
- weightslab-2.0.1/docs/weights_studio_ui/landing_page.rst +0 -222
- weightslab-2.0.1/docs/weights_studio_ui/left_panel.rst +0 -175
- weightslab-2.0.1/docs/weights_studio_ui/main_area.rst +0 -363
- weightslab-2.0.1/docs/weights_studio_ui/more/configuration.rst +0 -74
- weightslab-2.0.1/docs/weights_studio_ui/more/deployment.rst +0 -72
- weightslab-2.0.1/docs/weights_studio_ui/more/index.rst +0 -21
- weightslab-2.0.1/docs/weights_studio_ui/more/ports.rst +0 -243
- weightslab-2.0.1/docs/weights_studio_ui/more/security.rst +0 -47
- weightslab-2.0.1/docs/weights_studio_ui/more/troubleshooting.rst +0 -13
- weightslab-2.0.1/docs/whats_new.rst +0 -248
- weightslab-2.0.1/opencode.json +0 -10
- weightslab-2.0.1/pyproject.toml +0 -205
- weightslab-2.0.1/tests/backend/test_cli.py +0 -379
- weightslab-2.0.1/tests/backend/test_data_loader_interface.py +0 -548
- weightslab-2.0.1/tests/backend/test_ledgers.py +0 -721
- weightslab-2.0.1/tests/backend/test_logger_scale.py +0 -553
- weightslab-2.0.1/tests/backend/test_write_dataframe.py +0 -337
- weightslab-2.0.1/tests/components/test_checkpoint_workflow.py +0 -1873
- weightslab-2.0.1/tests/components/test_experiment_hash_and_art.py +0 -112
- weightslab-2.0.1/tests/components/test_global_monitoring_unit.py +0 -76
- weightslab-2.0.1/tests/data/test_video_utils.py +0 -316
- weightslab-2.0.1/tests/gRPC/test_get_media.py +0 -434
- weightslab-2.0.1/tests/general/test_cli.py +0 -596
- weightslab-2.0.1/tests/general/test_four_way_standalone.py +0 -599
- weightslab-2.0.1/tests/test_opencode_binary.py +0 -259
- weightslab-2.0.1/tests/test_secure_communication.py +0 -132
- weightslab-2.0.1/tests/test_src_functions.py +0 -256
- weightslab-2.0.1/tests/trainer/services/test_agent_opencode_provider.py +0 -448
- weightslab-2.0.1/tests/trainer/services/test_agent_service_unit.py +0 -185
- weightslab-2.0.1/tests/trainer/services/test_notebook_service_unit.py +0 -488
- weightslab-2.0.1/tests/trainer/services/test_opencode_chat.py +0 -448
- weightslab-2.0.1/tests/trainer/services/test_trainer_services_server.py +0 -395
- weightslab-2.0.1/tests/trainer/services/test_trainer_services_unit.py +0 -846
- weightslab-2.0.1/tests/trainer/test_trainer_tools.py +0 -276
- weightslab-2.0.1/tests/ui/test_server_experiment_reports.py +0 -132
- weightslab-2.0.1/tests/ui/test_server_loop.py +0 -487
- weightslab-2.0.1/tests/utils/test_logs_unit.py +0 -79
- weightslab-2.0.1/tests/utils/test_utils_tools_unit.py +0 -81
- weightslab-2.0.1/weightslab/AGENTS.md +0 -413
- weightslab-2.0.1/weightslab/__init__.py +0 -274
- weightslab-2.0.1/weightslab/_version.py +0 -24
- weightslab-2.0.1/weightslab/backend/cli.py +0 -1529
- weightslab-2.0.1/weightslab/backend/dataloader_interface.py +0 -1312
- weightslab-2.0.1/weightslab/backend/ledgers.py +0 -1484
- weightslab-2.0.1/weightslab/backend/logger.py +0 -2538
- weightslab-2.0.1/weightslab/cli.py +0 -1224
- weightslab-2.0.1/weightslab/components/checkpoint_manager.py +0 -2457
- weightslab-2.0.1/weightslab/components/experiment_hash.py +0 -378
- weightslab-2.0.1/weightslab/components/global_monitoring.py +0 -444
- weightslab-2.0.1/weightslab/data/array_proxy.py +0 -426
- weightslab-2.0.1/weightslab/data/data_utils.py +0 -808
- weightslab-2.0.1/weightslab/data/dataframe_manager.py +0 -2668
- weightslab-2.0.1/weightslab/data/h5_array_store.py +0 -869
- weightslab-2.0.1/weightslab/data/h5_dataframe_store.py +0 -908
- weightslab-2.0.1/weightslab/data/point_cloud_utils.py +0 -722
- weightslab-2.0.1/weightslab/data/video_utils.py +0 -475
- weightslab-2.0.1/weightslab/docker/docker/utils/test-deployment.sh +0 -437
- weightslab-2.0.1/weightslab/examples/Lightning/wl-classification/main.py +0 -413
- weightslab-2.0.1/weightslab/examples/Notebooks/PyTorch/wl-ads-recommendation.ipynb +0 -480
- weightslab-2.0.1/weightslab/examples/Notebooks/PyTorch/wl-classification.ipynb +0 -1624
- weightslab-2.0.1/weightslab/examples/Notebooks/PyTorch/wl-clustering.ipynb +0 -5265
- weightslab-2.0.1/weightslab/examples/Notebooks/PyTorch/wl-detection.ipynb +0 -4695
- weightslab-2.0.1/weightslab/examples/Notebooks/PyTorch/wl-fraud-detection.ipynb +0 -588
- weightslab-2.0.1/weightslab/examples/Notebooks/PyTorch/wl-segmentation.ipynb +0 -1075
- weightslab-2.0.1/weightslab/examples/Notebooks/PyTorch/ws-classification.ipynb +0 -508
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-brain-tumor-detection-dataset.ipynb +0 -1905
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynb +0 -1705
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-construction-ppe-detection-dataset.ipynb +0 -1717
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-crack-segmentation-dataset.ipynb +0 -1685
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-homeobjects-dataset.ipynb +0 -1717
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-kitti-detection-dataset.ipynb +0 -1708
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-medical-pills-dataset.ipynb +0 -1702
- weightslab-2.0.1/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-package-segmentation-dataset.ipynb +0 -1684
- weightslab-2.0.1/weightslab/examples/Notebooks/Usecases/wl-segmentation-loss-shapes-classification.ipynb +0 -537
- weightslab-2.0.1/weightslab/examples/Notebooks/Usecases/ws-segmentation-loss-shapes-classification.ipynb +0 -524
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-ads-recommendation/main.py +0 -290
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-ads-recommendation/verify_integration.py +0 -219
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-classification/config.yaml +0 -48
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-classification/main.py +0 -444
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-clustering/main.py +0 -341
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-detection/main.py +0 -340
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-fraud-detection/main.py +0 -391
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-fraud-detection/verify_integration.py +0 -271
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-image-generation/main.py +0 -524
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-segmentation/config.yaml +0 -42
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-segmentation/main.py +0 -393
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-standalone-config/main.py +0 -178
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-standalone-data/main.py +0 -206
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-standalone-logger/main.py +0 -219
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-standalone-model/main.py +0 -277
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-video-generation/main.py +0 -364
- weightslab-2.0.1/weightslab/examples/PyTorch/wl-video-generation/utils/data.py +0 -357
- weightslab-2.0.1/weightslab/examples/Ultralytics/wl-detection/config.yaml +0 -63
- weightslab-2.0.1/weightslab/examples/Ultralytics/wl-detection/main.py +0 -93
- weightslab-2.0.1/weightslab/examples/Usecases/wl-2d-lidar-detection/main.py +0 -197
- weightslab-2.0.1/weightslab/examples/Usecases/wl-3d-lidar-detection/config.yaml +0 -72
- weightslab-2.0.1/weightslab/examples/Usecases/wl-3d-lidar-detection/main.py +0 -430
- weightslab-2.0.1/weightslab/examples/Usecases/wl-classification-signals_shape_classification/main.py +0 -260
- weightslab-2.0.1/weightslab/examples/Usecases/wl-fashion-mnist-signals/main.py +0 -446
- weightslab-2.0.1/weightslab/examples/Usecases/ws-signals-mnist/main.py +0 -186
- weightslab-2.0.1/weightslab/integrations/ultralytics/README.md +0 -86
- weightslab-2.0.1/weightslab/integrations/ultralytics/__init__.py +0 -42
- weightslab-2.0.1/weightslab/integrations/ultralytics/trainer.py +0 -257
- weightslab-2.0.1/weightslab/models/model_with_ops.py +0 -557
- weightslab-2.0.1/weightslab/opencode_process.py +0 -497
- weightslab-2.0.1/weightslab/proto/experiment_service.proto +0 -991
- weightslab-2.0.1/weightslab/proto/experiment_service_pb2.py +0 -262
- weightslab-2.0.1/weightslab/proto/experiment_service_pb2_grpc.py +0 -1693
- weightslab-2.0.1/weightslab/security/__init__.py +0 -5
- weightslab-2.0.1/weightslab/security/cert_auth_manager.py +0 -317
- weightslab-2.0.1/weightslab/src.py +0 -5642
- weightslab-2.0.1/weightslab/trainer/services/agent/agent.py +0 -1955
- weightslab-2.0.1/weightslab/trainer/services/agent/opencode_chat.py +0 -373
- weightslab-2.0.1/weightslab/trainer/services/agent_service.py +0 -223
- weightslab-2.0.1/weightslab/trainer/services/data_image_utils.py +0 -239
- weightslab-2.0.1/weightslab/trainer/services/data_service.py +0 -6153
- weightslab-2.0.1/weightslab/trainer/services/experiment_service.py +0 -1530
- weightslab-2.0.1/weightslab/trainer/services/notebook_service.py +0 -1128
- weightslab-2.0.1/weightslab/trainer/trainer_services.py +0 -807
- weightslab-2.0.1/weightslab/trainer/trainer_tools.py +0 -631
- weightslab-2.0.1/weightslab/ui/server.py +0 -2545
- weightslab-2.0.1/weightslab/ui/static/assets/experiment_service-CLqRKLae.js +0 -1
- weightslab-2.0.1/weightslab/ui/static/assets/index-CAWdkmUg.js +0 -5522
- weightslab-2.0.1/weightslab/ui/static/assets/index-DEGbFcyq.css +0 -1
- weightslab-2.0.1/weightslab/ui/static/index.html +0 -1024
- weightslab-2.0.1/weightslab/utils/computational_graph.py +0 -1727
- weightslab-2.0.1/weightslab/utils/logs.py +0 -277
- weightslab-2.0.1/weightslab/utils/tools.py +0 -791
- weightslab-2.0.1/weightslab.egg-info/PKG-INFO +0 -422
- weightslab-2.0.1/weightslab.egg-info/SOURCES.txt +0 -601
- weightslab-2.0.1/weightslab.egg-info/scm_file_list.json +0 -526
- weightslab-2.0.1/weightslab.egg-info/scm_version.json +0 -8
- {weightslab-2.0.1 → weightslab-2.0.3}/.coverage +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/.gitattributes +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/.github/workflows/docs-pages.yml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/LICENSE +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/.gitkeep +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/code-copy.js +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/favicon.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/github-stars.js +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/logo-dark.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/logo-light.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/agent-bar.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/agent-window.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/bottom-bar.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/data-grid.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/evaluate-popover.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/export-annotations.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/image-detail-modal.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/landing-page.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/left-panel-details.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/left-panel-hyperparameters.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/left-panel-tags-painter.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/left-panel-training.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/list-exploration.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/media-player.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/modal-overlays.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/mode-selector.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/notebook-panel.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/plot-error-band.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/plot-merge.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/plot-search.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/plots-board.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/pointcloud-viewer.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/quick-filters.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/refresh-config.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/report-button.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/resource-signals.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/selection-context-menu.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/tagging-modal.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/screenshots/training-controls.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/version-switcher.js +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/weights_studio_architecture.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_static/wl-topnav.js +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_templates/.gitkeep +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/_templates/sidebar/brand.html +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/conf.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/examples/lightning/index.rst +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/examples/ultralytics/index.rst +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/grpc/grpc_functions.rst +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/grpc/index.rst +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/requirements.txt +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/docs/usage.rst +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/resource_monitoring.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/scripts/ci/agent_smoke.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/setup.cfg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_audit_logger.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_cli_additional_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_compare_dataloaders.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_export_annotations_api.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_instance_signal_logger.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_logger_core.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_model_interface_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_optimizer_interface.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_optimizer_interface_additional_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_signal_outliers.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_tunnel.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/backend/test_write_history.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/chaos_monkeys_utests/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/chaos_monkeys_utests/test_grpc_chaos_monkey_robustness.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/components/__init__.py +0 -0
- {weightslab-2.0.1/tests/export → weightslab-2.0.3/tests/data}/__init__.py +0 -0
- {weightslab-2.0.1/tests/gRPC → weightslab-2.0.3/tests/export}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/export/test_collect.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/export/test_exporter.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/export/test_formats.py +0 -0
- {weightslab-2.0.1/tests/general → weightslab-2.0.3/tests/gRPC}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/gRPC/test_get_point_cloud.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/gRPC/test_grpc_histogram_categorical.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/gRPC/test_grpc_tag_operations.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/gRPC/test_grpc_user_actions.py +0 -0
- {weightslab-2.0.1/tests/integrations → weightslab-2.0.3/tests/general}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/general/test_auditor_mode.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/general/test_cli_export.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/general/test_hyperparams.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/general/test_model_signals.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/general/test_signal_refinements.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/general/test_signals.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/general/test_signals_wrapping.py +0 -0
- {weightslab-2.0.1/tests/model → weightslab-2.0.3/tests/integrations}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/integrations/test_pytorch_lightning_integration.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/integrations/ultralytics/ddp/ddp_ablation.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/integrations/ultralytics/ddp/ddp_test_suite.py +0 -0
- {weightslab-2.0.1/tests/modules → weightslab-2.0.3/tests/model}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/model/test_constraint_generation.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/model/test_dependency_patterns.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/model/test_logger.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/model/test_model_with_ops.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/model/test_model_with_ops_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/model/test_tracking.py +0 -0
- {weightslab-2.0.1/tests/monitoring → weightslab-2.0.3/tests/modules}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/modules/test_modules_with_ops.py +0 -0
- {weightslab-2.0.1/tests/trainer → weightslab-2.0.3/tests/monitoring}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/monitoring/test_resource_monitor.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/test_agent_cli.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/test_agent_networking.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/test_opencode_process.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/test_opencode_shared_server_integration.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/test_report_entrypoints.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/test_reporting.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/test_reporting_media.py +0 -0
- {weightslab-2.0.1/tests/trainer/services → weightslab-2.0.3/tests/trainer}/__init__.py +0 -0
- {weightslab-2.0.1/tests/utils → weightslab-2.0.3/tests/trainer/services}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_agent_live_prompt_evaluation.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_agent_model_and_safety_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_agent_prompt_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_data_service_sample_id_query.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_data_service_step_snapshot.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_data_service_tabular_task_type.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_data_service_text_predictions.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/trainer/services/test_signal_trajectory.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/ui/fake_opencode.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/ui/test_server_agent.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/ui/test_server_data_query.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/ui/test_server_opencode_wire.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/ui/test_server_shutdown_signals.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/ui/test_server_tracked_processes.py +0 -0
- {weightslab-2.0.1/tests/watchdog → weightslab-2.0.3/tests/utils}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/utils/test_computational_graph_utils_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/utils/test_modules_dependencies_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/utils/test_plot_graph_render_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/utils/test_plot_graph_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/utils/test_shape_prop_unit.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/utils/test_telemetry.py +0 -0
- {weightslab-2.0.1/weightslab/backend → weightslab-2.0.3/tests/watchdog}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/watchdog/test_lock_monitor.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/tests/watchdog/test_watchdog.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/art.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/assets/chart.umd.min.js +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/assets/icon.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/assets/logo-dark.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/assets/logo.png +0 -0
- {weightslab-2.0.1/weightslab/data → weightslab-2.0.3/weightslab/backend}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/backend/audit_logger.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/backend/model_interface.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/backend/optimizer_interface.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/components/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/components/evaluation_controller.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/components/experiment_naming.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/components/model_signals.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/components/parallel_primitives.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/components/tracking.py +0 -0
- {weightslab-2.0.1/weightslab/examples/PyTorch/wl-ads-recommendation/utils → weightslab-2.0.3/weightslab/data}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/data/data_samples_with_ops.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/data/media_store.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/data/sample_stats.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Lightning/wl-classification/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Notebooks/Colab/wl-colab-quickstart.ipynb +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Notebooks/Local/wl-local-studio-quickstart.ipynb +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Notebooks/PyTorch/ws-clustering.ipynb +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Notebooks/PyTorch/ws-detection.ipynb +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Notebooks/PyTorch/ws-generation.ipynb +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Notebooks/PyTorch/ws-segmentation.ipynb +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-ads-recommendation/README.md +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-ads-recommendation/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-ads-recommendation/test_ads_recommendation.py +0 -0
- {weightslab-2.0.1/weightslab/examples/PyTorch/wl-clustering/face → weightslab-2.0.3/weightslab/examples/PyTorch/wl-ads-recommendation/utils}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-clustering/config.yaml +0 -0
- {weightslab-2.0.1/weightslab/examples/PyTorch/wl-fraud-detection/utils → weightslab-2.0.3/weightslab/examples/PyTorch/wl-clustering/face}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-clustering/face/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-clustering/face/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-clustering/face/signals.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-clustering/face/utils.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection/README.md +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection/utils/criterions.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection-relabeling/README.md +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection-relabeling/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection-relabeling/main.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-detection-relabeling/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-fraud-detection/README.md +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-fraud-detection/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-fraud-detection/test_fraud_detection.py +0 -0
- {weightslab-2.0.1/weightslab/examples/utils/baseline_models → weightslab-2.0.3/weightslab/examples/PyTorch/wl-fraud-detection/utils}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-fraud-detection/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-fraud-detection/utils/kaggle_data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-fraud-detection/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-image-generation/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0000f77c-6257be58.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/000f8d37-d4c09a0f.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00a0f008-a315437f.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c12bd0-bb46e479.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c29c52-f9524f1e.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00ce6f6d-50bbee62.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d1bafa-1b47b41c.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d7268f-fd4487be.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00f0dd0f-5e9c9557.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a0d7f4c-ac5c3c8f.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a1f4fce-f9cac880.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a3bb2d8-c195d91e.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1cac6a7-04e33135.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ceb32e-3f481b43.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d10d08-5b108225.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d22449-15fb948f.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d7b3ac-5af8623b.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1dce572-c6a8cb5e.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e1a7b8-0aec80e8.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e8ad72-c3c79240.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ee702d-0ae1fc10.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1f0efd9-37a14dda.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2a0648b-d8e126bc.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2b70230-bad4ff6e.jpg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0000f77c-6257be58.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/000f8d37-d4c09a0f.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00a0f008-a315437f.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c12bd0-bb46e479.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c29c52-f9524f1e.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00ce6f6d-50bbee62.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d1bafa-1b47b41c.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d7268f-fd4487be.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00f0dd0f-5e9c9557.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a0d7f4c-ac5c3c8f.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a1f4fce-f9cac880.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a3bb2d8-c195d91e.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1cac6a7-04e33135.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ceb32e-3f481b43.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d10d08-5b108225.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d22449-15fb948f.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d7b3ac-5af8623b.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1dce572-c6a8cb5e.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e1a7b8-0aec80e8.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e8ad72-c3c79240.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ee702d-0ae1fc10.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1f0efd9-37a14dda.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2a0648b-d8e126bc.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2b70230-bad4ff6e.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/utils/criterions.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-segmentation/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-standalone-config/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-video-generation/README.md +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-video-generation/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/PyTorch/wl-video-generation/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-2d-lidar-detection/README.md +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-2d-lidar-detection/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-3d-lidar-detection/README.md +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/kitti_download.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/data.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/model.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/signals.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/Usecases/wl-fashion-mnist-signals/config.yaml +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/utils/__init__.py +0 -0
- {weightslab-2.0.1/weightslab/examples/utils/baseline_models/pytorch → weightslab-2.0.3/weightslab/examples/utils/baseline_models}/__init__.py +0 -0
- {weightslab-2.0.1/weightslab/export/formats → weightslab-2.0.3/weightslab/examples/utils/baseline_models/pytorch}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/examples/utils/baseline_models/pytorch/models.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/export/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/export/collect.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/export/exporter.py +0 -0
- {weightslab-2.0.1/weightslab/models → weightslab-2.0.3/weightslab/export/formats}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/export/formats/cvat.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/export/formats/label_studio.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/export/formats/v7_darwin.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/export/models.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/integrations/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/integrations/ultralytics/_utils.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/integrations/ultralytics/collate.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/integrations/ultralytics/dataset.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/integrations/ultralytics/signals.py +0 -0
- {weightslab-2.0.1/weightslab/modules → weightslab-2.0.3/weightslab/models}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/models/monkey_patcher.py +0 -0
- {weightslab-2.0.1/weightslab/proto → weightslab-2.0.3/weightslab/modules}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/modules/modules_with_ops.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/modules/neuron_ops.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/monitoring/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/monitoring/resource_monitor.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/opencode.json +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/opencode_binary.py +0 -0
- {weightslab-2.0.1/weightslab/trainer → weightslab-2.0.3/weightslab/proto}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/reporting.py +0 -0
- {weightslab-2.0.1/weightslab/trainer/services → weightslab-2.0.3/weightslab/trainer}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/experiment_context.py +0 -0
- {weightslab-2.0.1/weightslab/trainer/services/agent → weightslab-2.0.3/weightslab/trainer/services}/__init__.py +0 -0
- {weightslab-2.0.1/weightslab/trainer/services/utils → weightslab-2.0.3/weightslab/trainer/services/agent}/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/agent/agent_overview/agent.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/agent/agent_overview/query_example.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/agent/agent_overview/schema.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/agent/intent_prompt.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/agent/notebook_prompt.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/agent/report_prompt.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/instance_merger.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/model_service.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/trainer/services/utils/tools.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/tunnel.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/assets/favicon-BtmqMp0p.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/images/darkmode/logo.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/images/darkmode/logo.svg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/images/favicon.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/images/lightmode/logo.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/images/lightmode/logo.svg +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/static/images/logo.png +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/utils/generate-certs-auth-token.ps1 +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/utils/generate-certs-auth-token.sh +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/ui/utils/sync-frontend.sh +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/utils/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/utils/modules_dependencies.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/utils/plot_graph.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/utils/shape_prop.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/utils/telemetry.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/watchdog/__init__.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/watchdog/grpc_watchdog.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/watchdog/lock_monitor.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/watchdog/log_level.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab/watchdog/watchdog.py +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab.egg-info/dependency_links.txt +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab.egg-info/entry_points.txt +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab.egg-info/requires.txt +0 -0
- {weightslab-2.0.1 → weightslab-2.0.3}/weightslab.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
name: Code CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
# Fire on every branch so the `gate` job below can decide whether to run.
|
|
6
|
+
# GitHub cannot filter on commit message at the event level, so we trigger
|
|
7
|
+
# broadly and gate execution: main/dev always run, other branches run only
|
|
8
|
+
# when the head commit message contains "[force ci]".
|
|
9
|
+
branches: [ '**' ]
|
|
10
|
+
tags: [ 'v*' ]
|
|
11
|
+
pull_request:
|
|
12
|
+
types: [ opened, reopened, ready_for_review, synchronize ]
|
|
13
|
+
workflow_dispatch:
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
# Single source of truth for "should the core CI jobs run?". Reproduces the
|
|
17
|
+
# previous trigger rules (PR / manual dispatch / main / dev run; tags skip)
|
|
18
|
+
# and adds a manual escape hatch for custom branches via "[force ci]".
|
|
19
|
+
gate:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
outputs:
|
|
22
|
+
run_ci: ${{ steps.decide.outputs.run_ci }}
|
|
23
|
+
steps:
|
|
24
|
+
- name: Decide whether to run CI
|
|
25
|
+
id: decide
|
|
26
|
+
env:
|
|
27
|
+
# Evaluated by GitHub (not the shell) so the raw commit message is
|
|
28
|
+
# never interpolated into bash — avoids quoting/injection issues.
|
|
29
|
+
FORCE_CI: ${{ contains(github.event.head_commit.message, '[force ci]') }}
|
|
30
|
+
run: |
|
|
31
|
+
if [ "${{ github.event_name }}" != "push" ]; then
|
|
32
|
+
run_ci=true # PRs and manual dispatch always run
|
|
33
|
+
elif [[ "${{ github.ref }}" == refs/tags/* ]]; then
|
|
34
|
+
run_ci=false # tag pushes are handled by the release workflow
|
|
35
|
+
elif [ "${{ github.ref }}" = "refs/heads/main" ] || [ "${{ github.ref }}" = "refs/heads/dev" ] || [[ "${{ github.ref }}" == refs/heads/v* ]]; then
|
|
36
|
+
run_ci=true # default branches and release branches (v*) always run
|
|
37
|
+
elif [ "${FORCE_CI}" = "true" ]; then
|
|
38
|
+
run_ci=true # custom branch opted in via [force ci]
|
|
39
|
+
else
|
|
40
|
+
run_ci=false # custom branch without [force ci] → skip
|
|
41
|
+
fi
|
|
42
|
+
echo "run_ci=${run_ci}" >> "$GITHUB_OUTPUT"
|
|
43
|
+
echo "Decision: run_ci=${run_ci} (event=${{ github.event_name }}, ref=${{ github.ref }}, force_ci=${FORCE_CI})"
|
|
44
|
+
# Required gate: a lint violation here FAILS the CI run. Nothing `needs` this
|
|
45
|
+
# job, so it runs in parallel with install/test/build — its failure turns the
|
|
46
|
+
# run red but does NOT stop the other jobs from running (GitHub Actions does
|
|
47
|
+
# not cancel sibling jobs on failure).
|
|
48
|
+
code-quality:
|
|
49
|
+
needs: gate
|
|
50
|
+
if: ${{ needs.gate.outputs.run_ci == 'true' }}
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
steps:
|
|
53
|
+
- name: Checkout repository
|
|
54
|
+
uses: actions/checkout@v4
|
|
55
|
+
with:
|
|
56
|
+
fetch-depth: 0 # Fetch all history for comparison
|
|
57
|
+
|
|
58
|
+
- name: Set up Python
|
|
59
|
+
id: setup-python
|
|
60
|
+
uses: actions/setup-python@v6
|
|
61
|
+
with:
|
|
62
|
+
python-version: '3.11'
|
|
63
|
+
|
|
64
|
+
- name: Get changed Python files
|
|
65
|
+
id: changed-files
|
|
66
|
+
run: |
|
|
67
|
+
if [ "${{ github.event_name }}" == "pull_request" ]; then
|
|
68
|
+
BASE_SHA=${{ github.event.pull_request.base.sha }}
|
|
69
|
+
HEAD_SHA=${{ github.event.pull_request.head.sha }}
|
|
70
|
+
else
|
|
71
|
+
BASE_SHA=${{ github.event.before }}
|
|
72
|
+
HEAD_SHA=${{ github.sha }}
|
|
73
|
+
fi
|
|
74
|
+
|
|
75
|
+
# Get changed Python files in weightslab directory, exclude generated files
|
|
76
|
+
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT $BASE_SHA $HEAD_SHA | \
|
|
77
|
+
grep '^weightslab/.*\.py$' | \
|
|
78
|
+
grep -v '^weightslab/examples/' | \
|
|
79
|
+
grep -v '_pb2\.py$' | \
|
|
80
|
+
grep -v '_pb2_grpc\.py$' | \
|
|
81
|
+
grep -v 'ui\.py$' | \
|
|
82
|
+
grep -v 'trainer.*\.py$' || true)
|
|
83
|
+
|
|
84
|
+
echo "changed_files<<EOF" >> $GITHUB_OUTPUT
|
|
85
|
+
echo "$CHANGED_FILES" >> $GITHUB_OUTPUT
|
|
86
|
+
echo "EOF" >> $GITHUB_OUTPUT
|
|
87
|
+
|
|
88
|
+
if [ -z "$CHANGED_FILES" ]; then
|
|
89
|
+
echo "has_files=false" >> $GITHUB_OUTPUT
|
|
90
|
+
echo "No Python files changed in weightslab directory"
|
|
91
|
+
else
|
|
92
|
+
echo "has_files=true" >> $GITHUB_OUTPUT
|
|
93
|
+
echo "Changed files:"
|
|
94
|
+
echo "$CHANGED_FILES"
|
|
95
|
+
fi
|
|
96
|
+
|
|
97
|
+
- name: Install linting tools
|
|
98
|
+
if: steps.changed-files.outputs.has_files == 'true'
|
|
99
|
+
run: |
|
|
100
|
+
python -m pip install --upgrade pip
|
|
101
|
+
python -m pip install ruff pylint vulture
|
|
102
|
+
|
|
103
|
+
- name: Lint with Ruff (unused, style, bugs)
|
|
104
|
+
if: steps.changed-files.outputs.has_files == 'true'
|
|
105
|
+
run: |
|
|
106
|
+
FILES="${{ steps.changed-files.outputs.changed_files }}"
|
|
107
|
+
if [ -n "$FILES" ]; then
|
|
108
|
+
# No --fix in CI: report and FAIL on any selected violation (a fix in
|
|
109
|
+
# the ephemeral runner would be discarded and silently pass the gate).
|
|
110
|
+
echo "$FILES" | xargs ruff check --select F401,F841,E9,F632,F722,F823 --ignore E501 --exclude weightslab/examples ./weightslab
|
|
111
|
+
fi
|
|
112
|
+
|
|
113
|
+
- name: Pylint (errors only)
|
|
114
|
+
if: steps.changed-files.outputs.has_files == 'true'
|
|
115
|
+
run: |
|
|
116
|
+
FILES="${{ steps.changed-files.outputs.changed_files }}"
|
|
117
|
+
if [ -n "$FILES" ]; then
|
|
118
|
+
echo "$FILES" | xargs pylint --disable=R0913,E0401,C0301,W0511,C0114,C0115,C0116 --fail-under=7.0 --ignore-paths='^weightslab/examples/.*' ./weightslab
|
|
119
|
+
fi
|
|
120
|
+
|
|
121
|
+
- name: Vulture (unused code)
|
|
122
|
+
if: steps.changed-files.outputs.has_files == 'true'
|
|
123
|
+
run: |
|
|
124
|
+
FILES="${{ steps.changed-files.outputs.changed_files }}"
|
|
125
|
+
if [ -n "$FILES" ]; then
|
|
126
|
+
# Advisory only (|| true): vulture at this confidence yields false
|
|
127
|
+
# positives on dynamically-referenced code (CLI entry points, gRPC
|
|
128
|
+
# handlers, framework hooks). Ruff + Pylint above are the hard gates.
|
|
129
|
+
echo "$FILES" | xargs vulture --min-confidence 70 --exclude weightslab/examples ./weightslab || true
|
|
130
|
+
fi
|
|
131
|
+
|
|
132
|
+
# ── Fast install gate (always runs) ──────────────────────────────────────
|
|
133
|
+
# Single-version install on 3.11 — always runs so `test` has a gate to
|
|
134
|
+
# depend on regardless of branch.
|
|
135
|
+
install:
|
|
136
|
+
needs: gate
|
|
137
|
+
if: ${{ needs.gate.outputs.run_ci == 'true' }}
|
|
138
|
+
runs-on: ubuntu-latest
|
|
139
|
+
name: install (Python 3.11)
|
|
140
|
+
steps:
|
|
141
|
+
- name: Checkout repository
|
|
142
|
+
uses: actions/checkout@v4
|
|
143
|
+
|
|
144
|
+
- name: Set up Python 3.11
|
|
145
|
+
uses: actions/setup-python@v6
|
|
146
|
+
with:
|
|
147
|
+
python-version: '3.11'
|
|
148
|
+
|
|
149
|
+
- name: Install project dependencies
|
|
150
|
+
run: |
|
|
151
|
+
python -m pip install --upgrade pip
|
|
152
|
+
python -m pip install -e . --extra-index-url https://download.pytorch.org/whl/cpu
|
|
153
|
+
|
|
154
|
+
- name: Verify installation
|
|
155
|
+
run: |
|
|
156
|
+
python -c "import weightslab; print(f'weightslab imported successfully')"
|
|
157
|
+
|
|
158
|
+
# ── Full Python version matrix (PR and main only) ─────────────────────────
|
|
159
|
+
# Verifies that `pip install` + basic import work across all supported Python
|
|
160
|
+
# versions. Runs on every PR and every push to main; skipped on dev/other
|
|
161
|
+
# branch pushes to avoid unnecessary cost on work-in-progress commits.
|
|
162
|
+
install-matrix:
|
|
163
|
+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
164
|
+
runs-on: ubuntu-latest
|
|
165
|
+
strategy:
|
|
166
|
+
fail-fast: false # keep running other versions if one fails
|
|
167
|
+
matrix:
|
|
168
|
+
include:
|
|
169
|
+
- python-version: '3.10'
|
|
170
|
+
- python-version: '3.11'
|
|
171
|
+
- python-version: '3.12'
|
|
172
|
+
- python-version: '3.13'
|
|
173
|
+
- python-version: '3.14'
|
|
174
|
+
allow-prereleases: true # 3.14 is pre-release; visible failure but non-blocking
|
|
175
|
+
name: install (Python ${{ matrix.python-version }})
|
|
176
|
+
# 3.14 pre-release failures are informational — don't block the pipeline.
|
|
177
|
+
continue-on-error: ${{ matrix.allow-prereleases == true }}
|
|
178
|
+
steps:
|
|
179
|
+
- name: Checkout repository
|
|
180
|
+
uses: actions/checkout@v4
|
|
181
|
+
|
|
182
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
183
|
+
uses: actions/setup-python@v6
|
|
184
|
+
with:
|
|
185
|
+
python-version: ${{ matrix.python-version }}
|
|
186
|
+
allow-prereleases: ${{ matrix.allow-prereleases || false }}
|
|
187
|
+
|
|
188
|
+
- name: Install project dependencies
|
|
189
|
+
run: |
|
|
190
|
+
python -m pip install --upgrade pip
|
|
191
|
+
python -m pip install -e . --extra-index-url https://download.pytorch.org/whl/cpu
|
|
192
|
+
|
|
193
|
+
- name: Verify installation
|
|
194
|
+
run: |
|
|
195
|
+
python -c "import weightslab; print(f'weightslab imported successfully on Python ${{ matrix.python-version }}')"
|
|
196
|
+
|
|
197
|
+
test:
|
|
198
|
+
if: ${{ needs.gate.outputs.run_ci == 'true' }}
|
|
199
|
+
runs-on: ubuntu-latest
|
|
200
|
+
# Depends on the fast 3.11 install gate; `gate` is also a direct need so this
|
|
201
|
+
# job can read run_ci (the matrix and main-only jobs run independently).
|
|
202
|
+
needs: [ gate, install ]
|
|
203
|
+
# Safety net: without this, a hang falls back to GitHub's 360-minute
|
|
204
|
+
# default. pytest's own --timeout=600 below should already catch a stuck
|
|
205
|
+
# test, but this bounds the whole job even if some hang manages to dodge
|
|
206
|
+
# that (e.g. a shared resource -- see WEIGHTSLAB_NOTEBOOK_EXEC_TIMEOUT).
|
|
207
|
+
timeout-minutes: 15
|
|
208
|
+
steps:
|
|
209
|
+
- name: Checkout repository
|
|
210
|
+
uses: actions/checkout@v4
|
|
211
|
+
|
|
212
|
+
- name: Set up Python
|
|
213
|
+
uses: actions/setup-python@v6
|
|
214
|
+
with:
|
|
215
|
+
python-version: '3.11'
|
|
216
|
+
|
|
217
|
+
- name: Install project dependencies
|
|
218
|
+
run: |
|
|
219
|
+
python -m pip install --upgrade pip
|
|
220
|
+
# Install the test extra so pytest, graphviz, torchmetrics,
|
|
221
|
+
# pytorch-lightning and tensorboard are available (several test modules
|
|
222
|
+
# import pytest / use pytest fixtures and cannot run under bare unittest).
|
|
223
|
+
python -m pip install '.[utest]' --extra-index-url https://download.pytorch.org/whl/cpu
|
|
224
|
+
python -m pip install pytest-timeout
|
|
225
|
+
|
|
226
|
+
- name: Run unit tests - General
|
|
227
|
+
run: |
|
|
228
|
+
export WEIGHTSLAB_LOG_LEVEL="DEBUG"
|
|
229
|
+
# Bounds EmbeddedKernelBridge's per-cell wait (default: unbounded --
|
|
230
|
+
# see notebook_service.py) so a dead/unresponsive embedded kernel in
|
|
231
|
+
# TestNotebookKernelEmbedded fails that one test fast instead of
|
|
232
|
+
# holding the kernel's lock forever and wedging every later test in
|
|
233
|
+
# the same contract-test class behind it.
|
|
234
|
+
export WEIGHTSLAB_NOTEBOOK_EXEC_TIMEOUT="60"
|
|
235
|
+
# A per-test timeout guards against any regression that hangs a test.
|
|
236
|
+
# -m "not scale": tests/backend/test_logger_scale.py deliberately
|
|
237
|
+
# builds a multi-million-row DuckDB fixture to stress-test large-scale
|
|
238
|
+
# queries (see its module docstring) -- real, by-design heavy work,
|
|
239
|
+
# not a hang, but easily 600s+ on a shared/throttled runner. Its own
|
|
240
|
+
# marker registration (pyproject.toml) already says "deselect with
|
|
241
|
+
# -m 'not scale'"; this job just never actually did. Each `scale`
|
|
242
|
+
# test hitting the per-test timeout instead of being deselected burns
|
|
243
|
+
# 10 minutes AND leaves the job stuck at the same progress % across
|
|
244
|
+
# unrelated pushes, which read as a hang.
|
|
245
|
+
python -m pytest ./tests -v --timeout=1200 -m "not scale"
|
|
246
|
+
|
|
247
|
+
# ── Agent smoke test on a pip-installed package ───────────────────────────
|
|
248
|
+
# Proves the Option-2 promise end-to-end: install weightslab into a CLEAN
|
|
249
|
+
# virtualenv (from the built wheel, not editable) and confirm the OpenCode
|
|
250
|
+
# agent works with NO manual `npm i -g opencode` / `npx` step --
|
|
251
|
+
# 1. the managed OpenCode binary provisions and runs (`--version`),
|
|
252
|
+
# 2. `weightslab start` (UI) brings the agent server up even with no
|
|
253
|
+
# credential configured (the user can configure it afterwards), and
|
|
254
|
+
# 3. `weightslab start example` boots without ever hitting the
|
|
255
|
+
# "no opencode/npx" path.
|
|
256
|
+
agent-smoke:
|
|
257
|
+
needs: [ gate, install ]
|
|
258
|
+
if: ${{ needs.gate.outputs.run_ci == 'true' }}
|
|
259
|
+
runs-on: ubuntu-latest
|
|
260
|
+
timeout-minutes: 30
|
|
261
|
+
name: agent smoke (pip install)
|
|
262
|
+
steps:
|
|
263
|
+
- name: Checkout repository
|
|
264
|
+
uses: actions/checkout@v4
|
|
265
|
+
|
|
266
|
+
- name: Set up Python 3.11
|
|
267
|
+
uses: actions/setup-python@v6
|
|
268
|
+
with:
|
|
269
|
+
python-version: '3.11'
|
|
270
|
+
|
|
271
|
+
- name: Create clean virtual environment and install from wheel
|
|
272
|
+
run: |
|
|
273
|
+
python -m venv .venv-smoke
|
|
274
|
+
. .venv-smoke/bin/activate
|
|
275
|
+
python -m pip install --upgrade pip build
|
|
276
|
+
# Build a wheel and install THAT (a real "pip install the package",
|
|
277
|
+
# not an editable checkout) so package-data / entry points are exercised
|
|
278
|
+
# exactly as an end user would get them.
|
|
279
|
+
python -m build --wheel
|
|
280
|
+
python -m pip install dist/*.whl --extra-index-url https://download.pytorch.org/whl/cpu
|
|
281
|
+
|
|
282
|
+
- name: Agent smoke — provision opencode + weightslab start
|
|
283
|
+
env:
|
|
284
|
+
WEIGHTSLAB_LOG_LEVEL: INFO
|
|
285
|
+
# Force the managed provisioning path (do not depend on the runner's
|
|
286
|
+
# preinstalled Node): the standalone binary must run on its own.
|
|
287
|
+
WEIGHTSLAB_OPENCODE_AUTODOWNLOAD: '1'
|
|
288
|
+
run: |
|
|
289
|
+
. .venv-smoke/bin/activate
|
|
290
|
+
python scripts/ci/agent_smoke.py start
|
|
291
|
+
|
|
292
|
+
- name: Agent smoke — weightslab agent init (CLI, headless)
|
|
293
|
+
env:
|
|
294
|
+
WEIGHTSLAB_LOG_LEVEL: INFO
|
|
295
|
+
WEIGHTSLAB_OPENCODE_AUTODOWNLOAD: '1'
|
|
296
|
+
run: |
|
|
297
|
+
. .venv-smoke/bin/activate
|
|
298
|
+
python scripts/ci/agent_smoke.py cli-init
|
|
299
|
+
|
|
300
|
+
- name: Agent smoke — weightslab start example (agent optional, no error)
|
|
301
|
+
env:
|
|
302
|
+
WEIGHTSLAB_LOG_LEVEL: INFO
|
|
303
|
+
run: |
|
|
304
|
+
. .venv-smoke/bin/activate
|
|
305
|
+
python scripts/ci/agent_smoke.py example
|
|
306
|
+
|
|
307
|
+
build-and-publish-dev:
|
|
308
|
+
# Only publish to TestPyPI when pushing to main (not on PRs or dev branch pushes).
|
|
309
|
+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
310
|
+
name: Build & Publish Dev (TestPyPI)
|
|
311
|
+
needs: test
|
|
312
|
+
runs-on: ubuntu-latest
|
|
313
|
+
permissions:
|
|
314
|
+
contents: read
|
|
315
|
+
outputs:
|
|
316
|
+
published_version: ${{ steps.version.outputs.published_version }}
|
|
317
|
+
steps:
|
|
318
|
+
- name: Checkout repository
|
|
319
|
+
uses: actions/checkout@v4
|
|
320
|
+
with:
|
|
321
|
+
fetch-depth: 0
|
|
322
|
+
|
|
323
|
+
- name: Set up Python
|
|
324
|
+
uses: actions/setup-python@v6
|
|
325
|
+
with:
|
|
326
|
+
python-version: '3.11'
|
|
327
|
+
|
|
328
|
+
- name: Install build tools
|
|
329
|
+
run: python -m pip install --upgrade pip build twine
|
|
330
|
+
|
|
331
|
+
- name: Compute publish version
|
|
332
|
+
id: version
|
|
333
|
+
run: |
|
|
334
|
+
TS="$(date -u +%Y%m%d%H%M%S)"
|
|
335
|
+
SHA_HEX="$(git rev-parse --short=8 HEAD)"
|
|
336
|
+
# TestPyPI/PyPI reject local versions (+sha), so encode sha as decimal in devN.
|
|
337
|
+
SHA_DEC="$((16#${SHA_HEX}))"
|
|
338
|
+
PRETEND="${TS}.dev${SHA_DEC}"
|
|
339
|
+
echo "published_version=${PRETEND}" >> $GITHUB_OUTPUT
|
|
340
|
+
echo "Publishing version: ${PRETEND} (from sha ${SHA_HEX})"
|
|
341
|
+
|
|
342
|
+
- name: Clean build artifacts
|
|
343
|
+
run: |
|
|
344
|
+
rm -rf build dist *.egg-info
|
|
345
|
+
|
|
346
|
+
- name: Build distributions
|
|
347
|
+
env:
|
|
348
|
+
# Package-specific override is the most reliable way with setuptools_scm.
|
|
349
|
+
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WEIGHTSLAB: ${{ steps.version.outputs.published_version }}
|
|
350
|
+
run: |
|
|
351
|
+
echo "Building with version ${SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WEIGHTSLAB}"
|
|
352
|
+
python -m build
|
|
353
|
+
|
|
354
|
+
- name: Verify built artifact version
|
|
355
|
+
env:
|
|
356
|
+
WL_VERSION: ${{ steps.version.outputs.published_version }}
|
|
357
|
+
run: |
|
|
358
|
+
echo "Expected version: ${WL_VERSION}"
|
|
359
|
+
echo "Files in dist:"
|
|
360
|
+
ls -la dist/
|
|
361
|
+
|
|
362
|
+
# Check for 0.0.0 artifacts (which indicate version not set)
|
|
363
|
+
if ls dist/ | grep -q "0.0.0"; then
|
|
364
|
+
echo "ERROR: Build produced 0.0.0 artifacts (version not set properly)"
|
|
365
|
+
exit 1
|
|
366
|
+
fi
|
|
367
|
+
|
|
368
|
+
# Verify at least one artifact has the expected version
|
|
369
|
+
if ! ls dist/ | grep -q "${WL_VERSION}"; then
|
|
370
|
+
echo "ERROR: Expected version ${WL_VERSION} not found in dist artifacts"
|
|
371
|
+
echo "Available files:"
|
|
372
|
+
ls -1 dist/
|
|
373
|
+
exit 1
|
|
374
|
+
fi
|
|
375
|
+
|
|
376
|
+
echo "✓ Version verification passed"
|
|
377
|
+
|
|
378
|
+
- name: Check distributions
|
|
379
|
+
run: python -m twine check dist/*
|
|
380
|
+
|
|
381
|
+
- name: Publish to TestPyPI
|
|
382
|
+
env:
|
|
383
|
+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
|
384
|
+
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
|
385
|
+
run: |
|
|
386
|
+
if [ -z "${{ secrets.TEST_PYPI_API_TOKEN }}" ]; then
|
|
387
|
+
echo "TEST_PYPI_API_TOKEN not set; skipping TestPyPI upload."
|
|
388
|
+
exit 0
|
|
389
|
+
fi
|
|
390
|
+
python -m twine upload --repository-url https://test.pypi.org/legacy/ --verbose dist/*
|
|
391
|
+
|
|
392
|
+
# ── Cross-version install test from TestPyPI ──────────────────────────────
|
|
393
|
+
# Installs the just-published dev package from TestPyPI on every supported
|
|
394
|
+
# Python version and verifies the import works end-to-end.
|
|
395
|
+
# Runs only on main branch pushes (same gate as the publish step above).
|
|
396
|
+
test-install-from-pip-dev:
|
|
397
|
+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
398
|
+
name: Test Install From Pip Dev (Python ${{ matrix.python-version }})
|
|
399
|
+
needs: build-and-publish-dev
|
|
400
|
+
runs-on: ubuntu-latest
|
|
401
|
+
strategy:
|
|
402
|
+
fail-fast: false
|
|
403
|
+
matrix:
|
|
404
|
+
include:
|
|
405
|
+
- python-version: '3.10'
|
|
406
|
+
- python-version: '3.11'
|
|
407
|
+
- python-version: '3.12'
|
|
408
|
+
- python-version: '3.13'
|
|
409
|
+
- python-version: '3.14'
|
|
410
|
+
allow-prereleases: true
|
|
411
|
+
continue-on-error: ${{ matrix.allow-prereleases == true }}
|
|
412
|
+
permissions:
|
|
413
|
+
contents: read
|
|
414
|
+
steps:
|
|
415
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
416
|
+
uses: actions/setup-python@v6
|
|
417
|
+
with:
|
|
418
|
+
python-version: ${{ matrix.python-version }}
|
|
419
|
+
allow-prereleases: ${{ matrix.allow-prereleases || false }}
|
|
420
|
+
|
|
421
|
+
- name: Create isolated virtual environment
|
|
422
|
+
run: |
|
|
423
|
+
python -m venv .venv-ci
|
|
424
|
+
|
|
425
|
+
- name: Install from TestPyPI (wait until indexed)
|
|
426
|
+
env:
|
|
427
|
+
WL_VERSION: ${{ needs.build-and-publish-dev.outputs.published_version }}
|
|
428
|
+
run: |
|
|
429
|
+
. .venv-ci/bin/activate
|
|
430
|
+
python -m pip install --upgrade pip
|
|
431
|
+
if [ -z "${WL_VERSION}" ]; then
|
|
432
|
+
echo "Missing published version from upstream job"
|
|
433
|
+
exit 1
|
|
434
|
+
fi
|
|
435
|
+
|
|
436
|
+
# TestPyPI can take a few minutes to expose newly uploaded versions.
|
|
437
|
+
for attempt in $(seq 1 60); do
|
|
438
|
+
echo "Checking pip visibility for weightslab==${WL_VERSION} (attempt ${attempt}/60)"
|
|
439
|
+
if python -m pip download \
|
|
440
|
+
--index-url https://test.pypi.org/simple/ \
|
|
441
|
+
--no-deps \
|
|
442
|
+
"weightslab==${WL_VERSION}" \
|
|
443
|
+
-d /tmp/wl-probe >/dev/null 2>&1; then
|
|
444
|
+
echo "Found weightslab==${WL_VERSION} in TestPyPI simple index"
|
|
445
|
+
break
|
|
446
|
+
fi
|
|
447
|
+
|
|
448
|
+
if [ "${attempt}" -eq 60 ]; then
|
|
449
|
+
echo "Timed out waiting for weightslab==${WL_VERSION} on TestPyPI simple index"
|
|
450
|
+
exit 1
|
|
451
|
+
fi
|
|
452
|
+
sleep 7
|
|
453
|
+
done
|
|
454
|
+
|
|
455
|
+
python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.org/simple "weightslab==${WL_VERSION}" --no-cache-dir --retries 10 --timeout 60
|
|
456
|
+
echo "weightslab==${WL_VERSION} installed from TestPyPI on Python ${{ matrix.python-version }}"
|
|
457
|
+
|
|
458
|
+
- name: Verify package import
|
|
459
|
+
run: |
|
|
460
|
+
. .venv-ci/bin/activate
|
|
461
|
+
python -c "
|
|
462
|
+
import weightslab, importlib.metadata as m
|
|
463
|
+
print('weightslab import OK on Python ${{ matrix.python-version }}')
|
|
464
|
+
print('installed version:', m.version('weightslab'))
|
|
465
|
+
"
|