weightslab 1.4.2__tar.gz → 1.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {weightslab-1.4.2 → weightslab-1.5.0}/.github/workflows/release.yml +34 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/AGENTS.md +1 -0
- weightslab-1.5.0/CHANGELOG.md +1 -0
- {weightslab-1.4.2/weightslab.egg-info → weightslab-1.5.0}/PKG-INFO +6 -1
- weightslab-1.5.0/agent_config.yaml +28 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/agent.rst +31 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/configuration.rst +9 -0
- weightslab-1.5.0/docs/experiment_reports.rst +192 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/index.rst +24 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/user_commands.rst +32 -2
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/user_functions.rst +56 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/weights_studio.rst +119 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/pyproject.toml +11 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_cli.py +84 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_logger_core.py +65 -0
- weightslab-1.5.0/tests/test_report_entrypoints.py +262 -0
- weightslab-1.5.0/tests/test_reporting.py +370 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/test_src_functions.py +46 -2
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_agent_prompt_unit.py +39 -0
- weightslab-1.5.0/tests/trainer/services/test_notebook_service_unit.py +442 -0
- weightslab-1.5.0/tests/ui/test_server_experiment_reports.py +132 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/__init__.py +2 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/_version.py +3 -3
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/cli.py +62 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/logger.py +52 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/cli.py +120 -16
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Colab/wl-colab-quickstart.ipynb +1 -1
- weightslab-1.5.0/weightslab/examples/Notebooks/Local/wl-local-studio-quickstart.ipynb +69 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/wl-ads-recommendation.ipynb +1 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/wl-classification.ipynb +5 -56
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/wl-clustering.ipynb +226 -226
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/wl-detection.ipynb +327 -327
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/wl-fraud-detection.ipynb +0 -60
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/wl-segmentation.ipynb +1 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/ws-classification.ipynb +5 -7
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/ws-clustering.ipynb +4 -23
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/ws-detection.ipynb +4 -23
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/ws-generation.ipynb +4 -23
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/PyTorch/ws-segmentation.ipynb +4 -23
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-brain-tumor-detection-dataset.ipynb +2 -2
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynb +376 -376
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-construction-ppe-detection-dataset.ipynb +359 -359
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-crack-segmentation-dataset.ipynb +377 -377
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-homeobjects-dataset.ipynb +359 -359
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-kitti-detection-dataset.ipynb +359 -359
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-medical-pills-dataset.ipynb +380 -380
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Ultralytics/wl-how-to-train-ultralytics-yolo-on-package-segmentation-dataset.ipynb +377 -377
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Usecases/wl-segmentation-loss-shapes-classification.ipynb +1 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Notebooks/Usecases/ws-segmentation-loss-shapes-classification.ipynb +4 -8
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-classification/config.yaml +1 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/proto/experiment_service.proto +79 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/proto/experiment_service_pb2.py +36 -16
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/proto/experiment_service_pb2_grpc.py +225 -2
- weightslab-1.5.0/weightslab/reporting.py +712 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/src.py +225 -24
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/agent/agent.py +172 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/agent/intent_prompt.py +16 -0
- weightslab-1.5.0/weightslab/trainer/services/agent/notebook_prompt.py +54 -0
- weightslab-1.5.0/weightslab/trainer/services/agent/report_prompt.py +59 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/data_service.py +52 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/experiment_service.py +4 -0
- weightslab-1.5.0/weightslab/trainer/services/notebook_service.py +1073 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/trainer_services.py +24 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/server.py +432 -4
- weightslab-1.4.2/weightslab/ui/static/assets/experiment_service-DQrh-y3X.js → weightslab-1.5.0/weightslab/ui/static/assets/experiment_service-Dq-7XEyM.js +1 -1
- weightslab-1.5.0/weightslab/ui/static/assets/index-BiD_5eCG.js +4542 -0
- weightslab-1.5.0/weightslab/ui/static/assets/index-BsWv1WVV.css +1 -0
- weightslab-1.5.0/weightslab/ui/static/images/lightmode/logo.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/static/index.html +89 -2
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/utils/sync-frontend.sh +1 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/tools.py +20 -0
- {weightslab-1.4.2 → weightslab-1.5.0/weightslab.egg-info}/PKG-INFO +6 -1
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab.egg-info/SOURCES.txt +14 -3
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab.egg-info/requires.txt +5 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab.egg-info/scm_file_list.json +11 -0
- weightslab-1.5.0/weightslab.egg-info/scm_version.json +8 -0
- weightslab-1.4.2/CHANGELOG.md +0 -1
- weightslab-1.4.2/agent_config.yaml +0 -28
- weightslab-1.4.2/weightslab/ui/static/assets/index-BL7NV5ej.css +0 -1
- weightslab-1.4.2/weightslab/ui/static/assets/index-DhU_F1Hm.js +0 -4475
- weightslab-1.4.2/weightslab.egg-info/scm_version.json +0 -8
- {weightslab-1.4.2 → weightslab-1.5.0}/.coverage +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/.gitattributes +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/.github/workflows/ci.yml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/.github/workflows/docs-pages.yml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/.gitignore +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/LICENSE +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/README.md +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/.gitkeep +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/custom.css +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/examples-gallery.js +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/favicon.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/github-stars.js +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/logo-dark.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/logo-light.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/version-switcher.js +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/weights_studio_architecture.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/wl-ribbon.js +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_static/wl-topnav.js +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_templates/.gitkeep +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/_templates/sidebar/brand.html +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/checkpointing.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/conf.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/data_exploration.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/index.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/lightning/classification.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/lightning/index.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/pytorch/classification.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/pytorch/clustering.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/pytorch/detection.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/pytorch/generation.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/pytorch/index.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/pytorch/segmentation.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/ultralytics/detection.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/ultralytics/index.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/usecases/index.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/usecases/lidar_detection.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/examples/usecases/loss_shape_classification.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/four_way_approach.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/grpc/audit_logger.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/grpc/grpc_functions.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/grpc/index.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/hyperparameters.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/logger.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/model_interaction.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/pytorch_lightning.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/quickstart.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/requirements.txt +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/segmentation_usecase.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/ultralytics.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/usage/good_practice.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/usage/parameters.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/usage.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/docs/usecases.rst +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/setup.cfg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_audit_logger.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_cli_additional_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_compare_dataloaders.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_data_loader_interface.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_instance_signal_logger.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_ledgers.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_model_interface_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_optimizer_interface.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_optimizer_interface_additional_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_tunnel.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_write_dataframe.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/backend/test_write_history.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/chaos_monkeys_utests/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/chaos_monkeys_utests/test_grpc_chaos_monkey_robustness.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/components/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/components/test_checkpoint_workflow.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/components/test_experiment_hash_and_art.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/components/test_global_monitoring_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/gRPC/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/gRPC/test_get_point_cloud.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/gRPC/test_grpc_histogram_categorical.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/gRPC/test_grpc_tag_operations.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/gRPC/test_grpc_user_actions.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/general/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/general/test_auditor_mode.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/general/test_cli.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/general/test_hyperparams.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/general/test_signal_refinements.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/general/test_signals.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/general/test_signals_wrapping.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/integrations/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/integrations/test_pytorch_lightning_integration.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/integrations/ultralytics/ddp/ddp_ablation.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/integrations/ultralytics/ddp/ddp_test_suite.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/model/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/model/test_constraint_generation.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/model/test_dependency_patterns.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/model/test_logger.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/model/test_model_with_ops.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/model/test_model_with_ops_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/model/test_tracking.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/modules/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/modules/test_modules_with_ops.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/test_secure_communication.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_agent_live_prompt_evaluation.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_agent_model_and_safety_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_agent_service_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_data_service_sample_id_query.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_data_service_tabular_task_type.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_data_service_text_predictions.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_signal_trajectory.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_trainer_services_server.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/services/test_trainer_services_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/trainer/test_trainer_tools.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_computational_graph_utils_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_logs_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_modules_dependencies_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_plot_graph_render_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_plot_graph_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_shape_prop_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_telemetry.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/utils/test_utils_tools_unit.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/watchdog/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/watchdog/test_lock_monitor.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/tests/watchdog/test_watchdog.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/art.py +0 -0
- {weightslab-1.4.2/weightslab/ui/static/images/lightmode → weightslab-1.5.0/weightslab/assets}/logo.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/audit_logger.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/dataloader_interface.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/ledgers.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/model_interface.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/backend/optimizer_interface.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/components/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/components/checkpoint_manager.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/components/evaluation_controller.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/components/experiment_hash.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/components/global_monitoring.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/components/parallel_primitives.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/components/tracking.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/array_proxy.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/data_samples_with_ops.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/data_utils.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/dataframe_manager.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/h5_array_store.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/h5_dataframe_store.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/point_cloud_utils.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/data/sample_stats.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/docker/docker/utils/test-deployment.sh +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Lightning/wl-classification/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Lightning/wl-classification/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/README.md +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/test_ads_recommendation.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/utils/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-ads-recommendation/verify_integration.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-classification/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-clustering/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-clustering/face/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-clustering/face/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-clustering/face/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-clustering/face/signals.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-clustering/face/utils.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-clustering/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-detection/README.md +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-detection/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-detection/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-detection/utils/criterions.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-detection/utils/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-detection/utils/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/README.md +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/test_fraud_detection.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/utils/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/utils/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/utils/kaggle_data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/utils/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-fraud-detection/verify_integration.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-generation/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-generation/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0000f77c-6257be58.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/000f8d37-d4c09a0f.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00a0f008-a315437f.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c12bd0-bb46e479.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00c29c52-f9524f1e.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00ce6f6d-50bbee62.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d1bafa-1b47b41c.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00d7268f-fd4487be.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/00f0dd0f-5e9c9557.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a0d7f4c-ac5c3c8f.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a1f4fce-f9cac880.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/train/0a3bb2d8-c195d91e.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1cac6a7-04e33135.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ceb32e-3f481b43.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d10d08-5b108225.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d22449-15fb948f.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1d7b3ac-5af8623b.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1dce572-c6a8cb5e.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e1a7b8-0aec80e8.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1e8ad72-c3c79240.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1ee702d-0ae1fc10.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b1f0efd9-37a14dda.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2a0648b-d8e126bc.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/images/val/b2b70230-bad4ff6e.jpg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0000f77c-6257be58.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/000f8d37-d4c09a0f.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00a0f008-a315437f.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c12bd0-bb46e479.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00c29c52-f9524f1e.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00ce6f6d-50bbee62.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d1bafa-1b47b41c.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00d7268f-fd4487be.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/00f0dd0f-5e9c9557.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a0d7f4c-ac5c3c8f.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a1f4fce-f9cac880.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/train/0a3bb2d8-c195d91e.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1cac6a7-04e33135.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ceb32e-3f481b43.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d10d08-5b108225.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d22449-15fb948f.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1d7b3ac-5af8623b.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1dce572-c6a8cb5e.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e1a7b8-0aec80e8.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1e8ad72-c3c79240.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1ee702d-0ae1fc10.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b1f0efd9-37a14dda.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2a0648b-d8e126bc.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/BDD_subset/labels/val/b2b70230-bad4ff6e.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/utils/criterions.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/utils/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/PyTorch/wl-segmentation/utils/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Ultralytics/wl-detection/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Ultralytics/wl-detection/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-2d-lidar-detection/README.md +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-2d-lidar-detection/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-2d-lidar-detection/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-2d-lidar-detection/utils/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-3d-lidar-detection/README.md +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-3d-lidar-detection/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-3d-lidar-detection/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/criterions.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/kitti_download.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-3d-lidar-detection/utils/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/config.yaml +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/criterions.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/data.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/model.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/wl-classification-signals_shape_classification/utils/signals.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/Usecases/ws-signals-mnist/main.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/utils/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/utils/baseline_models/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/utils/baseline_models/pytorch/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/examples/utils/baseline_models/pytorch/models.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/ultralytics/README.md +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/ultralytics/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/ultralytics/_utils.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/ultralytics/collate.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/ultralytics/dataset.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/ultralytics/signals.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/integrations/ultralytics/trainer.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/models/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/models/model_with_ops.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/models/monkey_patcher.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/modules/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/modules/modules_with_ops.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/modules/neuron_ops.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/proto/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/security/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/security/cert_auth_manager.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/experiment_context.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/agent/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/agent/agent_overview/agent.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/agent/agent_overview/query_example.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/agent/agent_overview/schema.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/agent_service.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/data_image_utils.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/instance_merger.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/model_service.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/utils/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/services/utils/tools.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/trainer/trainer_tools.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/tunnel.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/static/assets/favicon-BtmqMp0p.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/static/images/darkmode/logo.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/static/images/darkmode/logo.svg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/static/images/favicon.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/static/images/lightmode/logo.svg +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/static/images/logo.png +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/utils/generate-certs-auth-token.ps1 +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/ui/utils/generate-certs-auth-token.sh +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/computational_graph.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/logs.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/modules_dependencies.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/plot_graph.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/shape_prop.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/utils/telemetry.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/watchdog/__init__.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/watchdog/grpc_watchdog.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/watchdog/lock_monitor.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/watchdog/log_level.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab/watchdog/watchdog.py +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab.egg-info/dependency_links.txt +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab.egg-info/entry_points.txt +0 -0
- {weightslab-1.4.2 → weightslab-1.5.0}/weightslab.egg-info/top_level.txt +0 -0
|
@@ -177,8 +177,38 @@ jobs:
|
|
|
177
177
|
- name: Install build tools
|
|
178
178
|
run: python -m pip install --upgrade pip build twine
|
|
179
179
|
|
|
180
|
+
# This job always publishes to TestPyPI ONLY (never real PyPI -- that's
|
|
181
|
+
# build-and-publish-main, below, which is untouched by this and always
|
|
182
|
+
# builds the tag's own clean version). So the version published HERE is
|
|
183
|
+
# always commit-decorated, regardless of whether the pushed tag name
|
|
184
|
+
# itself contains "-devN" -- a dev-branch pre-release tag and a real
|
|
185
|
+
# main-branch release tag both go through this same TestPyPI pre-check,
|
|
186
|
+
# and an exact tag match otherwise carries no commit-specific info of
|
|
187
|
+
# its own (every push of the same tag name would resolve to the exact
|
|
188
|
+
# same version, colliding on a re-run/retag).
|
|
189
|
+
#
|
|
190
|
+
# TestPyPI/PyPI reject a literal "+sha" local version (see local_scheme
|
|
191
|
+
# = "no-local-version" in pyproject.toml), and PEP 440's devN segment
|
|
192
|
+
# must be a plain integer -- so the short hex commit sha is encoded as
|
|
193
|
+
# a decimal integer inside devN instead, mirroring ci.yml's
|
|
194
|
+
# build-and-publish-dev job (which solves the exact same constraint for
|
|
195
|
+
# its own, non-tag-based, publish-on-push-to-main version).
|
|
196
|
+
- name: Compute decorated TestPyPI version
|
|
197
|
+
id: compute_version
|
|
198
|
+
run: |
|
|
199
|
+
BASE_VERSION="$(echo "${GITHUB_REF_NAME#v}" | sed -E 's/[-\.]?dev[0-9]*$//')"
|
|
200
|
+
SHORT_SHA_HEX="$(git rev-parse --short=8 HEAD)"
|
|
201
|
+
SHA_DEC="$((16#${SHORT_SHA_HEX}))"
|
|
202
|
+
PUBLISH_VERSION="${BASE_VERSION}.dev${SHA_DEC}"
|
|
203
|
+
echo "publish_version=${PUBLISH_VERSION}" >> $GITHUB_OUTPUT
|
|
204
|
+
echo "Tag ${GITHUB_REF_NAME} @ ${SHORT_SHA_HEX} -> TestPyPI version ${PUBLISH_VERSION}"
|
|
205
|
+
|
|
180
206
|
- name: Build distributions
|
|
181
|
-
|
|
207
|
+
env:
|
|
208
|
+
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WEIGHTSLAB: ${{ steps.compute_version.outputs.publish_version }}
|
|
209
|
+
run: |
|
|
210
|
+
echo "Building with version ${SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WEIGHTSLAB}"
|
|
211
|
+
python -m build
|
|
182
212
|
|
|
183
213
|
- name: Capture version from wheel
|
|
184
214
|
id: version
|
|
@@ -188,6 +218,9 @@ jobs:
|
|
|
188
218
|
VERSION="$(basename "${WHEEL}" | sed -E 's/^weightslab-([^-]+)-.*/\1/')"
|
|
189
219
|
echo "published_version=${VERSION}" >> $GITHUB_OUTPUT
|
|
190
220
|
echo "Dev release version: ${VERSION}"
|
|
221
|
+
if [ "${VERSION}" != "${{ steps.compute_version.outputs.publish_version }}" ]; then
|
|
222
|
+
echo "::warning::Built wheel version (${VERSION}) does not match the intended decorated version (${{ steps.compute_version.outputs.publish_version }})."
|
|
223
|
+
fi
|
|
191
224
|
|
|
192
225
|
- name: Check distributions
|
|
193
226
|
run: python -m twine check dist/*
|
|
@@ -166,6 +166,7 @@ ones when debugging:
|
|
|
166
166
|
| `ENABLE_DATA_EXPLORATION` | `1` | `0`/`false` removes the data grid + metadata/details panel and stops the data/metadata auto-refresh. |
|
|
167
167
|
| `ENABLE_HYPERPARAMETERS_OPTIMIZATION` | `1` | `0`/`false` removes the Hyperparameters section, makes HP inputs read-only, and stops the HP poll. |
|
|
168
168
|
| `ENABLE_AGENT` | `1` | `0`/`false` removes the agent chat bar + history panel and stops the agent health poll. |
|
|
169
|
+
| `ENABLE_NOTEBOOK` | `1` | `0`/`false` removes the notebook button (left of the logo) + notebook window. The notebook runs Python in a shared in-process kernel against the live experiment (`df`, model, checkpoints), persisted as `notebook.ipynb` under `root_log_dir`; `>`-prefixed cells ask the agent to propose code. |
|
|
169
170
|
|
|
170
171
|
> **VITE_ vs WS_/BB_/ENABLE_:** `VITE_*` variables are baked at **build time**
|
|
171
172
|
> (changing them needs a frontend rebuild). `WS_*` / `BB_*` / `ENABLE_*` are
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Changelog - 2026-08-05 v1.5.0 (0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: weightslab
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: Paving the way between black-box and white-box modeling.
|
|
5
5
|
Author-email: Alexandru-Andrei Rotaru <alexandru@graybx.com>, Guillaue Pelluet <guillaue@graybx.com>
|
|
6
6
|
License: BSD 2-clause
|
|
@@ -37,6 +37,11 @@ Requires-Dist: python-dotenv<2,>=1
|
|
|
37
37
|
Requires-Dist: langchain-core<2,>=0.3
|
|
38
38
|
Requires-Dist: langchain-ollama<2,>=0.2
|
|
39
39
|
Requires-Dist: langchain-openai<2,>=0.2
|
|
40
|
+
Requires-Dist: ipykernel<7,>=6.29
|
|
41
|
+
Requires-Dist: jupyter_client<9,>=8.6
|
|
42
|
+
Requires-Dist: notebook>=7.6.1
|
|
43
|
+
Requires-Dist: ipywidgets>=8.1.8
|
|
44
|
+
Requires-Dist: matplotlib<4,>=3.7
|
|
40
45
|
Provides-Extra: ultralytics
|
|
41
46
|
Requires-Dist: ultralytics>=8.4.16; extra == "ultralytics"
|
|
42
47
|
Provides-Extra: onnx
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Agent Configuration
|
|
2
|
+
# ###################
|
|
3
|
+
# Variables can be defined from env. variables
|
|
4
|
+
# or directly in the config file.
|
|
5
|
+
# Config file values will override env. variables if both are set.
|
|
6
|
+
# If cloned, env. variables can be defined in a .env file at the root of the repository.
|
|
7
|
+
agent:
|
|
8
|
+
# Select the model provider.
|
|
9
|
+
# Local: 'ollama'
|
|
10
|
+
# Remote: 'openrouter'
|
|
11
|
+
# provider: openrouter # Default to OpenRouter if API key is provided, otherwise fallback to local Ollama. This can be overridden by env variable PREFERRED_PROVIDER.
|
|
12
|
+
|
|
13
|
+
# Local Settings
|
|
14
|
+
fallback_to_local: false
|
|
15
|
+
ollama_model: llama3.2:3b
|
|
16
|
+
|
|
17
|
+
# # Remote Model Selection
|
|
18
|
+
# Default is a fast flash-class model. The intent-planning task is simple JSON
|
|
19
|
+
# generation, so a small/fast model responds in ~2-4s where a 70B model took
|
|
20
|
+
# ~15-30s for no accuracy gain. Switch back to a large model here if you see
|
|
21
|
+
# accuracy issues (speed/accuracy tradeoff).
|
|
22
|
+
openrouter_model: bytedance-seed/seed-2.0-lite # Open router model name (can also be set as env variable OPENROUTER_MODEL). Fast alternatives: openai/gpt-4o-mini, meta-llama/llama-3.1-8b-instruct. Accurate/slow: ~google/gemini-flash-latest
|
|
23
|
+
# openrouter_api_key: <your_openrouter_api_key> # Open router API key (can also be set as env variable OPENROUTER_API_KEY)
|
|
24
|
+
openrouter_base_url: https://openrouter.ai/api/v1 # Open router base URL (can also be set as env variable OPENROUTER_BASE_URL)
|
|
25
|
+
openrouter_request_timeout: 60.0 # Timeout for OpenRouter API requests in seconds (can also be set as env variable OPENROUTER_REQUEST_TIMEOUT)
|
|
26
|
+
openrouter_max_tokens: 2048 # Max completion length. OpenRouter reserves max_tokens*price against the key budget BEFORE generating, so an uncapped value can 402 ("more credits, or fewer max_tokens") on a credit/weekly-limited key. Raise only if responses get truncated (env: OPENROUTER_MAX_TOKENS)
|
|
27
|
+
openrouter_provider_sort: throughput # Bias OpenRouter's upstream routing to avoid slow providers: 'throughput' | 'latency' | 'price'. Empty string = let OpenRouter choose (env: OPENROUTER_PROVIDER_SORT)
|
|
28
|
+
openrouter_structured_output: false # Ask the model for a schema-validated plan directly (skips free-form JSON + regex repair). More reliable, but only works on models whose OpenRouter route supports structured/JSON-schema output (e.g. Gemini, GPT-4o). env: OPENROUTER_STRUCTURED_OUTPUT=1
|
|
@@ -57,6 +57,11 @@ The agent recognizes four broad families of request:
|
|
|
57
57
|
whose loss was ever above 5", "Keep samples whose average training loss
|
|
58
58
|
stayed under 0.2" — queries over each sample's signal history *over
|
|
59
59
|
training*, not just its latest value.
|
|
60
|
+
* - **Experiment reports**
|
|
61
|
+
- "How is this experiment going? Generate a report.", "Create a report
|
|
62
|
+
on training progress" — a branded HTML report with signal health
|
|
63
|
+
plots, dataset stats, and a written analysis. See
|
|
64
|
+
:doc:`experiment_reports`.
|
|
60
65
|
|
|
61
66
|
Compound, multi-step requests work too. A prompt such as *"Tag as 'Disabled'
|
|
62
67
|
samples with training loss greater than 0.3 and loss_shape classified as
|
|
@@ -583,6 +588,32 @@ never writes.
|
|
|
583
588
|
* - "What is the batch size?"
|
|
584
589
|
- Reports the resolved value (e.g. ``data.train_loader.batch_size``).
|
|
585
590
|
|
|
591
|
+
Generating an experiment report
|
|
592
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
593
|
+
|
|
594
|
+
Read-only, like the configuration lookups above — it never modifies the
|
|
595
|
+
experiment, only writes a new report file. See :doc:`experiment_reports` for
|
|
596
|
+
what the report contains and its requirements (matplotlib for plots, a
|
|
597
|
+
configured LLM provider for the written analysis).
|
|
598
|
+
|
|
599
|
+
.. list-table::
|
|
600
|
+
:header-rows: 1
|
|
601
|
+
:widths: 60 40
|
|
602
|
+
|
|
603
|
+
* - Prompt
|
|
604
|
+
- What happens
|
|
605
|
+
* - "How is this experiment going? Generate a report."
|
|
606
|
+
- Builds an HTML report covering the automatically-selected most
|
|
607
|
+
important signals, saved under ``<root_log_dir>/reports/``.
|
|
608
|
+
* - "Generate an experiment report on train_loss and val_loss"
|
|
609
|
+
- Reports on exactly those two signals instead of the automatic
|
|
610
|
+
selection.
|
|
611
|
+
|
|
612
|
+
The same report is available without going through the chat: the CLI
|
|
613
|
+
console's ``report`` command and ``wl.ai_report_generation()`` in Python both
|
|
614
|
+
run the identical path (and still use this agent for the written analysis) —
|
|
615
|
+
see :doc:`experiment_reports`.
|
|
616
|
+
|
|
586
617
|
Querying signal history (behavior over training)
|
|
587
618
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
588
619
|
|
|
@@ -1078,6 +1078,15 @@ case) to disable.
|
|
|
1078
1078
|
- When disabled, removes the agent chat input bar (and its send button) and
|
|
1079
1079
|
the chat-history panel, and stops the agent health-check poll. Dev-server
|
|
1080
1080
|
fallback: ``VITE_ENABLE_AGENT``.
|
|
1081
|
+
* - ``ENABLE_NOTEBOOK``
|
|
1082
|
+
- ``1``
|
|
1083
|
+
- When disabled, removes the notebook button (left of the logo) and the
|
|
1084
|
+
notebook window. The notebook is a Jupyter-like panel that runs Python in a
|
|
1085
|
+
shared in-process kernel against the live experiment (``df``, model,
|
|
1086
|
+
checkpoints); cells starting with ``>`` ask the agent to propose code. The
|
|
1087
|
+
notebook document is persisted as ``notebook.ipynb`` under the experiment
|
|
1088
|
+
``root_log_dir``. Dev-server fallback: ``VITE_ENABLE_NOTEBOOK``. See
|
|
1089
|
+
:ref:`embedded-notebook` for how it works, with examples.
|
|
1081
1090
|
|
|
1082
1091
|
.. note::
|
|
1083
1092
|
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
Experiment Reports
|
|
2
|
+
===================
|
|
3
|
+
|
|
4
|
+
Ask the AI agent how your experiment is doing and it can produce a
|
|
5
|
+
self-contained HTML report: signal trajectory plots, an automatic health
|
|
6
|
+
classification per signal, dataset stats (sample counts, discard rate, tag
|
|
7
|
+
distribution), and a written analysis grounded in those exact numbers —
|
|
8
|
+
branded with the WeightsLab logo.
|
|
9
|
+
|
|
10
|
+
.. figure:: _static/logo-light.png
|
|
11
|
+
:width: 160px
|
|
12
|
+
:align: right
|
|
13
|
+
:alt: WeightsLab logo
|
|
14
|
+
|
|
15
|
+
Generating a report
|
|
16
|
+
--------------------
|
|
17
|
+
|
|
18
|
+
Four ways to ask for one — all four run the **same** code path
|
|
19
|
+
(``weightslab.reporting.generate_report``: collect → narrate → render), so
|
|
20
|
+
they produce the same artifact:
|
|
21
|
+
|
|
22
|
+
- **Python** — :func:`ai_report_generation` (see :doc:`user_functions`), for a
|
|
23
|
+
snapshot from your training script or a notebook:
|
|
24
|
+
|
|
25
|
+
.. code-block:: python
|
|
26
|
+
|
|
27
|
+
import weightslab as wl
|
|
28
|
+
|
|
29
|
+
path = wl.ai_report_generation() # every signal, with analysis
|
|
30
|
+
wl.ai_report_generation(signals=["train_loss"]) # specific signals
|
|
31
|
+
wl.ai_report_generation(use_agent=False) # skip the LLM call
|
|
32
|
+
wl.ai_report_generation(output_path="reports/run.html") # choose the file
|
|
33
|
+
|
|
34
|
+
It returns the path written.
|
|
35
|
+
|
|
36
|
+
- **CLI console** — the ``report`` command (see :ref:`cli-console`), from a
|
|
37
|
+
terminal attached to a running experiment with ``weightslab cli``:
|
|
38
|
+
|
|
39
|
+
.. code-block:: text
|
|
40
|
+
|
|
41
|
+
report
|
|
42
|
+
report train_loss val_loss
|
|
43
|
+
report --output /tmp/run_42.html
|
|
44
|
+
report --no-agent
|
|
45
|
+
|
|
46
|
+
The reply gives the path, the number of signals included, and whether the
|
|
47
|
+
written analysis made it in.
|
|
48
|
+
|
|
49
|
+
- **Chat** — ask for it in the chat bar (or via ``agent query`` on the CLI
|
|
50
|
+
console; see :doc:`agent` for how to initialize a provider first):
|
|
51
|
+
|
|
52
|
+
.. code-block:: text
|
|
53
|
+
|
|
54
|
+
How is this experiment going? Generate a report.
|
|
55
|
+
Create a report on training progress.
|
|
56
|
+
Summarize the experiment.
|
|
57
|
+
|
|
58
|
+
By default the report covers every signal with enough logged history (see
|
|
59
|
+
`Signal selection`_ below). To report on specific signals instead:
|
|
60
|
+
|
|
61
|
+
.. code-block:: text
|
|
62
|
+
|
|
63
|
+
Generate an experiment report on train_loss and val_loss.
|
|
64
|
+
|
|
65
|
+
- **Weights Studio button**: the bar-chart icon immediately left of the
|
|
66
|
+
notebook button in the connected app's header. Left-click generates a
|
|
67
|
+
report (checking agent availability first — see below); right-click opens
|
|
68
|
+
a dropdown of every report already on disk, newest first, click one to
|
|
69
|
+
open it in a new browser tab.
|
|
70
|
+
|
|
71
|
+
The button just sends the same request the chat bar would, with a canned
|
|
72
|
+
prompt. A colored status pill tracks progress: amber while
|
|
73
|
+
checking/generating, orange if the agent isn't configured (the report still
|
|
74
|
+
generates, just without a written analysis), green on success, red on
|
|
75
|
+
failure.
|
|
76
|
+
|
|
77
|
+
Every path writes to ``<root_log_dir>/reports/`` (a timestamped
|
|
78
|
+
``experiment_report_<YYYYMMDD_HHMMSS>.html``) unless an explicit output path
|
|
79
|
+
is given — open it in any browser.
|
|
80
|
+
|
|
81
|
+
What's in the report
|
|
82
|
+
----------------------
|
|
83
|
+
|
|
84
|
+
- **Analysis** — a short, written summary of how the run is going, produced
|
|
85
|
+
by the agent's own LLM. It is grounded *only* in the numbers described
|
|
86
|
+
below (never raw per-step history), so it can comment on the data but
|
|
87
|
+
cannot invent a signal, trend, or number that isn't actually there.
|
|
88
|
+
- **Signals** — one card per plotted signal: its trajectory (aggregated over
|
|
89
|
+
training, from the experiment logger — see :doc:`logger`), and a health
|
|
90
|
+
badge from the same :ref:`loss-shape classification <custom-signal-classifier>`
|
|
91
|
+
vocabulary used elsewhere in WeightsLab:
|
|
92
|
+
|
|
93
|
+
============== ========= ====================================================
|
|
94
|
+
Label Badge Meaning
|
|
95
|
+
============== ========= ====================================================
|
|
96
|
+
monotonic green Steadily improving.
|
|
97
|
+
plateaued green Improved, then leveled off.
|
|
98
|
+
Flat_high red Never moved — likely stuck or unlearnable.
|
|
99
|
+
high_variance red Noisy oscillation, no clear trend.
|
|
100
|
+
U_Shape red Dipped, still moving — not settled yet.
|
|
101
|
+
Forgotten red Regressed to a new, worse, flat level.
|
|
102
|
+
Spiked red A transient jump that reverted.
|
|
103
|
+
============== ========= ====================================================
|
|
104
|
+
|
|
105
|
+
- **Per-sample outliers** (within each signal's card) — the handful of
|
|
106
|
+
samples with that signal's highest logged peak, and the handful whose
|
|
107
|
+
history swung the most (``max - min``). Both are ranked *inside DuckDB*
|
|
108
|
+
(``LoggerQueue.top_k_samples_by_reduce``) and only the top few ever leave
|
|
109
|
+
the database — see `Why per-sample data doesn't blow up the report`_.
|
|
110
|
+
- **Loss-Shape Classification** — if per-sample loss-shape classification has
|
|
111
|
+
already been computed for this experiment (:doc:`logger`'s
|
|
112
|
+
``wl.write_loss_shapes`` / the background auto-tagger), a count of samples
|
|
113
|
+
per shape label across the *whole* dataset, plus a few example sample_ids
|
|
114
|
+
for any concerning label. If nothing has been computed yet, the report says
|
|
115
|
+
so — it never runs the classifier itself.
|
|
116
|
+
- **Dataset** — total sample count, discard count/rate, per-split counts
|
|
117
|
+
(the ``origin`` column), and a breakdown of any ``tag:*`` columns present.
|
|
118
|
+
|
|
119
|
+
Why per-sample data doesn't blow up the report
|
|
120
|
+
--------------------------------------------------
|
|
121
|
+
|
|
122
|
+
A dataset can have millions of samples, but nothing in this report scales
|
|
123
|
+
with sample count — by construction, not by truncation-after-the-fact:
|
|
124
|
+
|
|
125
|
+
- **Outliers** come from ``LoggerQueue.top_k_samples_by_reduce``, which does
|
|
126
|
+
the ``GROUP BY sample_id`` reduction *and* the ``ORDER BY ... LIMIT k``
|
|
127
|
+
ranking in one DuckDB query. Only the top ``k`` (5) rows are ever pulled
|
|
128
|
+
into Python — a per-sample Python dict of every sample's value is never
|
|
129
|
+
built, let alone sent anywhere.
|
|
130
|
+
- **Loss-shape classification** is summarized as a label → count histogram
|
|
131
|
+
(at most the 7 :data:`weightslab.src.LOSS_SHAPES` labels) plus up to 3
|
|
132
|
+
example sample_ids per *concerning* label — never a per-sample dump.
|
|
133
|
+
- The same bounded summary — no plot images, no raw history — is exactly
|
|
134
|
+
what gets handed to the LLM for the written analysis, so the prompt size
|
|
135
|
+
(and cost) for a report is the same whether the experiment logged a
|
|
136
|
+
hundred samples or ten million.
|
|
137
|
+
|
|
138
|
+
Signal selection
|
|
139
|
+
-------------------
|
|
140
|
+
|
|
141
|
+
With no explicit ``signals`` list, the agent includes **every** registered
|
|
142
|
+
signal that has at least 2 logged points — there is nothing to plot or
|
|
143
|
+
classify with fewer than that, so those are skipped. Ordering (not
|
|
144
|
+
filtering): any signal whose name contains "loss" comes first (ordered by how
|
|
145
|
+
many points it has logged), then the remaining signals by the same ordering.
|
|
146
|
+
Pass an explicit ``signals`` list (as in the chat example above) to report on
|
|
147
|
+
only specific ones instead.
|
|
148
|
+
|
|
149
|
+
Each plot is sized for how it's actually displayed (~520×200px at 100dpi,
|
|
150
|
+
tightly cropped) rather than a large print-quality image — this keeps the
|
|
151
|
+
HTML file reasonably sized even with every signal included, instead of a
|
|
152
|
+
handful of oversized plots dominating the page.
|
|
153
|
+
|
|
154
|
+
Requirements
|
|
155
|
+
--------------
|
|
156
|
+
|
|
157
|
+
Plotting uses matplotlib (installed as a core dependency of WeightsLab). If you are working in an environment where it isn't present, install it with:
|
|
158
|
+
|
|
159
|
+
.. code-block:: bash
|
|
160
|
+
|
|
161
|
+
pip install matplotlib
|
|
162
|
+
Without it, the report still renders — the health classification and
|
|
163
|
+
dataset stats sections are unaffected — but signal cards show a text summary
|
|
164
|
+
(first/last/min/max value) instead of a plot.
|
|
165
|
+
|
|
166
|
+
The written analysis needs a configured agent LLM provider (see
|
|
167
|
+
:doc:`agent`'s *Initializing the agent* section). If no provider is
|
|
168
|
+
available, the report is still generated with a note that no analysis was
|
|
169
|
+
written, rather than failing outright. The same applies when
|
|
170
|
+
``wl.ai_report_generation`` is called from a script that isn't serving an
|
|
171
|
+
experiment: there is no live agent to ask, so the report comes out without
|
|
172
|
+
the Analysis section instead of erroring.
|
|
173
|
+
|
|
174
|
+
How it works (under the hood)
|
|
175
|
+
--------------------------------
|
|
176
|
+
|
|
177
|
+
``weightslab.reporting.generate_report`` is the one implementation behind all
|
|
178
|
+
four entry points above; the LLM reaches it as an injected ``narrative_fn``
|
|
179
|
+
callable, so ``weightslab/reporting.py`` itself stays a plain
|
|
180
|
+
data-in-plots-and-stats-out module with no agent coupling.
|
|
181
|
+
|
|
182
|
+
1. ``collect_report_context`` reads the experiment logger's aggregated
|
|
183
|
+
per-step history for each selected signal
|
|
184
|
+
(``LoggerQueue.get_current_signaL_history``) and the live sample
|
|
185
|
+
dataframe, and renders both to plots/stats.
|
|
186
|
+
2. That (plot-free) summary — signal names, health labels, value ranges,
|
|
187
|
+
dataset stats — is handed to the agent's LLM in a single, focused call
|
|
188
|
+
(``DataManipulationAgent.generate_report_narrative``) asking specifically
|
|
189
|
+
for the Analysis section's prose.
|
|
190
|
+
3. The plots, stats, and narrative are assembled into one HTML file and
|
|
191
|
+
written to disk. A failure in step 2 degrades to a report with no written
|
|
192
|
+
analysis rather than no report at all.
|
|
@@ -15,6 +15,23 @@ Weightslab is a Python SDK to inspect, monitor, and edit training behavior for c
|
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
+
.. tip:: New on this branch
|
|
19
|
+
|
|
20
|
+
- **AI agent experiment reports** — ask the agent (chat bar, CLI, or the
|
|
21
|
+
new report button in Weights Studio) to *"generate an experiment
|
|
22
|
+
report"* for a branded, self-contained HTML summary: per-signal health
|
|
23
|
+
plots, bounded per-sample outliers, dataset stats, and a written
|
|
24
|
+
analysis grounded in those numbers — safe even on a dataset with
|
|
25
|
+
millions of samples. See :doc:`experiment_reports`.
|
|
26
|
+
- **Studio notebook, upgraded** — the in-app notebook panel is now
|
|
27
|
+
renameable, has a proper Code/Markdown picker (instead of a blind
|
|
28
|
+
toggle), a "Clear output" button next to Copy, and "Run all" now always
|
|
29
|
+
renders every Markdown cell instead of occasionally flipping an
|
|
30
|
+
already-rendered one back to edit mode.
|
|
31
|
+
- **Local Jupyter Notebook picker** — ``weightslab start``'s landing page
|
|
32
|
+
can now list and reopen existing local notebooks, not just create a new
|
|
33
|
+
one each time.
|
|
34
|
+
|
|
18
35
|
.. grid:: 1 1 2 2
|
|
19
36
|
:gutter: 2
|
|
20
37
|
|
|
@@ -86,6 +103,12 @@ Weightslab is a Python SDK to inspect, monitor, and edit training behavior for c
|
|
|
86
103
|
|
|
87
104
|
Drive UI actions (sort, dump, load), data analysis, tagging/discarding, and model freeze/reset with natural language.
|
|
88
105
|
|
|
106
|
+
.. grid-item-card:: Experiment Reports
|
|
107
|
+
:link: experiment_reports
|
|
108
|
+
:link-type: doc
|
|
109
|
+
|
|
110
|
+
Ask the agent for a branded HTML report: signal health plots, dataset stats, and a written analysis.
|
|
111
|
+
|
|
89
112
|
.. grid-item-card:: gRPC Communication
|
|
90
113
|
:link: grpc/index
|
|
91
114
|
:link-type: doc
|
|
@@ -134,6 +157,7 @@ Weightslab is a Python SDK to inspect, monitor, and edit training behavior for c
|
|
|
134
157
|
hyperparameters
|
|
135
158
|
logger
|
|
136
159
|
checkpointing
|
|
160
|
+
experiment_reports
|
|
137
161
|
.. weights_studio
|
|
138
162
|
|
|
139
163
|
|
|
@@ -230,7 +230,7 @@ HTTP/2 frames must pass through untouched. Two consequences:
|
|
|
230
230
|
zero-signup option is `bore <https://github.com/ekzhang/bore>`_ with its free
|
|
231
231
|
public relay: ``bore local 50051 --to bore.pub`` (prints ``bore.pub:<port>``).
|
|
232
232
|
``ngrok tcp 50051`` also works but now requires a credit card on the free tier.
|
|
233
|
-
- The backend must run **plaintext** — the default ``weightslab
|
|
233
|
+
- The backend must run **plaintext** — the default ``weightslab start``
|
|
234
234
|
(no ``--certs``) — so no TLS terminates mid-path.
|
|
235
235
|
|
|
236
236
|
**Arguments**
|
|
@@ -267,7 +267,7 @@ HTTP/2 frames must pass through untouched. Two consequences:
|
|
|
267
267
|
# !bore local 50051 --to bore.pub
|
|
268
268
|
|
|
269
269
|
# 2) On your machine, in two terminals:
|
|
270
|
-
weightslab
|
|
270
|
+
weightslab start # plaintext HTTP (default)
|
|
271
271
|
weightslab tunnel bore.pub:12345 # the host:port bore printed
|
|
272
272
|
|
|
273
273
|
# 3) Open http://localhost:5173 — Studio streams live from Colab.
|
|
@@ -492,6 +492,36 @@ sub-verb reference, examples, and setup: see :doc:`agent`.
|
|
|
492
492
|
agent model google/gemini-flash-latest
|
|
493
493
|
ask tag train samples with loss > 1.2 as goldset
|
|
494
494
|
|
|
495
|
+
Experiment report
|
|
496
|
+
^^^^^^^^^^^^^^^^^^
|
|
497
|
+
|
|
498
|
+
**Syntax**: ``report [signal ...] [--signals a,b] [--output PATH] [--no-agent]``
|
|
499
|
+
(alias: ``reports``)
|
|
500
|
+
|
|
501
|
+
Generates the HTML experiment report — signal trajectory plots, a health
|
|
502
|
+
label per signal, per-sample outliers, loss-shape tag counts, dataset stats,
|
|
503
|
+
and an analysis written by the agent's LLM — under
|
|
504
|
+
``<root_log_dir>/reports/``, and replies with the path, how many signals went
|
|
505
|
+
in, and whether the analysis was included. Same artifact and same code path
|
|
506
|
+
as the Weights Studio report button and :func:`ai_report_generation`; see
|
|
507
|
+
:doc:`experiment_reports`.
|
|
508
|
+
|
|
509
|
+
With no arguments it covers every signal with at least 2 logged points. Name
|
|
510
|
+
signals positionally (or with ``--signals``) to restrict it, ``--output`` to
|
|
511
|
+
choose the file, and ``--no-agent`` to skip the LLM call entirely. If no LLM
|
|
512
|
+
provider is configured the report is still written, just without the
|
|
513
|
+
analysis (``"analysis": false`` in the reply).
|
|
514
|
+
|
|
515
|
+
**Examples**
|
|
516
|
+
|
|
517
|
+
.. code-block:: text
|
|
518
|
+
|
|
519
|
+
report
|
|
520
|
+
report train_loss val_loss
|
|
521
|
+
report --signals train_loss,val_loss
|
|
522
|
+
report --output /tmp/run_42.html
|
|
523
|
+
report --no-agent
|
|
524
|
+
|
|
495
525
|
Session control
|
|
496
526
|
^^^^^^^^^^^^^^^^
|
|
497
527
|
|
|
@@ -29,6 +29,7 @@ Public API surface
|
|
|
29
29
|
- ``wl.run_pending_evaluation`` *(optional, for training-loop integration)*
|
|
30
30
|
- ``wl.trigger_pending_evaluation_async`` *(optional, for the background gRPC/CLI worker)*
|
|
31
31
|
- ``wl.pointcloud_thumbnail`` / ``wl.pointcloud_boxes`` *(decorators — LiDAR / point-cloud tasks)*
|
|
32
|
+
- ``wl.ai_report_generation`` *(agent-written HTML experiment report)*
|
|
32
33
|
- ``wl.clear_all``
|
|
33
34
|
- ``wl.seed_everything``
|
|
34
35
|
- ``wl.set_log_directory``
|
|
@@ -1379,6 +1380,61 @@ Dump the ``loss_shape`` categorical tag and signals for sample-level rows only
|
|
|
1379
1380
|
instance_id=0,
|
|
1380
1381
|
)
|
|
1381
1382
|
|
|
1383
|
+
ai_report_generation
|
|
1384
|
+
--------------------
|
|
1385
|
+
|
|
1386
|
+
**Signature**
|
|
1387
|
+
|
|
1388
|
+
.. code-block:: python
|
|
1389
|
+
|
|
1390
|
+
wl.ai_report_generation(
|
|
1391
|
+
signals=None, # list[str] | None — default: every signal with >= 2 points
|
|
1392
|
+
output_path=None, # str | None — default: <root_log_dir>/reports/experiment_report_<stamp>.html
|
|
1393
|
+
root_log_dir=None, # str | None — default: the active checkpoint manager's dir
|
|
1394
|
+
use_agent=True, # write the Analysis section with the agent's LLM
|
|
1395
|
+
) -> str # the path written
|
|
1396
|
+
|
|
1397
|
+
Generates the self-contained HTML experiment report — signal trajectory
|
|
1398
|
+
plots, a health label per signal, per-sample outliers, loss-shape tag counts,
|
|
1399
|
+
dataset stats, and a written analysis — and returns the file path. This is
|
|
1400
|
+
the same artifact, produced by the same code path, as the Weights Studio
|
|
1401
|
+
report button, the agent action ("generate a report" in the chat bar), and
|
|
1402
|
+
the CLI console's ``report`` command. See :doc:`experiment_reports` for what
|
|
1403
|
+
each section contains and how it stays bounded on huge datasets.
|
|
1404
|
+
|
|
1405
|
+
The written analysis comes from the agent's LLM (see :doc:`agent` for
|
|
1406
|
+
provider setup). If no provider is configured — or no experiment is being
|
|
1407
|
+
served in this process, so there is no agent to ask — the report is still
|
|
1408
|
+
written, just without the Analysis prose. Pass ``use_agent=False`` to skip
|
|
1409
|
+
the LLM call deliberately (no provider needed, no tokens spent).
|
|
1410
|
+
|
|
1411
|
+
Raises ``RuntimeError`` when there is no experiment directory or no logger to
|
|
1412
|
+
report on, since there is no report to return in that case.
|
|
1413
|
+
|
|
1414
|
+
**Examples**
|
|
1415
|
+
|
|
1416
|
+
Everything, with the written analysis::
|
|
1417
|
+
|
|
1418
|
+
import weightslab as wl
|
|
1419
|
+
|
|
1420
|
+
path = wl.ai_report_generation()
|
|
1421
|
+
print(f"report written to {path}")
|
|
1422
|
+
|
|
1423
|
+
Specific signals only, to a chosen file, without calling the LLM::
|
|
1424
|
+
|
|
1425
|
+
wl.ai_report_generation(
|
|
1426
|
+
signals=["train_loss", "val_loss"],
|
|
1427
|
+
output_path="reports/epoch_10.html",
|
|
1428
|
+
use_agent=False,
|
|
1429
|
+
)
|
|
1430
|
+
|
|
1431
|
+
A snapshot at the end of a run (or periodically, from your own callback)::
|
|
1432
|
+
|
|
1433
|
+
for epoch in range(epochs):
|
|
1434
|
+
train_one_epoch(...)
|
|
1435
|
+
if epoch % 10 == 0:
|
|
1436
|
+
wl.ai_report_generation()
|
|
1437
|
+
|
|
1382
1438
|
Point-cloud customization (LiDAR)
|
|
1383
1439
|
----------------------------------
|
|
1384
1440
|
|