tracebloc 6.0.0__tar.gz → 6.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tracebloc-6.0.0 → tracebloc-6.0.2}/PKG-INFO +1 -1
- {tracebloc-6.0.0 → tracebloc-6.0.2}/pyproject.toml +1 -1
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/client.py +16 -17
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/check_model.py +3 -1
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/data_methods.py +13 -5
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/response.py +5 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc.egg-info/PKG-INFO +1 -1
- {tracebloc-6.0.0 → tracebloc-6.0.2}/MANIFEST.in +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/README.md +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/license.txt +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/setup.cfg +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/api/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/api/experiment_status.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/api/responses.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/auth/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/auth/env_login.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/compat/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/compat/deprecation.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/compat/frameworks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/config.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/console/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/console/logger.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/contracts/stage_urls.v1.json +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/contracts/stage_urls.v1.source.json +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/contracts/survival_payload.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/contracts/training_requirements.source.json +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/contracts/training_requirements.txt +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/acceptance.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/families/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/families/hf/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/families/hf/_build.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/families/hf/_model_type.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/families/tabular.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/families/vision/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/families/vision/_matching.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/gate.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/heads.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/interfaces.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/licence/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/licence/spdx.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/outputs.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/arguments.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/assemble.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/checkpoint.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/gate_rules.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/generate.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/head.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/import_check.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/layer0.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/live.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/model_class.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/remote.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/repo.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/shake.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/owncode/source_tree.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/package.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/padding.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/report.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/tokenizers.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/convert/training_versions.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/base.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/detection.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/keypoint_detection.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/semantic_segmentation.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/tabular.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/text.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/time_series.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/datasets/time_to_event.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/downloads/lifelines_weights.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/downloads/seed_weights.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/exceptions.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/fetch.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/inference.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/answer.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/augmentation_methods.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/conversion.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/library.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/link_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/model_dataset.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/regeneration.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/stored.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/training_methods.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/linking/user_methods.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/templates/_partials.tpl +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/templates/embeddings.tpl +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/templates/nlp_finetune.tpl +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/templates/nlp_generative.tpl +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/templates/survival.tpl +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/templates/tabular_timeseries.tpl +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/notebook/templates/vision_from_scratch.tpl +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/classes.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/declaration.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/fitted_model.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/frame_recording.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/link_check.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/pairs.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/schema.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/seed_prefixes.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/sklearn_check.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/survival.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/torch_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/raw_mode/width_note.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/augmentation.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/callbacks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/converted.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/features.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/image_channels.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/image_size.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/link_total.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/lora.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/lora_validation.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/loss.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/loss_policy.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/loss_source.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/memory_estimate.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/memory_sizing.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/plan.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/preprocessing.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/shape.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/subdataset.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/submitter.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/training/summary.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/lifelines_time_to_event.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/loss_config.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/model_params.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/model_upload.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/nlp_probes.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/scikit_survival_time_to_event.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/sequence_length.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/skl_tabular_base.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/skl_tabular_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/skl_tabular_regression.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/statistical_base.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/survival_base.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_causal_language_modeler.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_embeddings.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_handler.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_image_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_key_point_detector.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_masked_language_modeler.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_multi_label_text_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_nlp_base.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_object_detector.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_semantic_segmentation.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_sentence_pair_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_seq2seq_modeler.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_smoke_loop.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_tabular_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_tabular_regression.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_text_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_text_regressor.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_time_series_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_time_series_forecaster.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_time_to_event.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/torch_token_classifier.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/user_methods.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/weight_loaders.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/weights_averaging.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/weights_check.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/upload/weights_parts.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/user.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/class_order.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/constants.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/custom_loss_probe.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/data_probes.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/declared_classes.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/declared_cls.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/detection_utils.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/device.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/entry_point.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/errors.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/feature_dict.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/loss_shape.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/model_loading.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/model_params.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/nlp_model_probes.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/registry.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/resources.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/safetensors_io.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/staging.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/synthetic_self_supervised.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/synthetic_text.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/tabular_classification_utils.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/tabular_custom_loss_utils.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/tabular_regression_utils.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/text_classification_utils.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/time_series_utils.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/time_to_event_utils.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/tokenizer_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/utils/warnings_once.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/__init__.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/checker.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/estimator_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/header_rules.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/lifelines_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/pytorch_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/rewriter.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/scikit_survival_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc/validation/sklearn_checks.py +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc.egg-info/SOURCES.txt +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc.egg-info/dependency_links.txt +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc.egg-info/requires.txt +0 -0
- {tracebloc-6.0.0 → tracebloc-6.0.2}/tracebloc.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tracebloc"
|
|
7
|
-
version = "6.0.
|
|
7
|
+
version = "6.0.2"
|
|
8
8
|
description = "Build AI with anyone. On data that can't move. SDK for the tracebloc collaborative AI workspace."
|
|
9
9
|
license = "MIT"
|
|
10
10
|
license-files = ["license.txt"]
|
|
@@ -26,8 +26,9 @@ implement idempotent retry at their layer if they want.
|
|
|
26
26
|
|
|
27
27
|
**Overload (HTTP 429):** the backend sheds load with ``429`` plus
|
|
28
28
|
``Retry-After``. A rejected request was not processed, so reads
|
|
29
|
-
(``GET``/``HEAD``/``OPTIONS``)
|
|
30
|
-
(
|
|
29
|
+
(``GET``/``HEAD``/``OPTIONS``), login and any call that passes
|
|
30
|
+
``retry_on_429=True`` (the linking ``check-model/`` POSTs) wait the stated
|
|
31
|
+
time and retry (:func:`_send_honouring_429`: each wait capped at :data:`MAX_RETRY_WAIT_SECONDS`,
|
|
31
32
|
all waits at :data:`MAX_TOTAL_WAIT_SECONDS`). Past the budget, and at once for
|
|
32
33
|
every other call, the failure says the service is busy (:data:`BUSY_MESSAGE`).
|
|
33
34
|
"""
|
|
@@ -318,22 +319,22 @@ class TraceblocClient:
|
|
|
318
319
|
timeout: Optional[float] = None,
|
|
319
320
|
raise_on_error: bool = True,
|
|
320
321
|
stream: bool = False,
|
|
322
|
+
retry_on_429: bool = False,
|
|
321
323
|
) -> requests.Response:
|
|
322
324
|
"""Issue a request to the tracebloc API.
|
|
323
325
|
|
|
324
326
|
Args:
|
|
325
327
|
raise_on_error: If ``True`` (the default), non-2xx responses
|
|
326
|
-
raise :class:`APIError
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
messages. Network failures (no response at all) still
|
|
331
|
-
raise :class:`APIError` with ``status_code=0``, and an
|
|
332
|
-
HTTP 426 (this SDK is below the supported floor) raises
|
|
333
|
-
with the upgrade message, regardless of this flag.
|
|
328
|
+
raise :class:`APIError`; pass ``False`` to inspect the status
|
|
329
|
+
and body yourself. No response at all still raises with
|
|
330
|
+
``status_code=0``, and a 426 (this SDK is below the supported
|
|
331
|
+
floor) raises with the upgrade message, whatever this says.
|
|
334
332
|
stream: Leave the body unread so the caller can iterate it
|
|
335
333
|
(``User.fetch_model``'s multi-GB weights). The caller then
|
|
336
334
|
owns closing the response.
|
|
335
|
+
retry_on_429: Wait out a 429's ``Retry-After`` and re-send, as
|
|
336
|
+
reads do. Pass it for a write whose body is re-sendable and
|
|
337
|
+
that the server did not process when it answered 429.
|
|
337
338
|
|
|
338
339
|
Returns:
|
|
339
340
|
The :class:`requests.Response`.
|
|
@@ -345,8 +346,7 @@ class TraceblocClient:
|
|
|
345
346
|
"""
|
|
346
347
|
url = self._url(path)
|
|
347
348
|
request_timeout = timeout if timeout is not None else self._config.timeout_seconds
|
|
348
|
-
# Only passed when asked for, so
|
|
349
|
-
# as before.
|
|
349
|
+
# Only passed when asked for, so other calls are issued unchanged.
|
|
350
350
|
extra: Mapping[str, Any] = {"stream": True} if stream else {}
|
|
351
351
|
verb = method.upper()
|
|
352
352
|
try:
|
|
@@ -362,17 +362,16 @@ class TraceblocClient:
|
|
|
362
362
|
timeout=request_timeout,
|
|
363
363
|
**extra,
|
|
364
364
|
),
|
|
365
|
-
retry=verb in _RETRY_ON_429_METHODS,
|
|
365
|
+
retry=retry_on_429 or verb in _RETRY_ON_429_METHODS,
|
|
366
366
|
)
|
|
367
367
|
except requests.RequestException as error:
|
|
368
368
|
raise APIError(
|
|
369
369
|
0, f"Failed to reach tracebloc API at {url}: {format_exception(error)}"
|
|
370
370
|
) from error
|
|
371
371
|
|
|
372
|
-
# A 426
|
|
373
|
-
#
|
|
374
|
-
#
|
|
375
|
-
# swallows the upgrade message into its own generic failure.
|
|
372
|
+
# A 426 refuses this SDK outright, so it raises whatever ``raise_on_error``
|
|
373
|
+
# says; otherwise an opted-out caller (``start()``'s ``POST experiments/``)
|
|
374
|
+
# would swallow the upgrade message into its own generic failure.
|
|
376
375
|
if response.status_code == 426 or (raise_on_error and not response.ok):
|
|
377
376
|
raise APIError(response.status_code, _error_message(response))
|
|
378
377
|
return response
|
|
@@ -39,7 +39,9 @@ def link_request(dataset_id, stored, *, model_id, ext, framework, category, clas
|
|
|
39
39
|
def post_link_check(client, data, api_base_url):
|
|
40
40
|
"""POST ``data`` to check-model; a network failure is a :class:`DatasetLinkingError`."""
|
|
41
41
|
try:
|
|
42
|
-
return client.post(
|
|
42
|
+
return client.post(
|
|
43
|
+
"check-model/", data=data, raise_on_error=False, retry_on_429=True
|
|
44
|
+
)
|
|
43
45
|
except APIError as api_error:
|
|
44
46
|
# raise_on_error=False suppresses HTTP-status raises except a
|
|
45
47
|
# 426 (this SDK is below the supported floor), which carries its
|
|
@@ -9,6 +9,8 @@ import os
|
|
|
9
9
|
import json
|
|
10
10
|
from termcolor import colored
|
|
11
11
|
import numbers
|
|
12
|
+
from typing import Any
|
|
13
|
+
from tracebloc.client import BUSY_MESSAGE
|
|
12
14
|
from tracebloc.compat.deprecation import discard_removed_kwarg
|
|
13
15
|
from tracebloc.training import subdataset
|
|
14
16
|
from tracebloc.training.subdataset import class_set_error, dataset_error, request_error
|
|
@@ -140,9 +142,15 @@ class DataPlanMethods:
|
|
|
140
142
|
"type": "recalculate_image_count_per_edge",
|
|
141
143
|
"dataset_key": self._dataset_id,
|
|
142
144
|
}
|
|
143
|
-
re = self._client.post(
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
re = self._client.post(
|
|
146
|
+
"check-model/", data=data, raise_on_error=False, retry_on_429=True
|
|
147
|
+
)
|
|
148
|
+
busy = re.status_code == 429 # wait budget spent: no body to parse
|
|
149
|
+
content: dict[str, Any] = (
|
|
150
|
+
{"message": BUSY_MESSAGE}
|
|
151
|
+
if busy
|
|
152
|
+
else json.loads(re.content.decode("utf-8"))
|
|
153
|
+
)
|
|
146
154
|
if re.status_code == 200:
|
|
147
155
|
per_edge = content["total_data_per_edge"]
|
|
148
156
|
if problem := subdataset.resolved_error(per_edge, training_dataset):
|
|
@@ -163,8 +171,8 @@ class DataPlanMethods:
|
|
|
163
171
|
if "training_size" in self._error_method: # same sub-dataset written
|
|
164
172
|
self._error_method.remove("training_size")
|
|
165
173
|
self._remove_error_method("training_classes")
|
|
166
|
-
else:
|
|
167
|
-
if not self._client.config.verbose_errors: #
|
|
174
|
+
else:
|
|
175
|
+
if not busy and not self._client.config.verbose_errors: # (#534)
|
|
168
176
|
self._print_error(
|
|
169
177
|
"training_classes",
|
|
170
178
|
"trainingClasses:Error while setting subdataset\n",
|
|
@@ -29,6 +29,7 @@ from typing import NamedTuple
|
|
|
29
29
|
from termcolor import colored
|
|
30
30
|
|
|
31
31
|
from ..api.responses import REUPLOAD_HINT, is_load_failed
|
|
32
|
+
from ..client import BUSY_MESSAGE
|
|
32
33
|
from ..raw_mode.width_note import raw_width_note
|
|
33
34
|
from .answer import compared_keys
|
|
34
35
|
from .link_checks import (
|
|
@@ -204,6 +205,10 @@ def _raise_for_unmapped_status(response) -> None:
|
|
|
204
205
|
# blip during linking is no longer indistinguishable from a real
|
|
205
206
|
# model/dataset-pairing rejection.
|
|
206
207
|
status = response.status_code
|
|
208
|
+
if status == HTTPStatus.TOO_MANY_REQUESTS:
|
|
209
|
+
# The wait budget ran out on a 429: say the service is busy, as
|
|
210
|
+
# every other SDK call does, not a pairing rejection.
|
|
211
|
+
raise DatasetLinkingError(BUSY_MESSAGE) from APIError(status, BUSY_MESSAGE)
|
|
207
212
|
reason = _status_reason(response)
|
|
208
213
|
status_text = f"HTTP {status} {reason}".rstrip()
|
|
209
214
|
body = _parse_api_message(response)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|