tracebloc 7.1.2__tar.gz → 7.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tracebloc-7.1.2 → tracebloc-7.1.4}/PKG-INFO +1 -1
- {tracebloc-7.1.2 → tracebloc-7.1.4}/pyproject.toml +1 -1
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/api/responses.py +21 -1
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/keypoint_detection.py +2 -1
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/response.py +2 -1
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/model_upload.py +4 -2
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc.egg-info/PKG-INFO +1 -1
- {tracebloc-7.1.2 → tracebloc-7.1.4}/MANIFEST.in +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/README.md +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/license.txt +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/setup.cfg +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/api/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/api/experiment_status.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/api/multipart.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/auth/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/auth/cli_profile.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/auth/env_login.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/client.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/compat/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/compat/deprecation.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/compat/frameworks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/config.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/console/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/console/logger.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/contracts/stage_urls.v1.json +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/contracts/stage_urls.v1.source.json +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/contracts/survival_payload.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/contracts/training_requirements.source.json +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/contracts/training_requirements.txt +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/acceptance.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/hf/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/hf/_build.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/hf/_length.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/hf/_model_type.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/tabular.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/vision/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/families/vision/_matching.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/gate.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/heads.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/interfaces.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/licence/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/licence/spdx.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/outputs.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/arguments.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/assemble.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/checkpoint.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/gate_rules.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/generate.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/head.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/import_check.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/layer0.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/live.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/model_class.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/remote.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/repo.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/shake.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/owncode/source_tree.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/package.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/package_folder.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/padding.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/report.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/tokenizers.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/convert/training_versions.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/base.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/detection.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/semantic_segmentation.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/tabular.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/text.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/time_series.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/datasets/time_to_event.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/downloads/lifelines_weights.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/downloads/seed_weights.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/exceptions.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/fetch.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/inference.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/answer.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/augmentation_methods.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/check_model.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/conversion.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/data_methods.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/library.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/link_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/model_dataset.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/regeneration.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/stored.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/training_methods.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/upload_methods.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/linking/user_methods.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/templates/_partials.tpl +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/templates/embeddings.tpl +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/templates/nlp_finetune.tpl +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/templates/nlp_generative.tpl +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/templates/survival.tpl +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/templates/tabular_timeseries.tpl +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/notebook/templates/vision_from_scratch.tpl +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/py.typed +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/classes.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/declaration.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/fitted_model.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/frame_recording.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/link_check.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/pairs.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/schema.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/seed_prefixes.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/sklearn_check.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/survival.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/torch_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/raw_mode/width_note.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/augmentation.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/callbacks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/converted.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/features.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/image_channels.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/image_size.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/link_total.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/lora.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/lora_validation.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/loss.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/loss_policy.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/loss_source.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/memory_estimate.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/memory_sizing.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/plan.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/preprocessing.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/shape.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/subdataset.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/submitter.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/training/summary.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/lifelines_time_to_event.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/loss_config.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/model_params.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/nlp_probes.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/scikit_survival_time_to_event.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/skl_tabular_base.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/skl_tabular_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/skl_tabular_regression.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/statistical_base.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/survival_base.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_causal_language_modeler.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_embeddings.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_handler.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_image_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_key_point_detector.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_masked_language_modeler.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_multi_label_text_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_nlp_base.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_object_detector.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_semantic_segmentation.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_sentence_pair_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_seq2seq_modeler.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_smoke_loop.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_tabular_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_tabular_regression.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_text_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_text_regressor.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_time_series_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_time_series_forecaster.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_time_to_event.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/torch_token_classifier.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/weights_averaging.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/weights_check.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/upload/weights_parts.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/user.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/class_order.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/constants.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/custom_loss_probe.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/data_probes.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/declared_classes.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/declared_cls.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/detection_utils.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/device.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/entry_point.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/errors.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/feature_dict.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/loss_shape.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/model_loading.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/model_params.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/nlp_model_probes.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/peak_memory.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/registry.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/resources.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/safetensors_io.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/sequence_length.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/staging.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/synthetic_self_supervised.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/synthetic_text.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/tabular_classification_utils.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/tabular_custom_loss_utils.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/tabular_regression_utils.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/time_series_utils.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/time_to_event_utils.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/tokenizer_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/torch_safe_globals.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/warnings_once.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/weight_loaders.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/utils/weights_caps.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/__init__.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/checker.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/estimator_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/header_rules.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/lifelines_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/pytorch_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/rewriter.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/scikit_survival_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc/validation/sklearn_checks.py +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc.egg-info/SOURCES.txt +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc.egg-info/dependency_links.txt +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/tracebloc.egg-info/requires.txt +0 -0
- {tracebloc-7.1.2 → tracebloc-7.1.4}/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 = "7.1.
|
|
7
|
+
version = "7.1.4"
|
|
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"]
|
|
@@ -64,12 +64,32 @@ def own_message(body: Mapping[str, object]) -> bool:
|
|
|
64
64
|
)
|
|
65
65
|
|
|
66
66
|
|
|
67
|
+
#: Said after a 401 on an authenticated call: the token was revoked (a sign-out
|
|
68
|
+
#: elsewhere) or expired, and the backend's own "Token has been revoked." names
|
|
69
|
+
#: no next step.
|
|
70
|
+
SESSION_ENDED_HINT = (
|
|
71
|
+
"Your session has expired or was signed out. "
|
|
72
|
+
"Sign in again with User(...) (or user.login())."
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def with_session_hint(message: str, status_code: object) -> str:
|
|
77
|
+
"""``message``, plus :data:`SESSION_ENDED_HINT` when ``status_code`` is 401."""
|
|
78
|
+
if status_code == 401:
|
|
79
|
+
return f"{message}\n{SESSION_ENDED_HINT}" if message else SESSION_ENDED_HINT
|
|
80
|
+
return message
|
|
81
|
+
|
|
82
|
+
|
|
67
83
|
def extract_error_message(response: requests.Response) -> str:
|
|
68
84
|
"""Best-effort user-facing error string from an HTTP response.
|
|
69
85
|
|
|
70
86
|
:func:`error_text` of the JSON body, else ``response.reason``, else a
|
|
71
|
-
generic string
|
|
87
|
+
generic string; a 401 adds :data:`SESSION_ENDED_HINT`. Never raises.
|
|
72
88
|
"""
|
|
89
|
+
return with_session_hint(_response_text(response), response.status_code)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
def _response_text(response: requests.Response) -> str:
|
|
73
93
|
try:
|
|
74
94
|
body = response.json()
|
|
75
95
|
except (ValueError, _json.JSONDecodeError):
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
import random
|
|
5
6
|
from collections.abc import Callable
|
|
6
7
|
from typing import Any, ClassVar
|
|
7
8
|
|
|
@@ -69,7 +70,7 @@ class FakeKeypointDetectionDataset(SyntheticDataset[tuple[Any, TensorDict]]):
|
|
|
69
70
|
self, num_feature_points: int, size: tuple[int, int]
|
|
70
71
|
) -> list[list[int]]:
|
|
71
72
|
return [
|
|
72
|
-
[
|
|
73
|
+
[random.randrange(s) for s in size] + [1]
|
|
73
74
|
for _ in range(num_feature_points)
|
|
74
75
|
]
|
|
75
76
|
|
|
@@ -31,7 +31,7 @@ from typing import TYPE_CHECKING, Any, NamedTuple, cast
|
|
|
31
31
|
|
|
32
32
|
from termcolor import colored
|
|
33
33
|
|
|
34
|
-
from ..api.responses import REUPLOAD_HINT, error_text, is_load_failed
|
|
34
|
+
from ..api.responses import REUPLOAD_HINT, error_text, is_load_failed, with_session_hint
|
|
35
35
|
from ..client import BUSY_MESSAGE
|
|
36
36
|
from ..console.logger import say
|
|
37
37
|
from ..raw_mode.width_note import raw_width_note
|
|
@@ -230,6 +230,7 @@ def _raise_for_unmapped_status(response: requests.Response) -> None:
|
|
|
230
230
|
)
|
|
231
231
|
if body:
|
|
232
232
|
error_message += f"\n{body}"
|
|
233
|
+
error_message = with_session_hint(error_message, status)
|
|
233
234
|
raise DatasetLinkingError(error_message) from APIError(
|
|
234
235
|
status,
|
|
235
236
|
body or reason or "Unknown error",
|
|
@@ -10,6 +10,7 @@ from typing import IO, TYPE_CHECKING, Any
|
|
|
10
10
|
from termcolor import colored
|
|
11
11
|
from tqdm import tqdm
|
|
12
12
|
|
|
13
|
+
from tracebloc.api.responses import with_session_hint
|
|
13
14
|
from tracebloc.client import TraceblocClient
|
|
14
15
|
from tracebloc.console.logger import say
|
|
15
16
|
from tracebloc.exceptions import APIError, ModelValidationError, UnsupportedModelTypeError
|
|
@@ -296,8 +297,9 @@ class Model(WeightsCheckMixin, WeightsAveragingMixin, LossConfigMixin):
|
|
|
296
297
|
# Truncate long bodies (e.g. HTML 500 pages) to keep the
|
|
297
298
|
# eventual ModelValidationError message readable.
|
|
298
299
|
body_snippet = r.content.decode("utf-8", errors="replace")[:500]
|
|
299
|
-
self.failure_reason = (
|
|
300
|
-
f"server returned HTTP {r.status_code}: {body_snippet}"
|
|
300
|
+
self.failure_reason = with_session_hint(
|
|
301
|
+
f"server returned HTTP {r.status_code}: {body_snippet}",
|
|
302
|
+
r.status_code,
|
|
301
303
|
)
|
|
302
304
|
if not check_status:
|
|
303
305
|
tex = colored(
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|