tracebloc 3.0.0__tar.gz → 4.0.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.
- {tracebloc-3.0.0 → tracebloc-4.0.0}/PKG-INFO +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/pyproject.toml +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/api/__init__.py +2 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/auth/__init__.py +2 -1
- tracebloc-4.0.0/tracebloc/compat/__init__.py +7 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/__init__.py +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/lifelines_weights.py +2 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/__init__.py +4 -3
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/data_methods.py +2 -2
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/user_methods.py +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/__init__.py +4 -47
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/loss.py +3 -9
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/loss_policy.py +2 -2
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/loss_source.py +2 -2
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/subdataset.py +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_nlp_base.py +0 -12
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/weights_check.py +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/detection_utils.py +0 -5
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/tabular_regression_utils.py +1 -3
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/text_classification_utils.py +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/time_series_utils.py +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/time_to_event_utils.py +1 -3
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/rewriter.py +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc.egg-info/PKG-INFO +1 -1
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc.egg-info/SOURCES.txt +0 -15
- tracebloc-3.0.0/tracebloc/_deprecation.py +0 -13
- tracebloc-3.0.0/tracebloc/_framework_utils.py +0 -26
- tracebloc-3.0.0/tracebloc/_http_utils.py +0 -12
- tracebloc-3.0.0/tracebloc/_link_answer.py +0 -8
- tracebloc-3.0.0/tracebloc/_link_regeneration.py +0 -25
- tracebloc-3.0.0/tracebloc/_raw_width_note.py +0 -12
- tracebloc-3.0.0/tracebloc/_stored_link.py +0 -21
- tracebloc-3.0.0/tracebloc/compat/__init__.py +0 -6
- tracebloc-3.0.0/tracebloc/raw_mode_frame.py +0 -12
- tracebloc-3.0.0/tracebloc/raw_mode_seed.py +0 -9
- tracebloc-3.0.0/tracebloc/raw_mode_survival.py +0 -18
- tracebloc-3.0.0/tracebloc/raw_mode_torch.py +0 -27
- tracebloc-3.0.0/tracebloc/seed_weights.py +0 -24
- tracebloc-3.0.0/tracebloc/utils/general_utils.py +0 -61
- tracebloc-3.0.0/tracebloc/utils/key_point_detection_utils.py +0 -7
- tracebloc-3.0.0/tracebloc/utils/semantic_segmentation_utils.py +0 -7
- {tracebloc-3.0.0 → tracebloc-4.0.0}/MANIFEST.in +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/README.md +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/license.txt +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/setup.cfg +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/_linking.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/_upload_conversion.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/api/experiment_status.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/api/responses.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/auth/env_login.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/checks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/client.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/compat/deprecation.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/compat/frameworks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/config.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/contracts/stage_urls.v1.json +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/contracts/stage_urls.v1.source.json +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/contracts/survival_payload.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/contracts/training_requirements.source.json +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/contracts/training_requirements.txt +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/acceptance.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/families/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/families/hf/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/families/hf/_build.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/families/hf/_model_type.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/families/tabular.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/families/vision/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/families/vision/_matching.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/gate.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/heads.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/interfaces.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/licence/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/licence/spdx.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/outputs.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/arguments.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/assemble.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/checkpoint.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/gate_rules.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/generate.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/head.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/import_check.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/layer0.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/live.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/model_class.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/remote.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/repo.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/shake.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/owncode/source_tree.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/package.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/padding.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/report.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/tokenizers.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/convert/training_versions.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/base.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/detection.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/keypoint_detection.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/semantic_segmentation.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/tabular.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/text.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/time_series.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/datasets/time_to_event.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/downloads/lifelines_weights.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/downloads/seed_weights.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/env_login.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/exceptions.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/fetch.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/inference.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/library_fetch.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/link_model_dataset.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/answer.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/augmentation_methods.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/check_model.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/conversion.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/library.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/model_dataset.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/regeneration.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/response.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/stored.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/linking/training_methods.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/templates/_partials.tpl +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/templates/embeddings.tpl +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/templates/nlp_finetune.tpl +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/templates/nlp_generative.tpl +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/templates/survival.tpl +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/templates/tabular_timeseries.tpl +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/notebook/templates/vision_from_scratch.tpl +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/classes.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/declaration.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/fitted_model.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/frame_recording.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/link_check.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/pairs.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/schema.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/seed_prefixes.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/sklearn_check.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/survival.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/torch_checks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/raw_mode/width_note.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/augmentation.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/callbacks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/converted.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/features.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/image_channels.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/image_size.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/link_total.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/lora.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/lora_validation.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/memory_estimate.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/memory_sizing.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/plan.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/preprocessing.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/shape.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/submitter.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/training/summary.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/lifelines_time_to_event.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/loss_config.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/model_params.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/model_upload.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/nlp_probes.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/scikit_survival_time_to_event.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/sequence_length.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/skl_tabular_base.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/skl_tabular_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/skl_tabular_regression.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/statistical_base.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/survival_base.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_causal_language_modeler.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_embeddings.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_handler.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_image_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_key_point_detector.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_masked_language_modeler.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_multi_label_text_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_object_detector.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_semantic_segmentation.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_sentence_pair_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_seq2seq_modeler.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_tabular_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_tabular_regression.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_text_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_text_regressor.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_time_series_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_time_series_forecaster.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_time_to_event.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/torch_token_classifier.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/user_methods.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/weight_loaders.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/weights_averaging.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/upload/weights_parts.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/user.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/class_order.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/constants.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/custom_loss_probe.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/data_probes.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/declared_classes.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/declared_cls.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/device.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/entry_point.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/errors.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/feature_dict.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/model_loading.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/model_params.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/registry.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/resources.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/safetensors_io.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/tabular_classification_utils.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/tabular_custom_loss_utils.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/utils/warnings_once.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/__init__.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/checker.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/estimator_checks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/header_rules.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/lifelines_checks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/pytorch_checks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/scikit_survival_checks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc/validation/sklearn_checks.py +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc.egg-info/dependency_links.txt +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/tracebloc.egg-info/requires.txt +0 -0
- {tracebloc-3.0.0 → tracebloc-4.0.0}/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
|
+
version = "4.0.0"
|
|
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"]
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
``responses`` holds the error-message extraction and the load-failed check
|
|
4
4
|
that ``client``, ``fetch``, ``inference``, ``User`` and the upload and link
|
|
5
|
-
flows share.
|
|
5
|
+
flows share. It replaced the root module ``tracebloc._http_utils``, which
|
|
6
|
+
RFC-0348 E.4 removed.
|
|
6
7
|
"""
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"""Logging in without a prompt (RFC-0348 C.3).
|
|
2
2
|
|
|
3
3
|
``env_login`` reads a scoped token from the environment. The old root module
|
|
4
|
-
``tracebloc.
|
|
4
|
+
``tracebloc.env_login`` re-exports it: backend's notebook image still imports
|
|
5
|
+
that path (RFC-0348 E.4 kept it).
|
|
5
6
|
"""
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""Compatibility with older SDK versions and optional extras (RFC-0348 C.3).
|
|
2
|
+
|
|
3
|
+
``deprecation`` holds the rename and retirement warnings; ``frameworks`` the
|
|
4
|
+
guarded imports for the optional ML-framework extras. They replaced the root
|
|
5
|
+
modules ``tracebloc._deprecation`` and ``tracebloc._framework_utils``, which
|
|
6
|
+
RFC-0348 E.4 removed.
|
|
7
|
+
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""Synthetic datasets used by the SDK's upload-time functional checks.
|
|
2
2
|
|
|
3
3
|
RFC-0348 A.2 moved these classes here from ``tracebloc/utils/*_utils.py``;
|
|
4
|
-
|
|
4
|
+
RFC-0348 E.4 removed the re-exports at the old paths. Submodules import
|
|
5
5
|
torch, so this package stays import-light and does not import them eagerly.
|
|
6
6
|
"""
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"""Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.downloads.lifelines_weights`.
|
|
2
2
|
|
|
3
3
|
Every name stays importable from this path for existing callers; new code
|
|
4
|
-
imports from the new module.
|
|
4
|
+
imports from the new module. RFC-0348 E.4 kept this path: the README and the
|
|
5
|
+
CHANGELOG tell customers to import ``load_lifelines_model`` from it.
|
|
5
6
|
"""
|
|
6
7
|
|
|
7
8
|
from tracebloc.downloads.lifelines_weights import ( # noqa: F401 (re-export, RFC-0348 C.3)
|
|
@@ -7,8 +7,9 @@ compared keys), ``regeneration`` (a converted package rebuilt for the linked
|
|
|
7
7
|
dataset), ``stored`` (linking a model the backend already stores) and
|
|
8
8
|
``conversion`` (``upload_model``'s front door through the converter).
|
|
9
9
|
|
|
10
|
-
The old root modules
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
The old root modules ``tracebloc._linking`` and ``_upload_conversion`` still
|
|
11
|
+
re-export every name they defined, for the e2e harness that reads them;
|
|
12
|
+
RFC-0348 E.4 removed ``_link_answer``, ``_link_regeneration`` and
|
|
13
|
+
``_stored_link``. The package imports nothing at load, so importing
|
|
13
14
|
one submodule never pulls in the others.
|
|
14
15
|
"""
|
|
@@ -146,8 +146,8 @@ class DataPlanMethods:
|
|
|
146
146
|
self._data_per_class = json.dumps(training_dataset) # sub-dataset counts
|
|
147
147
|
self._subdataset = json.dumps(
|
|
148
148
|
{
|
|
149
|
-
"
|
|
150
|
-
"
|
|
149
|
+
"training_dataset_size": self._training_dataset_size,
|
|
150
|
+
"training_classes": self._training_classes,
|
|
151
151
|
}
|
|
152
152
|
)
|
|
153
153
|
if "training_size" in self._error_method: # same sub-dataset written
|
|
@@ -92,7 +92,7 @@ class UserLinkMethods:
|
|
|
92
92
|
``library_version`` [+ ``weights_file_id``] (as :meth:`fetch_library_model`),
|
|
93
93
|
the model the backend already stores: fetched into ``directory`` (a new
|
|
94
94
|
temporary one when omitted), checked locally as :meth:`upload_model`
|
|
95
|
-
checks it, and linked by reference. See ``tracebloc.
|
|
95
|
+
checks it, and linked by reference. See ``tracebloc.linking.stored``.
|
|
96
96
|
|
|
97
97
|
Raises:
|
|
98
98
|
DatasetLinkingError: No model to link (none uploaded, or two of
|
|
@@ -41,51 +41,8 @@ The package (RFC-0348 C.2): ``declaration`` (the model file's
|
|
|
41
41
|
weights, unpickled), ``schema`` (the dataset's columns), ``classes`` (class
|
|
42
42
|
mapping), ``sklearn_check``, ``torch_checks`` with ``frame_recording`` and
|
|
43
43
|
``seed_prefixes``, ``survival``, and ``link_check`` (the link's raw-mode step).
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
``
|
|
47
|
-
|
|
44
|
+
RFC-0348 E.4 removed the re-exports this package and the old
|
|
45
|
+
``tracebloc.raw_mode_frame``, ``raw_mode_seed``, ``raw_mode_survival`` and
|
|
46
|
+
``raw_mode_torch`` modules carried: import each name from the module named
|
|
47
|
+
for its concept.
|
|
48
48
|
"""
|
|
49
|
-
|
|
50
|
-
from .declaration import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
51
|
-
DATA_PREPARATION,
|
|
52
|
-
MODEL_PREPARES,
|
|
53
|
-
CONTRACT_HEADER,
|
|
54
|
-
_declared,
|
|
55
|
-
declares_raw_mode,
|
|
56
|
-
)
|
|
57
|
-
from .pairs import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
58
|
-
SKLEARN_TABULAR,
|
|
59
|
-
TORCH_TABULAR,
|
|
60
|
-
TORCH_SERIES,
|
|
61
|
-
SURVIVAL,
|
|
62
|
-
RAW_MODE_CHECKED,
|
|
63
|
-
)
|
|
64
|
-
from .fitted_model import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
65
|
-
load_fitted_model,
|
|
66
|
-
load_beside,
|
|
67
|
-
require_fitted_weights,
|
|
68
|
-
load_or_refuse,
|
|
69
|
-
)
|
|
70
|
-
from .schema import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
71
|
-
LABEL_COLUMN,
|
|
72
|
-
SCHEMA_PATH,
|
|
73
|
-
dataset_schema,
|
|
74
|
-
dataset_columns,
|
|
75
|
-
)
|
|
76
|
-
from .classes import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
77
|
-
_integral,
|
|
78
|
-
foreign_classes,
|
|
79
|
-
_listed,
|
|
80
|
-
check_exact_classes,
|
|
81
|
-
link_dataset_classes,
|
|
82
|
-
)
|
|
83
|
-
from .sklearn_check import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
84
|
-
_FIT_ON_A_DATAFRAME,
|
|
85
|
-
model_feature_names,
|
|
86
|
-
check_raw_model,
|
|
87
|
-
)
|
|
88
|
-
from .link_check import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
89
|
-
RawModeCheck,
|
|
90
|
-
raw_mode_input_contract,
|
|
91
|
-
)
|
|
@@ -11,7 +11,7 @@ Part of the LinkModelDataset decomposition. Pure verbatim move of:
|
|
|
11
11
|
link-time re-validation handlers,
|
|
12
12
|
- the five module-level import-surgery helpers (now in
|
|
13
13
|
:mod:`tracebloc.training.loss_source`; the policy table is in
|
|
14
|
-
:mod:`tracebloc.training.loss_policy
|
|
14
|
+
:mod:`tracebloc.training.loss_policy`, RFC-0348 A.5).
|
|
15
15
|
|
|
16
16
|
Like :class:`~tracebloc.training.submitter.ExperimentSubmitter`, this is a
|
|
17
17
|
**coordinator**, not a state-owning sub-object (see docs/ARCHITECTURE.md):
|
|
@@ -61,19 +61,13 @@ from tracebloc.utils.constants import (
|
|
|
61
61
|
)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
from tracebloc.training.loss_source import (
|
|
64
|
+
from tracebloc.training.loss_source import (
|
|
65
65
|
_referenced_names,
|
|
66
|
-
_is_tracebloc,
|
|
67
66
|
_imports_tracebloc,
|
|
68
67
|
_extract_top_level_imports,
|
|
69
68
|
_imported_bindings,
|
|
70
69
|
)
|
|
71
|
-
from tracebloc.training.loss_policy import
|
|
72
|
-
_CROSSENTROPY_ONLY_CATEGORIES,
|
|
73
|
-
_LOSS_POLICY,
|
|
74
|
-
_resolve_loss_policy,
|
|
75
|
-
default_loss_for,
|
|
76
|
-
)
|
|
70
|
+
from tracebloc.training.loss_policy import _resolve_loss_policy
|
|
77
71
|
|
|
78
72
|
|
|
79
73
|
class LossFunctionConfig(_FacadeCoordinator):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""The standard-loss policy table (RFC-0348 A.5).
|
|
2
2
|
|
|
3
|
-
Moved verbatim from :mod:`tracebloc.training.loss
|
|
4
|
-
|
|
3
|
+
Moved verbatim from :mod:`tracebloc.training.loss` (RFC-0348 E.4 removed its
|
|
4
|
+
re-exports). One row per ``(framework, category)`` gives the default loss a plan
|
|
5
5
|
starts with and the losses ``loss_function()`` accepts.
|
|
6
6
|
"""
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Import surgery for a serialized custom loss (RFC-0348 A.5).
|
|
2
2
|
|
|
3
|
-
Moved verbatim from :mod:`tracebloc.training.loss
|
|
4
|
-
|
|
3
|
+
Moved verbatim from :mod:`tracebloc.training.loss` (RFC-0348 E.4 removed its
|
|
4
|
+
re-exports). :class:`~tracebloc.training.loss.LossFunctionConfig` uses these to make
|
|
5
5
|
a user's ``loss.py`` self-contained before it ships to the training edge:
|
|
6
6
|
which names the loss body references, which of the defining module's
|
|
7
7
|
top-level imports it needs, and whether it imports ``tracebloc`` anywhere.
|
|
@@ -51,7 +51,7 @@ not, which is discovered from the numbers rather than declared in a list that
|
|
|
51
51
|
has to be kept in sync with the ingestor.
|
|
52
52
|
|
|
53
53
|
The same record total is what the link output prints as ``totalDatasetSize``,
|
|
54
|
-
and ``
|
|
54
|
+
and ``training_dataset_size`` -- the sum of the request, sent in
|
|
55
55
|
the sub-dataset payload and shown by the web app -- is a draw of that many
|
|
56
56
|
records. Both are data items, never tags or boxes.
|
|
57
57
|
"""
|
|
@@ -65,18 +65,6 @@ from tracebloc.utils.constants import (
|
|
|
65
65
|
PYTORCH_FRAMEWORK,
|
|
66
66
|
)
|
|
67
67
|
from tracebloc.utils.text_classification_utils import assert_custom_loss_shape_robust
|
|
68
|
-
# Used by the structural validation, now in ``nlp_probes`` (RFC-0348 A.5);
|
|
69
|
-
# kept importable from here for callers of the old path.
|
|
70
|
-
from tracebloc.utils.text_classification_utils import ( # noqa: F401 (re-export, RFC-0348 A.5)
|
|
71
|
-
validate_tokenizer_fits_embedding,
|
|
72
|
-
validate_custom_tokenizer_file,
|
|
73
|
-
validate_tokenizer_requirement,
|
|
74
|
-
find_word_embedding,
|
|
75
|
-
)
|
|
76
|
-
from tracebloc.upload.sequence_length import ( # noqa: F401 (re-export, RFC-0348 A.5)
|
|
77
|
-
check_declared_sequence_length,
|
|
78
|
-
resolve_sequence_limit,
|
|
79
|
-
)
|
|
80
68
|
|
|
81
69
|
|
|
82
70
|
class TorchNLPModelerBase(TorchNLPProbesMixin, Model, TorchChecks):
|
|
@@ -145,7 +145,7 @@ class WeightsCheckMixin:
|
|
|
145
145
|
"""sklearn / lifelines / scikit-survival: the pickled fitted model loads."""
|
|
146
146
|
# Pickle-based frameworks (sklearn + lifelines + scikit_survival):
|
|
147
147
|
# verify the serialized fitted model loads, scoped to the model
|
|
148
|
-
# file's folder (see raw_mode.load_beside).
|
|
148
|
+
# file's folder (see raw_mode.fitted_model.load_beside).
|
|
149
149
|
try:
|
|
150
150
|
load_beside(getattr(self, "_Model__model_path", ""))(
|
|
151
151
|
self.weights_path
|
|
@@ -204,11 +204,6 @@ def get_bboxes(
|
|
|
204
204
|
return all_pred_boxes, all_true_boxes, bboxes[0]
|
|
205
205
|
|
|
206
206
|
|
|
207
|
-
from tracebloc.datasets.detection import ( # noqa: F401 (re-export, RFC-0348 A.2)
|
|
208
|
-
FakeObjectDetectionDataset,
|
|
209
|
-
)
|
|
210
|
-
|
|
211
|
-
|
|
212
207
|
def create_yolo_dataset(dataset, classes, image_size, S, B):
|
|
213
208
|
try:
|
|
214
209
|
yolo_dataset = []
|
|
@@ -3,9 +3,7 @@ import numpy as np
|
|
|
3
3
|
from torch.utils.data import DataLoader
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
from tracebloc.datasets.tabular import
|
|
7
|
-
TabularRegressionDataset,
|
|
8
|
-
)
|
|
6
|
+
from tracebloc.datasets.tabular import TabularRegressionDataset
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
def generate_tabular_regression_data(num_samples, num_feature_points, output_dim=1):
|
|
@@ -540,7 +540,7 @@ def sentence_pair_dummy_dataset(
|
|
|
540
540
|
return TextDataset(encodings, labels)
|
|
541
541
|
|
|
542
542
|
|
|
543
|
-
from tracebloc.datasets.text import (
|
|
543
|
+
from tracebloc.datasets.text import (
|
|
544
544
|
TextDataset,
|
|
545
545
|
MaskedLanguageModelingDataset,
|
|
546
546
|
TokenClassificationDummyDataset,
|
|
@@ -3,9 +3,7 @@ import numpy as np
|
|
|
3
3
|
from torch.utils.data import DataLoader
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
from tracebloc.datasets.time_to_event import
|
|
7
|
-
TimeToEventDataset,
|
|
8
|
-
)
|
|
6
|
+
from tracebloc.datasets.time_to_event import TimeToEventDataset
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
def generate_time_to_event_data(num_samples, num_feature_points):
|
|
@@ -13,7 +13,7 @@ without dragging in the SDK's interactive upload UX. To keep that
|
|
|
13
13
|
import path lean, this module imports only the stdlib,
|
|
14
14
|
``tracebloc.utils.constants`` and ``header_rules`` (stdlib and constants
|
|
15
15
|
too) at module scope (``format_exception`` is deferred to the error
|
|
16
|
-
path — ``
|
|
16
|
+
path — ``tracebloc.utils.errors`` pulls rich/termcolor at import time).
|
|
17
17
|
|
|
18
18
|
``ModelChecker`` (``tracebloc/validation/checker.py``) composes an
|
|
19
19
|
instance of this class and forwards its rewrite state, keeping the
|
|
@@ -3,14 +3,7 @@ README.md
|
|
|
3
3
|
license.txt
|
|
4
4
|
pyproject.toml
|
|
5
5
|
tracebloc/__init__.py
|
|
6
|
-
tracebloc/_deprecation.py
|
|
7
|
-
tracebloc/_framework_utils.py
|
|
8
|
-
tracebloc/_http_utils.py
|
|
9
|
-
tracebloc/_link_answer.py
|
|
10
|
-
tracebloc/_link_regeneration.py
|
|
11
6
|
tracebloc/_linking.py
|
|
12
|
-
tracebloc/_raw_width_note.py
|
|
13
|
-
tracebloc/_stored_link.py
|
|
14
7
|
tracebloc/_upload_conversion.py
|
|
15
8
|
tracebloc/checks.py
|
|
16
9
|
tracebloc/client.py
|
|
@@ -22,11 +15,6 @@ tracebloc/inference.py
|
|
|
22
15
|
tracebloc/library_fetch.py
|
|
23
16
|
tracebloc/lifelines_weights.py
|
|
24
17
|
tracebloc/link_model_dataset.py
|
|
25
|
-
tracebloc/raw_mode_frame.py
|
|
26
|
-
tracebloc/raw_mode_seed.py
|
|
27
|
-
tracebloc/raw_mode_survival.py
|
|
28
|
-
tracebloc/raw_mode_torch.py
|
|
29
|
-
tracebloc/seed_weights.py
|
|
30
18
|
tracebloc/user.py
|
|
31
19
|
tracebloc.egg-info/PKG-INFO
|
|
32
20
|
tracebloc.egg-info/SOURCES.txt
|
|
@@ -197,14 +185,11 @@ tracebloc/utils/device.py
|
|
|
197
185
|
tracebloc/utils/entry_point.py
|
|
198
186
|
tracebloc/utils/errors.py
|
|
199
187
|
tracebloc/utils/feature_dict.py
|
|
200
|
-
tracebloc/utils/general_utils.py
|
|
201
|
-
tracebloc/utils/key_point_detection_utils.py
|
|
202
188
|
tracebloc/utils/model_loading.py
|
|
203
189
|
tracebloc/utils/model_params.py
|
|
204
190
|
tracebloc/utils/registry.py
|
|
205
191
|
tracebloc/utils/resources.py
|
|
206
192
|
tracebloc/utils/safetensors_io.py
|
|
207
|
-
tracebloc/utils/semantic_segmentation_utils.py
|
|
208
193
|
tracebloc/utils/tabular_classification_utils.py
|
|
209
194
|
tracebloc/utils/tabular_custom_loss_utils.py
|
|
210
195
|
tracebloc/utils/tabular_regression_utils.py
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.compat.deprecation`.
|
|
2
|
-
|
|
3
|
-
Every name stays importable from this path for existing callers; new code
|
|
4
|
-
imports from the new module.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from tracebloc.compat.deprecation import ( # noqa: F401 (re-export, RFC-0348 C.3)
|
|
8
|
-
deprecated_aliases,
|
|
9
|
-
discard_removed_kwarg,
|
|
10
|
-
_Sentinel,
|
|
11
|
-
UNSET,
|
|
12
|
-
resolve_renamed_kwarg,
|
|
13
|
-
)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.compat.frameworks`.
|
|
2
|
-
|
|
3
|
-
Every name stays importable from this path for existing callers; new code
|
|
4
|
-
imports from the new module.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from tracebloc.compat.frameworks import ( # noqa: F401 (re-export, RFC-0348 C.3)
|
|
8
|
-
_PYPI_EXTRAS_URL,
|
|
9
|
-
_DISTRIBUTION,
|
|
10
|
-
_META_EXTRAS,
|
|
11
|
-
_IMPORT_TO_DISTRIBUTION,
|
|
12
|
-
_EXTRA_MARKER,
|
|
13
|
-
_REQUIREMENT_NAME,
|
|
14
|
-
_normalize,
|
|
15
|
-
_declared_requirements,
|
|
16
|
-
build_module_extras,
|
|
17
|
-
_distribution_extras,
|
|
18
|
-
_ModuleExtras,
|
|
19
|
-
_MODULE_TO_EXTRA,
|
|
20
|
-
extra_for_module,
|
|
21
|
-
missing_extra_hint,
|
|
22
|
-
extras_for,
|
|
23
|
-
require_module,
|
|
24
|
-
_LOGICAL_TO_MODULE,
|
|
25
|
-
require_framework,
|
|
26
|
-
)
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.api.responses`.
|
|
2
|
-
|
|
3
|
-
Every name stays importable from this path for existing callers; new code
|
|
4
|
-
imports from the new module.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from tracebloc.api.responses import ( # noqa: F401 (re-export, RFC-0348 C.3)
|
|
8
|
-
_extract_error_message,
|
|
9
|
-
LOAD_FAILED_PREFIX,
|
|
10
|
-
REUPLOAD_HINT,
|
|
11
|
-
is_load_failed,
|
|
12
|
-
)
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.1): moved to
|
|
2
|
-
:mod:`tracebloc.linking.answer`. Every name stays importable from this path
|
|
3
|
-
for existing callers; new code imports from the new module.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from tracebloc.linking.answer import ( # noqa: F401 (re-export, RFC-0348 C.1)
|
|
7
|
-
compared_keys,
|
|
8
|
-
)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.1): moved to
|
|
2
|
-
:mod:`tracebloc.linking.regeneration`. Every name stays importable from this path
|
|
3
|
-
for existing callers; new code imports from the new module.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from tracebloc.linking.regeneration import ( # noqa: F401 (re-export, RFC-0348 C.1)
|
|
7
|
-
_class_count,
|
|
8
|
-
_folded,
|
|
9
|
-
_head_keys,
|
|
10
|
-
_PLACEHOLDER_LABEL,
|
|
11
|
-
_positive_int,
|
|
12
|
-
_put_back,
|
|
13
|
-
_remove,
|
|
14
|
-
_restored_on_error,
|
|
15
|
-
_rewrite,
|
|
16
|
-
align_head,
|
|
17
|
-
ALIGNED_HEAD,
|
|
18
|
-
changed_counts,
|
|
19
|
-
dataset_counts,
|
|
20
|
-
HEAD_CLASS_ORDER,
|
|
21
|
-
HEAD_PREFIXES,
|
|
22
|
-
head_rows,
|
|
23
|
-
ID2LABEL,
|
|
24
|
-
regenerated_for_link,
|
|
25
|
-
)
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.raw_mode.width_note`.
|
|
2
|
-
|
|
3
|
-
Every name stays importable from this path for existing callers; new code
|
|
4
|
-
imports from the new module.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from tracebloc.raw_mode.width_note import ( # noqa: F401 (re-export, RFC-0348 C.3)
|
|
8
|
-
ONE_HOT_EXPECTED,
|
|
9
|
-
_START_REFUSAL,
|
|
10
|
-
_note,
|
|
11
|
-
raw_width_note,
|
|
12
|
-
)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.1): moved to
|
|
2
|
-
:mod:`tracebloc.linking.stored`. Every name stays importable from this path
|
|
3
|
-
for existing callers; new code imports from the new module.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from tracebloc.linking.stored import ( # noqa: F401 (re-export, RFC-0348 C.1)
|
|
7
|
-
_posix_stem,
|
|
8
|
-
check_weights_without_upload,
|
|
9
|
-
fetch_stored_model,
|
|
10
|
-
LIBRARY_MODEL_ID,
|
|
11
|
-
library_pick,
|
|
12
|
-
LIBRARY_REFUSAL_HINTS,
|
|
13
|
-
LIBRARY_VERSION,
|
|
14
|
-
raise_library_refusal,
|
|
15
|
-
stored_link_request,
|
|
16
|
-
STORED_MODEL,
|
|
17
|
-
STORED_MODEL_HINT,
|
|
18
|
-
stored_model_identity,
|
|
19
|
-
TEMPLATE,
|
|
20
|
-
WEIGHTS_FILE_ID,
|
|
21
|
-
)
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"""Compatibility with older SDK versions and optional extras (RFC-0348 C.3).
|
|
2
|
-
|
|
3
|
-
``deprecation`` holds the rename and retirement warnings; ``frameworks`` the
|
|
4
|
-
guarded imports for the optional ML-framework extras. The old root modules
|
|
5
|
-
``tracebloc.compat.deprecation`` and ``tracebloc.compat.frameworks`` re-export them.
|
|
6
|
-
"""
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.2): moved to
|
|
2
|
-
:mod:`tracebloc.raw_mode.frame_recording`. Every name stays importable from this path
|
|
3
|
-
for existing callers; new code imports from the new module.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from tracebloc.raw_mode.frame_recording import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
7
|
-
_ColumnAttributeError,
|
|
8
|
-
record_escaped,
|
|
9
|
-
recording_frame_type,
|
|
10
|
-
reads_frames,
|
|
11
|
-
raw_upload_failure,
|
|
12
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.2): moved to
|
|
2
|
-
:mod:`tracebloc.raw_mode.seed_prefixes`. Every name stays importable from this path
|
|
3
|
-
for existing callers; new code imports from the new module.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from tracebloc.raw_mode.seed_prefixes import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
7
|
-
_declares_framework,
|
|
8
|
-
seed_excluded_prefixes,
|
|
9
|
-
)
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.2): moved to
|
|
2
|
-
:mod:`tracebloc.raw_mode.survival`. Every name stays importable from this path
|
|
3
|
-
for existing callers; new code imports from the new module.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from tracebloc.raw_mode.survival import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
7
|
-
TIME_COLUMN,
|
|
8
|
-
SURVIVAL_EXCLUDED,
|
|
9
|
-
LIFELINES_INTERCEPT,
|
|
10
|
-
RISK_METHODS,
|
|
11
|
-
_NO_COVARIATES,
|
|
12
|
-
_unique,
|
|
13
|
-
lifelines_covariates,
|
|
14
|
-
_held,
|
|
15
|
-
survival_covariates,
|
|
16
|
-
check_survival_model,
|
|
17
|
-
survival_input_contract,
|
|
18
|
-
)
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.2): moved to
|
|
2
|
-
:mod:`tracebloc.raw_mode.torch_checks`. Every name stays importable from this path
|
|
3
|
-
for existing callers; new code imports from the new module.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from tracebloc.raw_mode.torch_checks import ( # noqa: F401 (re-export, RFC-0348 C.2)
|
|
7
|
-
SEQUENCE_ID_COLUMN,
|
|
8
|
-
TIMESTAMP_COLUMN,
|
|
9
|
-
TABULAR_ROWS,
|
|
10
|
-
SEQUENCE_LENGTHS,
|
|
11
|
-
_KINDS,
|
|
12
|
-
_UntypedError,
|
|
13
|
-
_kind,
|
|
14
|
-
_column,
|
|
15
|
-
_frame,
|
|
16
|
-
_refuse_missing,
|
|
17
|
-
_call,
|
|
18
|
-
_recording_frame_type,
|
|
19
|
-
_numbers,
|
|
20
|
-
fitted_module,
|
|
21
|
-
_check_tabular_output,
|
|
22
|
-
check_torch_tabular,
|
|
23
|
-
check_series_classification,
|
|
24
|
-
check_series_forecasting,
|
|
25
|
-
_contract,
|
|
26
|
-
torch_input_contract,
|
|
27
|
-
)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"""Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.downloads.seed_weights`.
|
|
2
|
-
|
|
3
|
-
Every name stays importable from this path for existing callers; new code
|
|
4
|
-
imports from the new module.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from tracebloc.downloads.seed_weights import ( # noqa: F401 (re-export, RFC-0348 C.3)
|
|
8
|
-
_STEM,
|
|
9
|
-
_SHA256,
|
|
10
|
-
_SEED_FILE,
|
|
11
|
-
_DECLARED,
|
|
12
|
-
_POD_HINT,
|
|
13
|
-
_sha256_of,
|
|
14
|
-
_describe,
|
|
15
|
-
_refuse_foreign_weights,
|
|
16
|
-
_open_presigned,
|
|
17
|
-
_verify,
|
|
18
|
-
fetch_seed_weights,
|
|
19
|
-
_model_source,
|
|
20
|
-
seed_template_of,
|
|
21
|
-
_template_id_of,
|
|
22
|
-
skipped_seed_warning,
|
|
23
|
-
warn_if_seed_skipped,
|
|
24
|
-
)
|