truss 0.11.1rc5__tar.gz → 0.11.1rc7__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.
Potentially problematic release.
This version of truss might be problematic. Click here for more details.
- {truss-0.11.1rc5 → truss-0.11.1rc7}/PKG-INFO +1 -1
- {truss-0.11.1rc5 → truss-0.11.1rc7}/pyproject.toml +1 -1
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/base/constants.py +1 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/core.py +156 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_checkpoints/deploy_checkpoints.py +13 -1
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train_commands.py +72 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/requirements.txt +1 -1
- truss-0.11.1rc7/truss/templates/train/config.py +46 -0
- truss-0.11.1rc7/truss/templates/train/run.sh +11 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/cli/train/test_deploy_checkpoints.py +3 -3
- truss-0.11.1rc7/truss/tests/cli/train/test_train_init.py +499 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/remote_chainlet/utils.py +5 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/.github/pull_request_template.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/.gitignore +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/CODE_OF_CONDUCT.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/CONTRIBUTING.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/LICENSE +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/android-arm-eabi/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/android-arm64/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/darwin-arm64/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/darwin-universal/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/darwin-x64/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/freebsd-x64/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/linux-arm-gnueabihf/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/linux-arm-musleabihf/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/linux-arm64-gnu/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/linux-arm64-musl/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/linux-riscv64-gnu/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/linux-x64-gnu/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/linux-x64-musl/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/win32-arm64-msvc/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/win32-ia32-msvc/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/node_bindings/npm/win32-x64-msvc/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/python_bindings/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/baseten-performance-client/scripts/README_nodejs.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/context_builder.Dockerfile +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/docs/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/docs/chains/doc_gen/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/docs/contribute/base-images.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/docs/contribute/release.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/api/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/api/definitions.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/base/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/base/custom_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/base/errors.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/base/trt_llm_config.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/base/truss_config.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/base/truss_spec.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/chains_commands.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/cli.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/logs/base_watcher.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/logs/model_log_watcher.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/logs/training_log_watcher.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/logs/utils.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/remote_cli.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/common.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_checkpoints/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_checkpoints/deploy_checkpoints_helpers.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_checkpoints/deploy_full_checkpoints.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_checkpoints/deploy_lora_checkpoints.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_checkpoints/deploy_whisper_checkpoints.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_from_checkpoint_config.yml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_from_checkpoint_config_whisper.yml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/metrics_watcher.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/poller.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/utils/common.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/utils/output.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/utils/self_upgrade.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/docker_build_setup.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/image_builder/cache_warmer.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/image_builder/image_builder.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/image_builder/serving_image_builder.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/image_builder/util.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/local_loader/docker_build_emulator.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/local_loader/dockerfile_parser.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/local_loader/load_model_local.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/local_loader/truss_module_loader.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/local_loader/utils.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/contexts/truss_context.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/local/local_config.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/local/local_config_handler.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/patch/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/patch/hash.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/patch/signature.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/patch/truss_dir_patch_applier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/api.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/auth.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/core.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/custom_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/error.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/remote.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/rest_client.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/service.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/utils/status.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/utils/tar.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/utils/time.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/baseten/utils/transfer.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/remote_factory.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/remote/truss_remote.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/README.md.jinja +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/base.Dockerfile.jinja +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/cache.Dockerfile.jinja +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/cache_requirements.txt +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/application.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/endpoints.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/context_managers.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/custom_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/errors.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/inference_server_controller.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/inference_server_process_controller.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/inference_server_starter.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/truss_patch/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/truss_patch/model_code_patch_applier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/truss_patch/model_container_patch_applier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/truss_patch/requirement_name_identifier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/helpers/truss_patch/system_packages.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/control/control/server.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/copy_cache_files.Dockerfile.jinja +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/custom/examples.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/custom/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/custom/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/custom_python_dx/my_model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/docker_server/proxy.conf.jinja +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/docker_server/supervisord.conf.jinja +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/docker_server_requirements.txt +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/common/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/common/errors.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/common/patches/whisper/patch.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/common/patches.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/common/retry.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/common/schema.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/common/tracing.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/main.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/model_wrapper.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/requirements.txt +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server/truss_server.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/server.Dockerfile.jinja +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/shared/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/shared/dynamic_config_resolver.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/shared/lazy_data_resolver.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/shared/log_config.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/shared/secrets_resolver.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/shared/serialization.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/shared/util.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/sigint_patch.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/whisper_trt/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/whisper_trt/assets.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/whisper_trt/batching.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/whisper_trt/custom_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/whisper_trt/modeling.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/whisper_trt/tokenizer.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-audio/packages/whisper_trt/utils.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-briton/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/templates/trtllm-briton/src/extension.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/cli/test_cli.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/cli/train/resources/test_deploy_from_checkpoint_config.yml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/cli/train/test_cache_view.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/cli/train/test_train_cli_core.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/conftest.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/contexts/image_builder/test_serving_image_builder.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/contexts/local_loader/test_load_local.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/contexts/local_loader/test_truss_module_finder.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/helpers.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/local/test_local_config_handler.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/patch/test_calc_patch.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/patch/test_dir_signature.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/patch/test_hash.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/patch/test_signature.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/patch/test_truss_dir_patch_applier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/patch/test_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/baseten/conftest.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/baseten/test_api.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/baseten/test_auth.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/baseten/test_core.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/baseten/test_remote.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/baseten/test_service.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/test_remote_factory.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/remote/test_truss_remote.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/control/control/helpers/test_context_managers.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/control/control/helpers/test_model_container_patch_applier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/control/control/helpers/test_requirement_name_identifier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/control/control/test_endpoints.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/control/control/test_server.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/control/control/test_server_integration.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/core/server/test_dynamic_config_resolver.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/core/server/test_lazy_data_resolver_v2.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/core/server/test_secrets_resolver.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/server/common/test_retry.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/server/test_model_wrapper.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/server/test_schema.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/templates/server/test_truss_server.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_build.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_config.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_context_builder_image.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_control_truss_patching.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_custom_server.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/annotated_types_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/annotated_types_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/annotated_types_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/annotated_types_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/auto-mpg.data +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/context_builder_image_test/Dockerfile +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/context_builder_image_test/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/context_builder_image_test/test.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/gcs_fix/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/gcs_fix/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/gcs_fix/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/gcs_fix/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/happy.ipynb +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/model_load_failure_test/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/model_load_failure_test/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/model_load_failure_test/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/model_load_failure_test/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/patch_ping_test_server/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/patch_ping_test_server/app.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/pima-indians-diabetes.csv +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/readme_int_example.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/readme_no_example.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/readme_str_example.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/server.Dockerfile +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/server_conformance_test_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/server_conformance_test_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/server_conformance_test_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/server_conformance_test_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_async_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_async_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_async_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_async_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_basic_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_basic_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_basic_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_basic_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands_failure/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands_failure/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands_failure/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_build_commands_failure/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_concurrency_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_concurrency_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_concurrency_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_concurrency_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/test_docker_image/Dockerfile +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/test_docker_image/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/test_docker_image/VERSION +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/test_docker_image/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/test_docker_image/app.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_custom_server_truss/test_docker_image/build_upload_new_image.sh +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_env_vars/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_go_custom_server_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_go_custom_server_truss/docker/Dockerfile +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_go_custom_server_truss/docker/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_go_custom_server_truss/docker/VERSION +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_go_custom_server_truss/docker/build_upload_new_image.sh +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_go_custom_server_truss/docker/main.go +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_openai/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_openai/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_openai/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_openai/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v1/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v1/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v1/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v1/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v1/requirements.txt +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v2/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v2/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v2/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v2/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_pyantic_v2/requirements.txt +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_requirements_file_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_requirements_file_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_requirements_file_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_requirements_file_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_requirements_file_truss/requirements.txt +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_async_generator_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_async_generator_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_async_generator_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_async_generator_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_read_timeout/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_read_timeout/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_read_timeout/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_read_timeout/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_error/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_error/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_error/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_error/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_error/packages/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_error/packages/helpers_1.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_error/packages/helpers_2.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_tracing/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_tracing/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_tracing/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_streaming_truss_with_tracing/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_trt_llm_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_trt_llm_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_trt_llm_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_trt_llm_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/examples.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/model/dummy +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/packages/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/packages/test_package/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss/packages/test_package/test.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v1/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v1/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v1/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v1/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v2/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v2/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v2/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_server_model_cache_v2/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_with_error/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_with_error/config.yaml +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_with_error/model/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_with_error/model/model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_with_error/packages/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_with_error/packages/helpers_1.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_data/test_truss_with_error/packages/helpers_2.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_docker.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_model_inference.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_model_schema.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_testing_utilities_for_other_tests.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_truss_gatherer.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_truss_handle.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/test_util.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/trt_llm/test_trt_llm_config.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/trt_llm/test_validation.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/util/test_config_checks.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/util/test_env_vars.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/tests/util/test_path.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/trt_llm/config_checks.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/trt_llm/validation.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/build.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/decorators.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/calc_patch.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/constants.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/custom_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/dir_signature.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/hash.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/local_truss_patch_applier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/signature.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/patch/truss_dir_patch_applier.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/readme_generator.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/truss_gatherer.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/truss_handle/truss_handle.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/.truss_ignore +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/docker.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/download.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/env_vars.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/gpu.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/jinja.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/log_utils.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/notebook.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/path.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/requirements.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss/util/user_config.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/examples/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/examples/audio-transcription/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/examples/rag/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/tests/itest_chain/requirements.txt +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/deployment/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/deployment/code_gen.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/deployment/deployment_client.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/framework.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/private_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/public_api.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/public_types.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/py.typed +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/pydantic_numpy.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/reference_code/reference_chainlet.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/reference_code/reference_model.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/remote_chainlet/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/remote_chainlet/model_skeleton.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/remote_chainlet/stub.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/streaming.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-chains/truss_chains/utils.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-train/truss_train/__init__.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-train/truss_train/definitions.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-train/truss_train/deployment.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-train/truss_train/loader.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-train/truss_train/public_api.py +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-transfer/README.md +0 -0
- {truss-0.11.1rc5 → truss-0.11.1rc7}/truss-transfer/tests/README.md +0 -0
|
@@ -18,6 +18,7 @@ SHARED_SERVING_AND_TRAINING_CODE_DIR: pathlib.Path = (
|
|
|
18
18
|
CONTROL_SERVER_CODE_DIR: pathlib.Path = TEMPLATES_DIR / "control"
|
|
19
19
|
CHAINS_CODE_DIR: pathlib.Path = _TRUSS_ROOT.parent / "truss-chains" / "truss_chains"
|
|
20
20
|
TRUSS_CODE_DIR: pathlib.Path = _TRUSS_ROOT.parent / "truss"
|
|
21
|
+
TRAINING_TEMPLATE_DIR = TEMPLATES_DIR / "train"
|
|
21
22
|
# Must be sorted ascendingly.
|
|
22
23
|
SUPPORTED_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
23
24
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import base64
|
|
1
2
|
import json
|
|
2
3
|
import os
|
|
3
4
|
import tarfile
|
|
@@ -8,6 +9,7 @@ from pathlib import Path
|
|
|
8
9
|
from typing import Any, Callable, Dict, Optional, Tuple
|
|
9
10
|
|
|
10
11
|
import click
|
|
12
|
+
import requests
|
|
11
13
|
import rich
|
|
12
14
|
from InquirerPy import inquirer
|
|
13
15
|
from rich.text import Text
|
|
@@ -355,6 +357,7 @@ def download_training_job_data(
|
|
|
355
357
|
temp_path.write_bytes(content)
|
|
356
358
|
|
|
357
359
|
unzip_dir = output_dir / artifact_base_name
|
|
360
|
+
unzip_dir = Path(str(unzip_dir).replace(" ", "-"))
|
|
358
361
|
if unzip_dir.exists():
|
|
359
362
|
raise click.ClickException(
|
|
360
363
|
f"Directory '{unzip_dir}' already exists. "
|
|
@@ -367,6 +370,7 @@ def download_training_job_data(
|
|
|
367
370
|
|
|
368
371
|
return unzip_dir
|
|
369
372
|
else:
|
|
373
|
+
target_path = Path(str(target_path).replace(" ", "-"))
|
|
370
374
|
target_path.write_bytes(content)
|
|
371
375
|
return target_path
|
|
372
376
|
|
|
@@ -417,6 +421,158 @@ def status_page_url(remote_url: str, training_job_id: str) -> str:
|
|
|
417
421
|
return f"{remote_url}/training/jobs/{training_job_id}"
|
|
418
422
|
|
|
419
423
|
|
|
424
|
+
def _get_all_train_init_example_options(
|
|
425
|
+
repo_id: str = "ml-cookbook",
|
|
426
|
+
examples_subdir: str = "examples",
|
|
427
|
+
token: Optional[str] = None,
|
|
428
|
+
) -> list[str]:
|
|
429
|
+
"""
|
|
430
|
+
Retrieve a list of all example options from the ml-cookbook repository to
|
|
431
|
+
copy locally for training initialization. This method generates a list
|
|
432
|
+
of examples and URL paths to show the user for selection.
|
|
433
|
+
"""
|
|
434
|
+
headers = {}
|
|
435
|
+
if token:
|
|
436
|
+
headers["Authorization"] = f"token {token}"
|
|
437
|
+
|
|
438
|
+
url = (
|
|
439
|
+
f"https://api.github.com/repos/basetenlabs/{repo_id}/contents/{examples_subdir}"
|
|
440
|
+
)
|
|
441
|
+
try:
|
|
442
|
+
response = requests.get(url, headers=headers)
|
|
443
|
+
response.raise_for_status()
|
|
444
|
+
|
|
445
|
+
items = response.json()
|
|
446
|
+
if not isinstance(items, list):
|
|
447
|
+
items = [items]
|
|
448
|
+
items = [item["name"] for item in items if item["type"] == "dir"]
|
|
449
|
+
return items
|
|
450
|
+
|
|
451
|
+
except requests.exceptions.RequestException as e:
|
|
452
|
+
click.echo(
|
|
453
|
+
f"Error exploring directory: {e}. Please file an issue at https://github.com/basetenlabs/truss/issues"
|
|
454
|
+
)
|
|
455
|
+
return []
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
def _get_train_init_example_info(
|
|
459
|
+
repo_id: str = "ml-cookbook",
|
|
460
|
+
examples_subdir: str = "examples",
|
|
461
|
+
example_name: Optional[str] = None,
|
|
462
|
+
token: Optional[str] = None,
|
|
463
|
+
) -> list[Dict[str, str]]:
|
|
464
|
+
"""
|
|
465
|
+
Retrieve directory download links for the example from the ml-cookbook repository to
|
|
466
|
+
copy locally for training initialization.
|
|
467
|
+
"""
|
|
468
|
+
headers = {}
|
|
469
|
+
if token:
|
|
470
|
+
headers["Authorization"] = f"token {token}"
|
|
471
|
+
|
|
472
|
+
url = f"https://api.github.com/repos/basetenlabs/{repo_id}/contents/{examples_subdir}/{example_name}"
|
|
473
|
+
|
|
474
|
+
try:
|
|
475
|
+
response = requests.get(url, headers=headers)
|
|
476
|
+
response.raise_for_status()
|
|
477
|
+
|
|
478
|
+
items = response.json()
|
|
479
|
+
if not isinstance(items, list):
|
|
480
|
+
items = [items]
|
|
481
|
+
return items
|
|
482
|
+
|
|
483
|
+
except requests.exceptions.HTTPError as e:
|
|
484
|
+
if response.status_code == 404:
|
|
485
|
+
# example_name does not exist, return empty list
|
|
486
|
+
return []
|
|
487
|
+
else:
|
|
488
|
+
# Other HTTP errors
|
|
489
|
+
click.echo(
|
|
490
|
+
f"Error exploring directory: {e}. Please file an issue at https://github.com/basetenlabs/truss/issues"
|
|
491
|
+
)
|
|
492
|
+
return []
|
|
493
|
+
except requests.exceptions.RequestException as e:
|
|
494
|
+
# Network or other request errors
|
|
495
|
+
click.echo(
|
|
496
|
+
f"Error exploring directory: {e}. Please file an issue at https://github.com/basetenlabs/truss/issues"
|
|
497
|
+
)
|
|
498
|
+
return []
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
def download_git_directory(
|
|
502
|
+
git_api_url: str, local_dir: str, token: Optional[str] = None
|
|
503
|
+
):
|
|
504
|
+
"""
|
|
505
|
+
Recursively download directory contents from git api url.
|
|
506
|
+
Special handling for 'training' directory: downloads its contents directly
|
|
507
|
+
to local_dir without creating a 'training' subdirectory.
|
|
508
|
+
Args:
|
|
509
|
+
git_api_url (str): Example format "https://api.github.com/repos/basetenlabs/ml-cookbook/contents/examples/llama-finetune-8b-lora?ref=main"
|
|
510
|
+
local_dir(str): Local directory to download this directory to
|
|
511
|
+
"""
|
|
512
|
+
headers = {}
|
|
513
|
+
if token:
|
|
514
|
+
headers["Authorization"] = f"token {token}"
|
|
515
|
+
try:
|
|
516
|
+
response = requests.get(git_api_url, headers=headers)
|
|
517
|
+
response.raise_for_status()
|
|
518
|
+
items = response.json()
|
|
519
|
+
|
|
520
|
+
# Handle single file case
|
|
521
|
+
if not isinstance(items, list):
|
|
522
|
+
items = [items]
|
|
523
|
+
|
|
524
|
+
# Create local directory
|
|
525
|
+
print(f"Creating directory {local_dir}")
|
|
526
|
+
os.makedirs(local_dir, exist_ok=True)
|
|
527
|
+
|
|
528
|
+
# Check if there's a 'training' directory in the items
|
|
529
|
+
training_dir = None
|
|
530
|
+
other_items = []
|
|
531
|
+
|
|
532
|
+
for item in items:
|
|
533
|
+
if item["name"] == "training" and item["type"] == "dir":
|
|
534
|
+
training_dir = item
|
|
535
|
+
else:
|
|
536
|
+
other_items.append(item)
|
|
537
|
+
|
|
538
|
+
# If training directory exists, download its contents directly to local_dir
|
|
539
|
+
if training_dir:
|
|
540
|
+
print(
|
|
541
|
+
f"📁 Found training directory, downloading its contents to {local_dir}"
|
|
542
|
+
)
|
|
543
|
+
return download_git_directory(training_dir["url"], local_dir)
|
|
544
|
+
|
|
545
|
+
# If no training directory, download all files normally
|
|
546
|
+
for item in other_items:
|
|
547
|
+
item_name = item["name"]
|
|
548
|
+
local_item_path = os.path.join(local_dir, item_name)
|
|
549
|
+
|
|
550
|
+
if item["type"] == "file":
|
|
551
|
+
print(f"📄 Downloading {item_name}")
|
|
552
|
+
if item.get("download_url"):
|
|
553
|
+
# Download file directly
|
|
554
|
+
file_response = requests.get(item["download_url"])
|
|
555
|
+
file_response.raise_for_status()
|
|
556
|
+
with open(local_item_path, "wb") as f:
|
|
557
|
+
f.write(file_response.content)
|
|
558
|
+
elif item.get("content"):
|
|
559
|
+
# Decode base64 content (for small files)
|
|
560
|
+
try:
|
|
561
|
+
content = base64.b64decode(item["content"])
|
|
562
|
+
with open(local_item_path, "wb") as f:
|
|
563
|
+
f.write(content)
|
|
564
|
+
except Exception as e:
|
|
565
|
+
print(f"⚠️ Could not decode {item_name}: {e}")
|
|
566
|
+
elif item["type"] == "dir":
|
|
567
|
+
print(f"📁 Entering directory {item_name}")
|
|
568
|
+
# Use the API URL from the response for subdirectories
|
|
569
|
+
download_git_directory(item["url"], local_item_path)
|
|
570
|
+
return True
|
|
571
|
+
except Exception as e:
|
|
572
|
+
print(f"Error processing response: {e}")
|
|
573
|
+
return False
|
|
574
|
+
|
|
575
|
+
|
|
420
576
|
def fetch_project_by_name_or_id(
|
|
421
577
|
remote_provider: BasetenRemote, project_identifier: str
|
|
422
578
|
) -> dict:
|
{truss-0.11.1rc5 → truss-0.11.1rc7}/truss/cli/train/deploy_checkpoints/deploy_checkpoints.py
RENAMED
|
@@ -296,10 +296,22 @@ def _get_checkpoint_ids_to_deploy(
|
|
|
296
296
|
return checkpoint_ids
|
|
297
297
|
|
|
298
298
|
|
|
299
|
+
def _select_single_checkpoint(checkpoint_id_options: List[str]) -> List[str]:
|
|
300
|
+
"""Select a single checkpoint using interactive prompt."""
|
|
301
|
+
checkpoint_id = inquirer.select(
|
|
302
|
+
message="Select the checkpoints to deploy:", choices=checkpoint_id_options
|
|
303
|
+
).execute()
|
|
304
|
+
|
|
305
|
+
if not checkpoint_id:
|
|
306
|
+
raise click.UsageError("A checkpoint must be selected.")
|
|
307
|
+
|
|
308
|
+
return [checkpoint_id]
|
|
309
|
+
|
|
310
|
+
|
|
299
311
|
def _select_multiple_checkpoints(checkpoint_id_options: List[str]) -> List[str]:
|
|
300
312
|
"""Select multiple checkpoints using interactive checkbox."""
|
|
301
313
|
checkpoint_ids = inquirer.checkbox(
|
|
302
|
-
message="
|
|
314
|
+
message="Use spacebar to select/deselect checkpoints to deploy. Press enter when done.",
|
|
303
315
|
choices=checkpoint_id_options,
|
|
304
316
|
).execute()
|
|
305
317
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import os
|
|
1
2
|
import sys
|
|
2
3
|
from pathlib import Path
|
|
3
4
|
from typing import Optional, cast
|
|
@@ -5,6 +6,7 @@ from typing import Optional, cast
|
|
|
5
6
|
import rich_click as click
|
|
6
7
|
|
|
7
8
|
import truss.cli.train.core as train_cli
|
|
9
|
+
from truss.base.constants import TRAINING_TEMPLATE_DIR
|
|
8
10
|
from truss.cli import remote_cli
|
|
9
11
|
from truss.cli.cli import push, truss_cli
|
|
10
12
|
from truss.cli.logs import utils as cli_log_utils
|
|
@@ -25,6 +27,7 @@ from truss.cli.utils.output import console, error_console
|
|
|
25
27
|
from truss.remote.baseten.core import get_training_job_logs_with_pagination
|
|
26
28
|
from truss.remote.baseten.remote import BasetenRemote
|
|
27
29
|
from truss.remote.remote_factory import RemoteFactory
|
|
30
|
+
from truss.util.path import copy_tree_path
|
|
28
31
|
from truss_train import TrainingJob
|
|
29
32
|
|
|
30
33
|
|
|
@@ -381,6 +384,75 @@ def download_checkpoint_artifacts(job_id: Optional[str], remote: Optional[str])
|
|
|
381
384
|
sys.exit(1)
|
|
382
385
|
|
|
383
386
|
|
|
387
|
+
@train.command(name="init")
|
|
388
|
+
@click.option("--list-examples", is_flag=True, help="List all available examples.")
|
|
389
|
+
@click.option("--target-directory", type=str, required=False)
|
|
390
|
+
@click.option("--examples", type=str, required=False)
|
|
391
|
+
@common.common_options()
|
|
392
|
+
def init_training_job(
|
|
393
|
+
list_examples: Optional[bool],
|
|
394
|
+
target_directory: Optional[str],
|
|
395
|
+
examples: Optional[str],
|
|
396
|
+
) -> None:
|
|
397
|
+
try:
|
|
398
|
+
if list_examples:
|
|
399
|
+
all_examples = train_cli._get_all_train_init_example_options()
|
|
400
|
+
console.print("Available training examples:", style="bold")
|
|
401
|
+
for example in all_examples:
|
|
402
|
+
console.print(f"- {example}")
|
|
403
|
+
console.print(
|
|
404
|
+
"To launch, run `truss train init --examples <example1,example2>`",
|
|
405
|
+
style="bold",
|
|
406
|
+
)
|
|
407
|
+
return
|
|
408
|
+
|
|
409
|
+
selected_options = examples.split(",") if examples else []
|
|
410
|
+
|
|
411
|
+
# No examples selected, initialize empty training project structure
|
|
412
|
+
if not selected_options:
|
|
413
|
+
if target_directory is None:
|
|
414
|
+
target_directory = "truss-train-init"
|
|
415
|
+
console.print(f"Initializing empty training project at {target_directory}")
|
|
416
|
+
os.makedirs(target_directory)
|
|
417
|
+
copy_tree_path(Path(TRAINING_TEMPLATE_DIR), Path(target_directory))
|
|
418
|
+
console.print(
|
|
419
|
+
f"✨ Empty training project initialized at {target_directory}",
|
|
420
|
+
style="bold green",
|
|
421
|
+
)
|
|
422
|
+
return
|
|
423
|
+
|
|
424
|
+
if target_directory is None:
|
|
425
|
+
target_directory = os.getcwd()
|
|
426
|
+
for example_to_download in selected_options:
|
|
427
|
+
download_info = train_cli._get_train_init_example_info(
|
|
428
|
+
example_name=example_to_download
|
|
429
|
+
)
|
|
430
|
+
local_dir = os.path.join(target_directory, example_to_download)
|
|
431
|
+
|
|
432
|
+
if not download_info:
|
|
433
|
+
all_examples = train_cli._get_all_train_init_example_options()
|
|
434
|
+
error_console.print(
|
|
435
|
+
f"Example {example_to_download} not found in the ml-cookbook repository. Examples have to be one or more comma separated values from: {', '.join(all_examples)}"
|
|
436
|
+
)
|
|
437
|
+
continue
|
|
438
|
+
success = train_cli.download_git_directory(
|
|
439
|
+
git_api_url=download_info[0]["url"], local_dir=local_dir
|
|
440
|
+
)
|
|
441
|
+
if success:
|
|
442
|
+
console.print(
|
|
443
|
+
f"✨ Training directory for {example_to_download} initialized at {local_dir}",
|
|
444
|
+
style="bold green",
|
|
445
|
+
)
|
|
446
|
+
else:
|
|
447
|
+
error_console.print(
|
|
448
|
+
f"Failed to initialize training artifacts to {local_dir}"
|
|
449
|
+
)
|
|
450
|
+
|
|
451
|
+
except Exception as e:
|
|
452
|
+
error_console.print(f"Failed to initialize training artifacts: {str(e)}")
|
|
453
|
+
sys.exit(1)
|
|
454
|
+
|
|
455
|
+
|
|
384
456
|
@train.group(name="cache")
|
|
385
457
|
def cache():
|
|
386
458
|
"""Cache-related subcommands for truss train"""
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Import necessary classes from the Baseten Training SDK
|
|
2
|
+
from truss_train import definitions
|
|
3
|
+
from truss.base import truss_config
|
|
4
|
+
|
|
5
|
+
PROJECT_NAME = "My-Baseten-Training-Project"
|
|
6
|
+
NUM_NODES = 1
|
|
7
|
+
NUM_GPUS_PER_NODE = 1
|
|
8
|
+
|
|
9
|
+
# 1. Define a base image for your training job. You can also use
|
|
10
|
+
# private images via AWS IAM or GCP Service Account authentication.
|
|
11
|
+
BASE_IMAGE = "pytorch/pytorch:2.7.0-cuda12.8-cudnn9-runtime"
|
|
12
|
+
|
|
13
|
+
# 2. Define the Runtime Environment for the Training Job
|
|
14
|
+
# This includes start commands and environment variables.
|
|
15
|
+
# Secrets from the baseten workspace like API keys are referenced using
|
|
16
|
+
# `SecretReference`.
|
|
17
|
+
training_runtime = definitions.Runtime(
|
|
18
|
+
start_commands=[ # Example: list of commands to run your training script
|
|
19
|
+
"/bin/sh -c 'chmod +x ./run.sh && ./run.sh'"
|
|
20
|
+
],
|
|
21
|
+
environment_variables={
|
|
22
|
+
# "HF_TOKEN": definitions.SecretReference(name="hf_access_token"),
|
|
23
|
+
"HELLO": "WORLD"
|
|
24
|
+
},
|
|
25
|
+
cache_config=definitions.CacheConfig(
|
|
26
|
+
enabled=False # Set to True to enable caching between runs
|
|
27
|
+
),
|
|
28
|
+
checkpointing_config=definitions.CheckpointingConfig(
|
|
29
|
+
enabled=False # Set to True to enable saving checkpoints on Baseten
|
|
30
|
+
),
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
training_compute = definitions.Compute(
|
|
34
|
+
node_count=NUM_NODES,
|
|
35
|
+
accelerator=truss_config.AcceleratorSpec(
|
|
36
|
+
accelerator=truss_config.Accelerator.H100, count=NUM_GPUS_PER_NODE
|
|
37
|
+
),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
training_job = definitions.TrainingJob(
|
|
41
|
+
image=definitions.Image(base_image=BASE_IMAGE),
|
|
42
|
+
compute=training_compute,
|
|
43
|
+
runtime=training_runtime,
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
training_project = definitions.TrainingProject(name=PROJECT_NAME, job=training_job)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Exit immediately if a command exits with a non-zero status
|
|
4
|
+
set -eux
|
|
5
|
+
|
|
6
|
+
echo "Initializing model training environment..."
|
|
7
|
+
# TODO: Call your training logic below
|
|
8
|
+
echo "Placeholder: insert your model training logic below."
|
|
9
|
+
# e.g., python train_model.py --config config.yaml --epochs 10
|
|
10
|
+
|
|
11
|
+
echo "Training process completed (placeholder)."
|
|
@@ -584,7 +584,7 @@ def test_get_checkpoint_ids_to_deploy_full_checkpoints():
|
|
|
584
584
|
mock_checkbox.assert_called_once()
|
|
585
585
|
assert (
|
|
586
586
|
mock_checkbox.call_args[1]["message"]
|
|
587
|
-
== "
|
|
587
|
+
== "Use spacebar to select/deselect checkpoints to deploy. Press enter when done."
|
|
588
588
|
)
|
|
589
589
|
assert mock_checkbox.call_args[1]["choices"] == checkpoint_options
|
|
590
590
|
|
|
@@ -621,7 +621,7 @@ def test_get_checkpoint_ids_to_deploy_lora_checkpoints():
|
|
|
621
621
|
mock_checkbox.assert_called_once()
|
|
622
622
|
assert (
|
|
623
623
|
mock_checkbox.call_args[1]["message"]
|
|
624
|
-
== "
|
|
624
|
+
== "Use spacebar to select/deselect checkpoints to deploy. Press enter when done."
|
|
625
625
|
)
|
|
626
626
|
assert mock_checkbox.call_args[1]["choices"] == checkpoint_options
|
|
627
627
|
|
|
@@ -656,7 +656,7 @@ def test_get_checkpoint_ids_to_deploy_mixed_checkpoints():
|
|
|
656
656
|
mock_checkbox.assert_called_once()
|
|
657
657
|
assert (
|
|
658
658
|
mock_checkbox.call_args[1]["message"]
|
|
659
|
-
== "
|
|
659
|
+
== "Use spacebar to select/deselect checkpoints to deploy. Press enter when done."
|
|
660
660
|
)
|
|
661
661
|
assert mock_checkbox.call_args[1]["choices"] == checkpoint_options
|
|
662
662
|
|