tracebloc 4.0.2__tar.gz → 4.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tracebloc-4.0.2 → tracebloc-4.0.3}/PKG-INFO +1 -1
- {tracebloc-4.0.2 → tracebloc-4.0.3}/pyproject.toml +1 -1
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/model_dataset.py +0 -2
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/regeneration.py +6 -24
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/response.py +0 -15
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/user_methods.py +0 -2
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/converted.py +2 -5
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/user.py +0 -1
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc.egg-info/PKG-INFO +1 -1
- {tracebloc-4.0.2 → tracebloc-4.0.3}/MANIFEST.in +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/README.md +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/license.txt +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/setup.cfg +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/_linking.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/_upload_conversion.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/api/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/api/experiment_status.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/api/responses.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/auth/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/auth/env_login.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/checks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/client.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/compat/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/compat/deprecation.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/compat/frameworks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/config.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/contracts/stage_urls.v1.json +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/contracts/stage_urls.v1.source.json +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/contracts/survival_payload.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/contracts/training_requirements.source.json +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/contracts/training_requirements.txt +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/acceptance.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/families/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/families/hf/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/families/hf/_build.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/families/hf/_model_type.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/families/tabular.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/families/vision/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/families/vision/_matching.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/gate.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/heads.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/interfaces.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/licence/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/licence/spdx.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/outputs.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/arguments.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/assemble.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/checkpoint.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/gate_rules.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/generate.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/head.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/import_check.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/layer0.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/live.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/model_class.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/remote.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/repo.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/shake.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/owncode/source_tree.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/package.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/padding.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/report.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/tokenizers.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/convert/training_versions.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/base.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/detection.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/keypoint_detection.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/semantic_segmentation.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/tabular.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/text.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/time_series.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/datasets/time_to_event.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/downloads/lifelines_weights.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/downloads/seed_weights.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/env_login.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/exceptions.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/fetch.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/inference.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/library_fetch.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/lifelines_weights.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/link_model_dataset.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/answer.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/augmentation_methods.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/check_model.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/conversion.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/data_methods.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/library.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/stored.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/linking/training_methods.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/templates/_partials.tpl +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/templates/embeddings.tpl +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/templates/nlp_finetune.tpl +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/templates/nlp_generative.tpl +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/templates/survival.tpl +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/templates/tabular_timeseries.tpl +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/notebook/templates/vision_from_scratch.tpl +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/classes.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/declaration.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/fitted_model.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/frame_recording.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/link_check.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/pairs.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/schema.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/seed_prefixes.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/sklearn_check.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/survival.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/torch_checks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/raw_mode/width_note.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/augmentation.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/callbacks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/features.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/image_channels.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/image_size.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/link_total.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/lora.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/lora_validation.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/loss.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/loss_policy.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/loss_source.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/memory_estimate.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/memory_sizing.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/plan.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/preprocessing.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/shape.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/subdataset.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/submitter.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/training/summary.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/lifelines_time_to_event.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/loss_config.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/model_params.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/model_upload.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/nlp_probes.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/scikit_survival_time_to_event.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/sequence_length.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/skl_tabular_base.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/skl_tabular_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/skl_tabular_regression.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/statistical_base.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/survival_base.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_causal_language_modeler.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_embeddings.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_handler.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_image_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_key_point_detector.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_masked_language_modeler.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_multi_label_text_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_nlp_base.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_object_detector.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_semantic_segmentation.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_sentence_pair_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_seq2seq_modeler.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_tabular_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_tabular_regression.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_text_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_text_regressor.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_time_series_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_time_series_forecaster.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_time_to_event.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/torch_token_classifier.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/user_methods.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/weight_loaders.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/weights_averaging.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/weights_check.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/upload/weights_parts.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/class_order.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/constants.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/custom_loss_probe.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/data_probes.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/declared_classes.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/declared_cls.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/detection_utils.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/device.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/entry_point.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/errors.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/feature_dict.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/model_loading.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/model_params.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/registry.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/resources.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/safetensors_io.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/staging.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/tabular_classification_utils.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/tabular_custom_loss_utils.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/tabular_regression_utils.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/text_classification_utils.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/time_series_utils.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/time_to_event_utils.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/utils/warnings_once.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/__init__.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/checker.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/estimator_checks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/header_rules.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/lifelines_checks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/pytorch_checks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/rewriter.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/scikit_survival_checks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc/validation/sklearn_checks.py +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc.egg-info/SOURCES.txt +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc.egg-info/dependency_links.txt +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/tracebloc.egg-info/requires.txt +0 -0
- {tracebloc-4.0.2 → tracebloc-4.0.3}/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 = "4.0.
|
|
7
|
+
version = "4.0.3"
|
|
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"]
|
|
@@ -120,7 +120,6 @@ class LinkModelDataset(DataPlanMethods, TrainingPlanMethods, AugmentationMethods
|
|
|
120
120
|
"image_attributes",
|
|
121
121
|
"class_order",
|
|
122
122
|
"conversion",
|
|
123
|
-
"dataset_sequence_length",
|
|
124
123
|
"max_batch_size",
|
|
125
124
|
},
|
|
126
125
|
)
|
|
@@ -183,7 +182,6 @@ class LinkModelDataset(DataPlanMethods, TrainingPlanMethods, AugmentationMethods
|
|
|
183
182
|
category=self._category,
|
|
184
183
|
batch_size=self._batch_size,
|
|
185
184
|
resources=self._resources,
|
|
186
|
-
dataset_length=kwargs.get("dataset_sequence_length"),
|
|
187
185
|
)
|
|
188
186
|
if self._converted.sequence_length is not None:
|
|
189
187
|
kwargs["data_shape"] = self._converted.sequence_length.value
|
|
@@ -73,9 +73,9 @@ def dataset_counts(
|
|
|
73
73
|
) -> dict[str, int]:
|
|
74
74
|
"""The counts the link answer gives for the dataset, by :data:`COUNT_NAMES`.
|
|
75
75
|
|
|
76
|
-
Classes for a task that has them, the feature count from the match point
|
|
77
|
-
the model was compared on
|
|
78
|
-
|
|
76
|
+
Classes for a task that has them, and the feature count from the match point
|
|
77
|
+
the model was compared on. The answer carries no sequence length or
|
|
78
|
+
vocabulary size, so a package keeps its own.
|
|
79
79
|
"""
|
|
80
80
|
counts: dict[str, int] = {}
|
|
81
81
|
if category not in NO_OUTPUT_CLASSES:
|
|
@@ -89,36 +89,18 @@ def dataset_counts(
|
|
|
89
89
|
expected = point.get("expected") if isinstance(point, Mapping) else None
|
|
90
90
|
if _positive_int(expected) is not None:
|
|
91
91
|
counts["num_feature_points"] = expected
|
|
92
|
-
for name, key in (
|
|
93
|
-
("sequence_length", "sequenceLength"),
|
|
94
|
-
("vocab_size", "vocabSize"),
|
|
95
|
-
):
|
|
96
|
-
if _positive_int(content.get(key)) is not None:
|
|
97
|
-
counts[name] = content[key]
|
|
98
92
|
return counts
|
|
99
93
|
|
|
100
94
|
|
|
101
95
|
def changed_counts(
|
|
102
96
|
header: Mapping[str, SourcedValue], dataset: Mapping[str, int]
|
|
103
97
|
) -> dict[str, tuple[Any, int]]:
|
|
104
|
-
"""``{name: (package's, dataset's)}`` for each count the package must take again.
|
|
105
|
-
|
|
106
|
-
A sequence length is taken again only when the package's is longer than the
|
|
107
|
-
dataset's sequences: a shorter one is the model's own limit, which a
|
|
108
|
-
rebuild keeps.
|
|
109
|
-
"""
|
|
98
|
+
"""``{name: (package's, dataset's)}`` for each count the package must take again."""
|
|
110
99
|
changed = {}
|
|
111
100
|
for name, wanted in dataset.items():
|
|
112
101
|
declared = header.get(name)
|
|
113
|
-
if declared is None:
|
|
114
|
-
|
|
115
|
-
have = declared.value
|
|
116
|
-
if name == "sequence_length":
|
|
117
|
-
differs = isinstance(have, int) and have > wanted
|
|
118
|
-
else:
|
|
119
|
-
differs = have != wanted
|
|
120
|
-
if differs:
|
|
121
|
-
changed[name] = (have, wanted)
|
|
102
|
+
if declared is not None and declared.value != wanted:
|
|
103
|
+
changed[name] = (declared.value, wanted)
|
|
122
104
|
return changed
|
|
123
105
|
|
|
124
106
|
|
|
@@ -241,12 +241,6 @@ def _render_mismatch_diagnostics(
|
|
|
241
241
|
# A one-output head is 1-wide whatever the dataset's bucket count.
|
|
242
242
|
width = 1 if category in SINGLE_OUTPUT else content.get("dataset_classes")
|
|
243
243
|
expected_msg += f" output_classes : {width}\n"
|
|
244
|
-
if "datasetShape" in content:
|
|
245
|
-
expected_msg += f" shape : {content['datasetShape']}\n"
|
|
246
|
-
if "sequenceLength" in content:
|
|
247
|
-
expected_msg += f" sequence_length: {content['sequenceLength']}\n"
|
|
248
|
-
if "vocabSize" in content:
|
|
249
|
-
expected_msg += f" vocab_size : {content['vocabSize']}\n"
|
|
250
244
|
keys_to_match = list(features.keys()) if features is not None else None
|
|
251
245
|
if "match_points" in content and keys_to_match:
|
|
252
246
|
match_points = content["match_points"]
|
|
@@ -269,8 +263,6 @@ def _render_mismatch_diagnostics(
|
|
|
269
263
|
model_msg = ""
|
|
270
264
|
if category not in NO_OUTPUT_CLASSES:
|
|
271
265
|
model_msg += f" output_classes : {content.get('output_class')}\n"
|
|
272
|
-
if "inputShape" in content:
|
|
273
|
-
model_msg += f" shape : {content['inputShape']}\n"
|
|
274
266
|
for key_to_match in compared_keys(content, keys_to_match):
|
|
275
267
|
if category in [
|
|
276
268
|
TABULAR_CLASSIFICATION,
|
|
@@ -317,9 +309,6 @@ class LinkSuccessState(NamedTuple):
|
|
|
317
309
|
#: output ``i``), or ``None`` when the backend sent none. The training plan
|
|
318
310
|
#: prints it in place of ``allClasses`` (backend#5686).
|
|
319
311
|
class_order: object = None
|
|
320
|
-
#: The dataset's sequence length (``sequenceLength``), or ``None`` when the
|
|
321
|
-
#: backend sent none. A converted text model's plan trains at most this long.
|
|
322
|
-
sequence_length: object = None
|
|
323
312
|
|
|
324
313
|
|
|
325
314
|
def _apply_link_success(
|
|
@@ -495,9 +484,6 @@ def _apply_link_success(
|
|
|
495
484
|
print("Please set a training plan.")
|
|
496
485
|
resources = content.get("resources")
|
|
497
486
|
class_order = content.get("class_order")
|
|
498
|
-
sequence_length = content.get("sequenceLength")
|
|
499
|
-
if isinstance(sequence_length, bool) or not isinstance(sequence_length, int):
|
|
500
|
-
sequence_length = None
|
|
501
487
|
return LinkSuccessState(
|
|
502
488
|
total_images=total_images,
|
|
503
489
|
num_classes=num_classes,
|
|
@@ -508,5 +494,4 @@ def _apply_link_success(
|
|
|
508
494
|
resources=resources if isinstance(resources, dict) else None,
|
|
509
495
|
image_attributes=image_attributes,
|
|
510
496
|
class_order=class_order if class_order_text(class_order) is not None else None,
|
|
511
|
-
sequence_length=sequence_length,
|
|
512
497
|
)
|
|
@@ -156,7 +156,6 @@ class UserLinkMethods:
|
|
|
156
156
|
image_attributes=self._User__image_attributes,
|
|
157
157
|
class_order=self._User__class_order,
|
|
158
158
|
conversion=self._User__conversion,
|
|
159
|
-
dataset_sequence_length=self._User__dataset_sequence_length,
|
|
160
159
|
)
|
|
161
160
|
|
|
162
161
|
def _User__prepare_stored_model( # noqa: N802 — User's mangled name, kept (RFC-0348 D.5)
|
|
@@ -267,7 +266,6 @@ class UserLinkMethods:
|
|
|
267
266
|
self._User__resources = state.resources
|
|
268
267
|
self._User__image_attributes = state.image_attributes
|
|
269
268
|
self._User__class_order = state.class_order
|
|
270
|
-
self._User__dataset_sequence_length = state.sequence_length
|
|
271
269
|
return
|
|
272
270
|
|
|
273
271
|
raise DatasetLinkingError(
|
|
@@ -100,14 +100,13 @@ def text_sequence_length(
|
|
|
100
100
|
category: str,
|
|
101
101
|
batch_size: Any,
|
|
102
102
|
resources: Any,
|
|
103
|
-
dataset_length: Any,
|
|
104
103
|
lora_enabled: bool,
|
|
105
104
|
tokenizer_path: Any = None,
|
|
106
105
|
) -> Any:
|
|
107
106
|
"""The length a converted text model trains at (``SequenceLength``).
|
|
108
107
|
|
|
109
108
|
The model's own limit, bounded by the memory estimate within the client's
|
|
110
|
-
per-run memory
|
|
109
|
+
per-run memory.
|
|
111
110
|
"""
|
|
112
111
|
from tracebloc.upload.sequence_length import (
|
|
113
112
|
choose_sequence_length,
|
|
@@ -123,7 +122,7 @@ def text_sequence_length(
|
|
|
123
122
|
memory_bytes=limit[0] if limit else None,
|
|
124
123
|
lora_enabled=lora_enabled,
|
|
125
124
|
)
|
|
126
|
-
return choose_sequence_length(resolved
|
|
125
|
+
return choose_sequence_length(resolved)
|
|
127
126
|
|
|
128
127
|
|
|
129
128
|
@dataclass(frozen=True)
|
|
@@ -155,7 +154,6 @@ def converted_plan(
|
|
|
155
154
|
category: str,
|
|
156
155
|
batch_size: Any,
|
|
157
156
|
resources: Any,
|
|
158
|
-
dataset_length: Any,
|
|
159
157
|
) -> ConvertedPlan:
|
|
160
158
|
"""The :class:`ConvertedPlan` for the upload ``conversion`` produced."""
|
|
161
159
|
from tracebloc.training.lora import LORA_CATEGORIES, lora_by_default
|
|
@@ -174,7 +172,6 @@ def converted_plan(
|
|
|
174
172
|
category=category,
|
|
175
173
|
batch_size=batch_size,
|
|
176
174
|
resources=resources,
|
|
177
|
-
dataset_length=dataset_length,
|
|
178
175
|
lora_enabled=lora,
|
|
179
176
|
tokenizer_path=getattr(written, "tokenizer", None),
|
|
180
177
|
)
|
|
@@ -148,7 +148,6 @@ class User(UserUploadMethods, UserLinkMethods):
|
|
|
148
148
|
``tracebloc.checks.trains`` can resolve a model file exactly the way
|
|
149
149
|
``upload_model`` does without a session (``_for_local_checks``)."""
|
|
150
150
|
self.__ext = ".py"
|
|
151
|
-
self.__dataset_sequence_length = None # the link answer's sequenceLength
|
|
152
151
|
self.__data_shape = 224
|
|
153
152
|
self.__batch_size = 16
|
|
154
153
|
self.__max_batch_size = None # the model file's, for memory sizing
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|