truss 0.11.10rc5__tar.gz → 0.11.10rc501__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.

Files changed (414) hide show
  1. {truss-0.11.10rc5 → truss-0.11.10rc501}/PKG-INFO +1 -1
  2. {truss-0.11.10rc5 → truss-0.11.10rc501}/pyproject.toml +1 -1
  3. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/core.py +3 -2
  4. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/deploy_checkpoints/deploy_checkpoints.py +2 -7
  5. truss-0.11.10rc501/truss/cli/train/deploy_checkpoints/deploy_full_checkpoints.py +9 -0
  6. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/deploy_checkpoints/deploy_lora_checkpoints.py +1 -2
  7. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/deploy_checkpoints/deploy_whisper_checkpoints.py +1 -3
  8. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/api.py +0 -1
  9. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/service.py +0 -7
  10. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/base.Dockerfile.jinja +3 -1
  11. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/server.py +1 -1
  12. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/requirements.txt +1 -2
  13. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/requirements.txt +1 -2
  14. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/truss_server.py +1 -1
  15. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server.Dockerfile.jinja +1 -1
  16. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/cli/train/test_deploy_checkpoints.py +2 -3
  17. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/baseten/test_service.py +56 -0
  18. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-train/truss_train/definitions.py +3 -2
  19. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-transfer/README.md +1 -1
  20. truss-0.11.10rc5/truss/cli/train/deploy_checkpoints/deploy_full_checkpoints.py +0 -35
  21. {truss-0.11.10rc5 → truss-0.11.10rc501}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  22. {truss-0.11.10rc5 → truss-0.11.10rc501}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  23. {truss-0.11.10rc5 → truss-0.11.10rc501}/.github/pull_request_template.md +0 -0
  24. {truss-0.11.10rc5 → truss-0.11.10rc501}/.gitignore +0 -0
  25. {truss-0.11.10rc5 → truss-0.11.10rc501}/CODE_OF_CONDUCT.md +0 -0
  26. {truss-0.11.10rc5 → truss-0.11.10rc501}/CONTRIBUTING.md +0 -0
  27. {truss-0.11.10rc5 → truss-0.11.10rc501}/LICENSE +0 -0
  28. {truss-0.11.10rc5 → truss-0.11.10rc501}/README.md +0 -0
  29. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/README.md +0 -0
  30. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/README.md +0 -0
  31. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/android-arm-eabi/README.md +0 -0
  32. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/android-arm64/README.md +0 -0
  33. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/darwin-arm64/README.md +0 -0
  34. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/darwin-universal/README.md +0 -0
  35. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/darwin-x64/README.md +0 -0
  36. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/freebsd-x64/README.md +0 -0
  37. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/linux-arm-gnueabihf/README.md +0 -0
  38. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/linux-arm-musleabihf/README.md +0 -0
  39. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/linux-arm64-gnu/README.md +0 -0
  40. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/linux-arm64-musl/README.md +0 -0
  41. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/linux-riscv64-gnu/README.md +0 -0
  42. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/linux-x64-gnu/README.md +0 -0
  43. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/linux-x64-musl/README.md +0 -0
  44. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/win32-arm64-msvc/README.md +0 -0
  45. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/win32-ia32-msvc/README.md +0 -0
  46. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/node_bindings/npm/win32-x64-msvc/README.md +0 -0
  47. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/python_bindings/README.md +0 -0
  48. {truss-0.11.10rc5 → truss-0.11.10rc501}/baseten-performance-client/scripts/README_nodejs.md +0 -0
  49. {truss-0.11.10rc5 → truss-0.11.10rc501}/context_builder.Dockerfile +0 -0
  50. {truss-0.11.10rc5 → truss-0.11.10rc501}/docs/README.md +0 -0
  51. {truss-0.11.10rc5 → truss-0.11.10rc501}/docs/chains/doc_gen/README.md +0 -0
  52. {truss-0.11.10rc5 → truss-0.11.10rc501}/docs/contribute/base-images.md +0 -0
  53. {truss-0.11.10rc5 → truss-0.11.10rc501}/docs/contribute/release.md +0 -0
  54. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/__init__.py +0 -0
  55. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/api/__init__.py +0 -0
  56. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/api/definitions.py +0 -0
  57. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/base/__init__.py +0 -0
  58. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/base/constants.py +0 -0
  59. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/base/custom_types.py +0 -0
  60. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/base/errors.py +0 -0
  61. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/base/trt_llm_config.py +0 -0
  62. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/base/truss_config.py +0 -0
  63. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/base/truss_spec.py +0 -0
  64. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/chains_commands.py +0 -0
  65. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/cli.py +0 -0
  66. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/logs/base_watcher.py +0 -0
  67. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/logs/model_log_watcher.py +0 -0
  68. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/logs/training_log_watcher.py +0 -0
  69. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/logs/utils.py +0 -0
  70. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/remote_cli.py +0 -0
  71. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/common.py +0 -0
  72. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/deploy_checkpoints/__init__.py +0 -0
  73. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/deploy_checkpoints/deploy_checkpoints_helpers.py +0 -0
  74. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/deploy_from_checkpoint_config.yml +0 -0
  75. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/deploy_from_checkpoint_config_whisper.yml +0 -0
  76. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/metrics_watcher.py +0 -0
  77. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/poller.py +0 -0
  78. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train/types.py +0 -0
  79. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/train_commands.py +0 -0
  80. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/utils/common.py +0 -0
  81. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/utils/output.py +0 -0
  82. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/cli/utils/self_upgrade.py +0 -0
  83. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/docker_build_setup.py +0 -0
  84. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/image_builder/cache_warmer.py +0 -0
  85. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/image_builder/image_builder.py +0 -0
  86. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/image_builder/serving_image_builder.py +0 -0
  87. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/image_builder/util.py +0 -0
  88. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/local_loader/docker_build_emulator.py +0 -0
  89. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/local_loader/dockerfile_parser.py +0 -0
  90. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/local_loader/load_model_local.py +0 -0
  91. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/local_loader/truss_module_loader.py +0 -0
  92. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/local_loader/utils.py +0 -0
  93. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/contexts/truss_context.py +0 -0
  94. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/local/local_config.py +0 -0
  95. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/local/local_config_handler.py +0 -0
  96. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/patch/__init__.py +0 -0
  97. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/patch/hash.py +0 -0
  98. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/patch/signature.py +0 -0
  99. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/patch/truss_dir_patch_applier.py +0 -0
  100. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/__init__.py +0 -0
  101. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/auth.py +0 -0
  102. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/core.py +0 -0
  103. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/custom_types.py +0 -0
  104. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/error.py +0 -0
  105. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/remote.py +0 -0
  106. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/rest_client.py +0 -0
  107. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/utils/status.py +0 -0
  108. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/utils/tar.py +0 -0
  109. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/utils/time.py +0 -0
  110. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/baseten/utils/transfer.py +0 -0
  111. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/remote_factory.py +0 -0
  112. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/remote/truss_remote.py +0 -0
  113. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/README.md.jinja +0 -0
  114. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/__init__.py +0 -0
  115. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/cache.Dockerfile.jinja +0 -0
  116. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/cache_requirements.txt +0 -0
  117. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/application.py +0 -0
  118. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/endpoints.py +0 -0
  119. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/context_managers.py +0 -0
  120. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/custom_types.py +0 -0
  121. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/errors.py +0 -0
  122. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/inference_server_controller.py +0 -0
  123. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/inference_server_process_controller.py +0 -0
  124. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/inference_server_starter.py +0 -0
  125. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/truss_patch/__init__.py +0 -0
  126. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/truss_patch/model_code_patch_applier.py +0 -0
  127. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/truss_patch/model_container_patch_applier.py +0 -0
  128. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/truss_patch/requirement_name_identifier.py +0 -0
  129. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/control/control/helpers/truss_patch/system_packages.py +0 -0
  130. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/copy_cache_files.Dockerfile.jinja +0 -0
  131. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/custom/examples.yaml +0 -0
  132. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/custom/model/__init__.py +0 -0
  133. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/custom/model/model.py +0 -0
  134. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/custom_python_dx/my_model.py +0 -0
  135. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/docker_server/proxy.conf.jinja +0 -0
  136. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/docker_server/supervisord.conf.jinja +0 -0
  137. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/docker_server_requirements.txt +0 -0
  138. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/__init__.py +0 -0
  139. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/common/__init__.py +0 -0
  140. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/common/errors.py +0 -0
  141. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/common/patches/whisper/patch.py +0 -0
  142. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/common/patches.py +0 -0
  143. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/common/retry.py +0 -0
  144. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/common/schema.py +0 -0
  145. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/common/tracing.py +0 -0
  146. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/main.py +0 -0
  147. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/server/model_wrapper.py +0 -0
  148. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/shared/__init__.py +0 -0
  149. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/shared/dynamic_config_resolver.py +0 -0
  150. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/shared/lazy_data_resolver.py +0 -0
  151. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/shared/log_config.py +0 -0
  152. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/shared/secrets_resolver.py +0 -0
  153. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/shared/serialization.py +0 -0
  154. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/shared/util.py +0 -0
  155. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/train/config.py +0 -0
  156. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/train/run.sh +0 -0
  157. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/model/model.py +0 -0
  158. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/sigint_patch.py +0 -0
  159. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/whisper_trt/__init__.py +0 -0
  160. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/whisper_trt/assets.py +0 -0
  161. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/whisper_trt/batching.py +0 -0
  162. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/whisper_trt/custom_types.py +0 -0
  163. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/whisper_trt/modeling.py +0 -0
  164. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/whisper_trt/tokenizer.py +0 -0
  165. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-audio/packages/whisper_trt/utils.py +0 -0
  166. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-briton/README.md +0 -0
  167. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/templates/trtllm-briton/src/extension.py +0 -0
  168. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/__init__.py +0 -0
  169. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/cli/test_cli.py +0 -0
  170. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/cli/train/resources/test_deploy_from_checkpoint_config.yml +0 -0
  171. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/cli/train/test_cache_view.py +0 -0
  172. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/cli/train/test_train_cli_core.py +0 -0
  173. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/cli/train/test_train_init.py +0 -0
  174. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/conftest.py +0 -0
  175. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/contexts/image_builder/test_serving_image_builder.py +0 -0
  176. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/contexts/local_loader/test_load_local.py +0 -0
  177. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/contexts/local_loader/test_truss_module_finder.py +0 -0
  178. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/helpers.py +0 -0
  179. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/local/test_local_config_handler.py +0 -0
  180. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/patch/test_calc_patch.py +0 -0
  181. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/patch/test_dir_signature.py +0 -0
  182. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/patch/test_hash.py +0 -0
  183. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/patch/test_signature.py +0 -0
  184. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/patch/test_truss_dir_patch_applier.py +0 -0
  185. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/patch/test_types.py +0 -0
  186. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/baseten/conftest.py +0 -0
  187. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/baseten/test_api.py +0 -0
  188. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/baseten/test_auth.py +0 -0
  189. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/baseten/test_core.py +0 -0
  190. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/baseten/test_remote.py +0 -0
  191. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/test_remote_factory.py +0 -0
  192. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/remote/test_truss_remote.py +0 -0
  193. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/control/control/conftest.py +0 -0
  194. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/control/control/helpers/test_context_managers.py +0 -0
  195. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/control/control/helpers/test_model_container_patch_applier.py +0 -0
  196. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/control/control/helpers/test_requirement_name_identifier.py +0 -0
  197. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/control/control/test_endpoints.py +0 -0
  198. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/control/control/test_server.py +0 -0
  199. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/control/control/test_server_integration.py +0 -0
  200. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/core/server/test_dynamic_config_resolver.py +0 -0
  201. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/core/server/test_lazy_data_resolver_v2.py +0 -0
  202. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/core/server/test_secrets_resolver.py +0 -0
  203. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/server/common/test_retry.py +0 -0
  204. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/server/test_model_wrapper.py +0 -0
  205. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/server/test_schema.py +0 -0
  206. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/templates/server/test_truss_server.py +0 -0
  207. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_build.py +0 -0
  208. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_config.py +0 -0
  209. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_context_builder_image.py +0 -0
  210. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_control_truss_patching.py +0 -0
  211. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_custom_server.py +0 -0
  212. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/__init__.py +0 -0
  213. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/annotated_types_truss/__init__.py +0 -0
  214. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/annotated_types_truss/config.yaml +0 -0
  215. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/annotated_types_truss/model/__init__.py +0 -0
  216. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/annotated_types_truss/model/model.py +0 -0
  217. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/auto-mpg.data +0 -0
  218. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/context_builder_image_test/Dockerfile +0 -0
  219. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/context_builder_image_test/__init__.py +0 -0
  220. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/context_builder_image_test/test.py +0 -0
  221. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/gcs_fix/__init__.py +0 -0
  222. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/gcs_fix/config.yaml +0 -0
  223. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/gcs_fix/model/__init__.py +0 -0
  224. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/gcs_fix/model/model.py +0 -0
  225. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/happy.ipynb +0 -0
  226. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/model_load_failure_test/__init__.py +0 -0
  227. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/model_load_failure_test/config.yaml +0 -0
  228. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/model_load_failure_test/model/__init__.py +0 -0
  229. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/model_load_failure_test/model/model.py +0 -0
  230. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/patch_ping_test_server/__init__.py +0 -0
  231. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/patch_ping_test_server/app.py +0 -0
  232. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/pima-indians-diabetes.csv +0 -0
  233. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/readme_int_example.md +0 -0
  234. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/readme_no_example.md +0 -0
  235. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/readme_str_example.md +0 -0
  236. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/server.Dockerfile +0 -0
  237. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/server_conformance_test_truss/__init__.py +0 -0
  238. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/server_conformance_test_truss/config.yaml +0 -0
  239. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/server_conformance_test_truss/model/__init__.py +0 -0
  240. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/server_conformance_test_truss/model/model.py +0 -0
  241. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_async_truss/__init__.py +0 -0
  242. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_async_truss/config.yaml +0 -0
  243. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_async_truss/model/__init__.py +0 -0
  244. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_async_truss/model/model.py +0 -0
  245. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_basic_truss/__init__.py +0 -0
  246. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_basic_truss/config.yaml +0 -0
  247. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_basic_truss/model/__init__.py +0 -0
  248. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_basic_truss/model/model.py +0 -0
  249. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands/__init__.py +0 -0
  250. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands/config.yaml +0 -0
  251. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands/model/__init__.py +0 -0
  252. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands/model/model.py +0 -0
  253. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands_failure/__init__.py +0 -0
  254. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands_failure/config.yaml +0 -0
  255. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands_failure/model/__init__.py +0 -0
  256. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_build_commands_failure/model/model.py +0 -0
  257. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_concurrency_truss/__init__.py +0 -0
  258. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_concurrency_truss/config.yaml +0 -0
  259. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_concurrency_truss/model/__init__.py +0 -0
  260. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_concurrency_truss/model/model.py +0 -0
  261. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/__init__.py +0 -0
  262. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/config.yaml +0 -0
  263. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/test_docker_image/Dockerfile +0 -0
  264. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/test_docker_image/README.md +0 -0
  265. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/test_docker_image/VERSION +0 -0
  266. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/test_docker_image/__init__.py +0 -0
  267. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/test_docker_image/app.py +0 -0
  268. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_custom_server_truss/test_docker_image/build_upload_new_image.sh +0 -0
  269. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_env_vars/config.yaml +0 -0
  270. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_go_custom_server_truss/config.yaml +0 -0
  271. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_go_custom_server_truss/docker/Dockerfile +0 -0
  272. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_go_custom_server_truss/docker/README.md +0 -0
  273. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_go_custom_server_truss/docker/VERSION +0 -0
  274. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_go_custom_server_truss/docker/build_upload_new_image.sh +0 -0
  275. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_go_custom_server_truss/docker/main.go +0 -0
  276. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_openai/__init__.py +0 -0
  277. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_openai/config.yaml +0 -0
  278. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_openai/model/__init__.py +0 -0
  279. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_openai/model/model.py +0 -0
  280. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v1/__init__.py +0 -0
  281. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v1/config.yaml +0 -0
  282. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v1/model/__init__.py +0 -0
  283. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v1/model/model.py +0 -0
  284. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v1/requirements.txt +0 -0
  285. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v2/__init__.py +0 -0
  286. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v2/config.yaml +0 -0
  287. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v2/model/__init__.py +0 -0
  288. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v2/model/model.py +0 -0
  289. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_pyantic_v2/requirements.txt +0 -0
  290. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_requirements_file_truss/__init__.py +0 -0
  291. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_requirements_file_truss/config.yaml +0 -0
  292. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_requirements_file_truss/model/__init__.py +0 -0
  293. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_requirements_file_truss/model/model.py +0 -0
  294. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_requirements_file_truss/requirements.txt +0 -0
  295. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_async_generator_truss/__init__.py +0 -0
  296. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_async_generator_truss/config.yaml +0 -0
  297. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_async_generator_truss/model/__init__.py +0 -0
  298. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_async_generator_truss/model/model.py +0 -0
  299. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_read_timeout/__init__.py +0 -0
  300. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_read_timeout/config.yaml +0 -0
  301. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_read_timeout/model/__init__.py +0 -0
  302. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_read_timeout/model/model.py +0 -0
  303. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss/__init__.py +0 -0
  304. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss/config.yaml +0 -0
  305. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss/model/__init__.py +0 -0
  306. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss/model/model.py +0 -0
  307. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_error/__init__.py +0 -0
  308. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_error/config.yaml +0 -0
  309. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_error/model/__init__.py +0 -0
  310. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_error/model/model.py +0 -0
  311. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_error/packages/__init__.py +0 -0
  312. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_error/packages/helpers_1.py +0 -0
  313. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_error/packages/helpers_2.py +0 -0
  314. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_tracing/__init__.py +0 -0
  315. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_tracing/config.yaml +0 -0
  316. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_tracing/model/__init__.py +0 -0
  317. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_streaming_truss_with_tracing/model/model.py +0 -0
  318. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_trt_llm_truss/__init__.py +0 -0
  319. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_trt_llm_truss/config.yaml +0 -0
  320. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_trt_llm_truss/model/__init__.py +0 -0
  321. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_trt_llm_truss/model/model.py +0 -0
  322. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/__init__.py +0 -0
  323. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/config.yaml +0 -0
  324. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/examples.yaml +0 -0
  325. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/model/__init__.py +0 -0
  326. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/model/dummy +0 -0
  327. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/model/model.py +0 -0
  328. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/packages/__init__.py +0 -0
  329. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/packages/test_package/__init__.py +0 -0
  330. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss/packages/test_package/test.py +0 -0
  331. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v1/__init__.py +0 -0
  332. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v1/config.yaml +0 -0
  333. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v1/model/__init__.py +0 -0
  334. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v1/model/model.py +0 -0
  335. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v2/__init__.py +0 -0
  336. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v2/config.yaml +0 -0
  337. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v2/model/__init__.py +0 -0
  338. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_server_model_cache_v2/model/model.py +0 -0
  339. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_with_error/__init__.py +0 -0
  340. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_with_error/config.yaml +0 -0
  341. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_with_error/model/__init__.py +0 -0
  342. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_with_error/model/model.py +0 -0
  343. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_with_error/packages/__init__.py +0 -0
  344. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_with_error/packages/helpers_1.py +0 -0
  345. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_data/test_truss_with_error/packages/helpers_2.py +0 -0
  346. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_docker.py +0 -0
  347. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_model_inference.py +0 -0
  348. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_model_schema.py +0 -0
  349. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_testing_utilities_for_other_tests.py +0 -0
  350. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_truss_gatherer.py +0 -0
  351. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_truss_handle.py +0 -0
  352. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/test_util.py +0 -0
  353. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/trt_llm/test_trt_llm_config.py +0 -0
  354. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/trt_llm/test_validation.py +0 -0
  355. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/util/test_config_checks.py +0 -0
  356. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/util/test_env_vars.py +0 -0
  357. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/tests/util/test_path.py +0 -0
  358. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/trt_llm/config_checks.py +0 -0
  359. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/trt_llm/validation.py +0 -0
  360. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/__init__.py +0 -0
  361. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/build.py +0 -0
  362. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/decorators.py +0 -0
  363. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/__init__.py +0 -0
  364. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/calc_patch.py +0 -0
  365. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/constants.py +0 -0
  366. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/custom_types.py +0 -0
  367. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/dir_signature.py +0 -0
  368. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/hash.py +0 -0
  369. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/local_truss_patch_applier.py +0 -0
  370. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/signature.py +0 -0
  371. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/patch/truss_dir_patch_applier.py +0 -0
  372. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/readme_generator.py +0 -0
  373. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/truss_gatherer.py +0 -0
  374. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/truss_handle/truss_handle.py +0 -0
  375. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/.truss_ignore +0 -0
  376. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/__init__.py +0 -0
  377. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/docker.py +0 -0
  378. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/download.py +0 -0
  379. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/env_vars.py +0 -0
  380. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/gpu.py +0 -0
  381. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/jinja.py +0 -0
  382. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/log_utils.py +0 -0
  383. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/notebook.py +0 -0
  384. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/path.py +0 -0
  385. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/requirements.py +0 -0
  386. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss/util/user_config.py +0 -0
  387. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/examples/README.md +0 -0
  388. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/examples/audio-transcription/README.md +0 -0
  389. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/examples/rag/README.md +0 -0
  390. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/tests/itest_chain/requirements.txt +0 -0
  391. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/__init__.py +0 -0
  392. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/deployment/__init__.py +0 -0
  393. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/deployment/code_gen.py +0 -0
  394. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/deployment/deployment_client.py +0 -0
  395. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/framework.py +0 -0
  396. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/private_types.py +0 -0
  397. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/public_api.py +0 -0
  398. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/public_types.py +0 -0
  399. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/py.typed +0 -0
  400. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/pydantic_numpy.py +0 -0
  401. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/reference_code/reference_chainlet.py +0 -0
  402. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/reference_code/reference_model.py +0 -0
  403. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/remote_chainlet/__init__.py +0 -0
  404. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/remote_chainlet/model_skeleton.py +0 -0
  405. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/remote_chainlet/stub.py +0 -0
  406. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/remote_chainlet/utils.py +0 -0
  407. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/streaming.py +0 -0
  408. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-chains/truss_chains/utils.py +0 -0
  409. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-train/truss_train/__init__.py +0 -0
  410. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-train/truss_train/deployment.py +0 -0
  411. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-train/truss_train/loader.py +0 -0
  412. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-train/truss_train/public_api.py +0 -0
  413. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-train/truss_train/restore_from_checkpoint.py +0 -0
  414. {truss-0.11.10rc5 → truss-0.11.10rc501}/truss-transfer/tests/README.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truss
3
- Version: 0.11.10rc5
3
+ Version: 0.11.10rc501
4
4
  Summary: A seamless bridge from model development to model delivery
5
5
  Project-URL: Repository, https://github.com/basetenlabs/truss
6
6
  Project-URL: Homepage, https://truss.baseten.co
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "truss"
3
- version = "0.11.10rc5"
3
+ version = "0.11.10rc501"
4
4
  description = "A seamless bridge from model development to model delivery"
5
5
  authors = [
6
6
  { name = "Pankaj Gupta", email = "no-reply@baseten.co" },
@@ -274,7 +274,7 @@ def _get_checkpoint_names(
274
274
  checkpoint_deploy_config: DeployCheckpointsConfigComplete,
275
275
  ) -> list[str]:
276
276
  return [
277
- checkpoint.paths[0].strip("/").split("/")[-1]
277
+ checkpoint.checkpoint_name
278
278
  for checkpoint in checkpoint_deploy_config.checkpoint_details.checkpoints
279
279
  ]
280
280
 
@@ -311,9 +311,10 @@ def display_training_job(
311
311
  table.add_column("Value")
312
312
 
313
313
  # Basic job details
314
+ table.add_row("Job Name", job["name"])
315
+ table.add_row("Job ID", job["id"])
314
316
  table.add_row("Project ID", job["training_project"]["id"])
315
317
  table.add_row("Project Name", job["training_project"]["name"])
316
- table.add_row("Job ID", job["id"])
317
318
  table.add_row("Status", job["current_status"])
318
319
  table.add_row("Instance Type", job["instance_type"]["name"])
319
320
  table.add_row("Created", cli_common.format_localized_time(job["created_at"]))
@@ -115,18 +115,12 @@ def _build_inference_template_request(
115
115
  weights_sources = []
116
116
  for checkpoint in checkpoint_deploy_config.checkpoint_details.checkpoints:
117
117
  # Extract checkpoint name from the first path
118
- checkpoint_name = (
119
- checkpoint.paths[0].strip("/").split("/")[-1]
120
- if checkpoint.paths
121
- else "checkpoint"
122
- )
123
-
124
118
  weights_source = {
125
119
  "weight_source_type": "B10_CHECKPOINTING",
126
120
  "b10_training_checkpoint_weights_source": {
127
121
  "checkpoint": {
128
122
  "training_job_id": checkpoint.training_job_id,
129
- "checkpoint_name": checkpoint_name,
123
+ "checkpoint_name": checkpoint.checkpoint_name,
130
124
  }
131
125
  },
132
126
  }
@@ -309,6 +303,7 @@ def _ensure_checkpoint_details(
309
303
  job_id: Optional[str],
310
304
  ) -> CheckpointList:
311
305
  if checkpoint_details and checkpoint_details.checkpoints:
306
+ # TODO: check here
312
307
  return _process_user_provided_checkpoints(checkpoint_details, remote_provider)
313
308
  else:
314
309
  return _prompt_user_for_checkpoint_details(
@@ -0,0 +1,9 @@
1
+ from truss_train.definitions import FullCheckpoint
2
+
3
+
4
+ def hydrate_full_checkpoint(
5
+ job_id: str, checkpoint_id: str, checkpoint: dict
6
+ ) -> FullCheckpoint:
7
+ """Create a Checkpoint object for full model weights."""
8
+ # NOTE: Slash at the end is important since it means the checkpoint is a directory
9
+ return FullCheckpoint(training_job_id=job_id, checkpoint_name=checkpoint_id)
@@ -11,11 +11,10 @@ def hydrate_lora_checkpoint(
11
11
  ) -> LoRACheckpoint:
12
12
  """Create a LoRA-specific Checkpoint object."""
13
13
  # NOTE: Slash at the end is important since it means the checkpoint is a directory
14
- paths = [f"rank-0/{checkpoint_id}/"]
15
14
  return LoRACheckpoint(
16
15
  training_job_id=job_id,
17
- paths=paths,
18
16
  lora_details=LoRADetails(rank=_get_lora_rank(checkpoint)),
17
+ checkpoint_name=checkpoint_id,
19
18
  )
20
19
 
21
20
 
@@ -5,6 +5,4 @@ def hydrate_whisper_checkpoint(
5
5
  job_id: str, checkpoint_id: str, checkpoint: dict
6
6
  ) -> WhisperCheckpoint:
7
7
  """Create a Checkpoint object for whisper model weights."""
8
- # NOTE: Slash at the end is important since it means the checkpoint is a directory
9
- paths = [f"rank-0/{checkpoint_id}/"]
10
- return WhisperCheckpoint(training_job_id=job_id, paths=paths)
8
+ return WhisperCheckpoint(training_job_id=job_id, checkpoint_name=checkpoint_id)
@@ -804,7 +804,6 @@ class BasetenApi:
804
804
  }
805
805
  }
806
806
  """
807
-
808
807
  resp = self._post_graphql_query(
809
808
  query_string, variables={"request": request_data}
810
809
  )
@@ -137,13 +137,6 @@ class BasetenService(TrussService):
137
137
 
138
138
  return decode_content()
139
139
 
140
- parsed_response = response.json()
141
-
142
- if "error" in parsed_response:
143
- # In the case that the model is in a non-ready state, the response
144
- # will be a json with an `error` key.
145
- return parsed_response
146
-
147
140
  return response.json()
148
141
 
149
142
  def authenticate(self) -> dict:
@@ -26,7 +26,9 @@ ENV HOME=${HOME:-/root}
26
26
  ENV APP_HOME=/{{ app_username }}
27
27
  RUN mkdir -p ${APP_HOME} {{ control_server_dir }}
28
28
  {# Create a non-root user to run model containers. #}
29
- RUN useradd -u {{ app_user_uid }} -ms /bin/bash {{ app_username }}
29
+ RUN ( which useradd >/dev/null 2>&1 && useradd -u {{ app_user_uid }} -ms /bin/bash {{ app_username }} ) || \
30
+ ( which adduser >/dev/null 2>&1 && adduser -u {{ app_user_uid }} -s /bin/sh -D {{ app_username }} ) || \
31
+ { echo "ERROR: Could not create non-root user"; exit 1; }
30
32
  {% endblock %} {#- endblock user_setup #}
31
33
 
32
34
  {#- at the very beginning, set non-interactive mode for apt #}
@@ -72,9 +72,9 @@ class ControlServer:
72
72
  # httptools installed, which does not work with our requests & version
73
73
  # of uvicorn.
74
74
  http="h11",
75
+ loop="uvloop",
75
76
  **extra_kwargs,
76
77
  )
77
- cfg.setup_event_loop()
78
78
 
79
79
  server = uvicorn.Server(cfg)
80
80
  asyncio.run(server.serve())
@@ -7,7 +7,6 @@ python-json-logger>=2.0.2
7
7
  tenacity>=8.1.0
8
8
  # To avoid divergence, this should follow the latest release.
9
9
  truss==0.11.1
10
- # NB(nikhil): Uvicorn 0.36.0 has breaking changes for the event loop, so we pin to a lower version.
11
- uvicorn>=0.24.0,<0.36.0
10
+ uvicorn>=0.24.0
12
11
  uvloop>=0.19.0
13
12
  websockets>=10.0
@@ -19,7 +19,6 @@ python-json-logger>=2.0.2
19
19
  pyyaml>=6.0.0
20
20
  requests>=2.31.0
21
21
  truss-transfer==0.0.32
22
- # NB(nikhil): Uvicorn 0.36.0 has breaking changes for the event loop, so we pin to a lower version.
23
- uvicorn>=0.24.0,<0.36.0
22
+ uvicorn>=0.24.0
24
23
  uvloop>=0.19.0
25
24
  websockets>=10.0
@@ -497,9 +497,9 @@ class TrussServer:
497
497
  timeout_graceful_shutdown=TIMEOUT_GRACEFUL_SHUTDOWN,
498
498
  log_config=log_config.make_log_config(log_level),
499
499
  ws_max_size=WS_MAX_MSG_SZ_BYTES,
500
+ loop="uvloop",
500
501
  **extra_kwargs,
501
502
  )
502
- cfg.setup_event_loop() # Call this so uvloop gets used
503
503
  server = uvicorn.Server(config=cfg)
504
504
  self._server = server
505
505
  asyncio.run(server.serve())
@@ -69,7 +69,7 @@ COPY --chown={{ default_owner }} ./{{ config.data_dir }} ${APP_HOME}/data
69
69
 
70
70
  {%- if model_cache_v2 %}
71
71
  {# v0.0.9, keep synced with server_requirements.txt #}
72
- RUN curl -sSL --fail --retry 5 --retry-delay 2 -o /usr/local/bin/truss-transfer-cli https://github.com/basetenlabs/truss/releases/download/v0.10.11rc1/truss-transfer-cli-v0.10.11rc1-linux-x86_64-unknown-linux-musl
72
+ RUN curl -sSL --fail --retry 5 --retry-delay 2 -o /usr/local/bin/truss-transfer-cli https://github.com/basetenlabs/truss/releases/download/v0.11.10rc5/truss-transfer-cli-v0.11.10rc5-linux-x86_64-unknown-linux-musl
73
73
  RUN chmod +x /usr/local/bin/truss-transfer-cli
74
74
  RUN mkdir /static-bptr
75
75
  RUN echo "hash {{model_cache_hash}}"
@@ -115,8 +115,7 @@ def test_hydrate_full_checkpoint():
115
115
  assert isinstance(result, definitions.FullCheckpoint)
116
116
  assert result.training_job_id == job_id
117
117
  assert result.model_weight_format == ModelWeightsFormat.FULL
118
- assert len(result.paths) == 1
119
- assert result.paths[0] == f"rank-0/{checkpoint_id}/"
118
+ assert result.checkpoint_name == checkpoint_id
120
119
 
121
120
 
122
121
  def test_hydrate_checkpoint_dispatcher_full():
@@ -272,6 +271,6 @@ def test_hydrate_whisper_checkpoint():
272
271
  result = hydrate_whisper_checkpoint(job_id, checkpoint_id, checkpoint)
273
272
 
274
273
  assert result.training_job_id == job_id
275
- assert result.paths == [f"rank-0/{checkpoint_id}/"]
274
+ assert result.checkpoint_name == checkpoint_id
276
275
  assert result.model_weight_format == definitions.ModelWeightsFormat.WHISPER
277
276
  assert isinstance(result, definitions.WhisperCheckpoint)
@@ -1,4 +1,7 @@
1
+ from unittest.mock import MagicMock
2
+
1
3
  from truss.remote.baseten import service
4
+ from truss.remote.baseten.core import ModelVersionHandle
2
5
 
3
6
 
4
7
  def test_model_invoke_url_prod():
@@ -65,3 +68,56 @@ def test_chain_logs_url():
65
68
  "https://app.baseten.co", "abc", "666", "543"
66
69
  )
67
70
  assert url == "https://app.baseten.co/chains/abc/logs/666/543"
71
+
72
+
73
+ def test_predict_response_to_json():
74
+ """Test that predict method returns JSON response for normal dict result."""
75
+ # Create a mock BasetenService
76
+ mock_handle = MagicMock(spec=ModelVersionHandle)
77
+ mock_handle.model_id = "test-model"
78
+ mock_handle.version_id = "test-version"
79
+ mock_handle.hostname = "https://model-test.api.baseten.co"
80
+
81
+ mock_api = MagicMock()
82
+ mock_api.app_url = "https://app.baseten.co"
83
+
84
+ service_instance = service.BasetenService(
85
+ model_version_handle=mock_handle,
86
+ is_draft=False,
87
+ api_key="test-key",
88
+ service_url="https://test.com",
89
+ api=mock_api,
90
+ )
91
+
92
+ # Mock the _send_request method to return a successful JSON response
93
+ mock_response = MagicMock()
94
+ mock_response.json.return_value = {"result": "success"}
95
+ service_instance._send_request = MagicMock(return_value=mock_response)
96
+
97
+ # Test predict method
98
+ result = service_instance.predict({"input": "test"})
99
+
100
+ # Verify that the JSON response is returned directly
101
+ assert result == {"result": "success"}
102
+
103
+ # Test non-dict response types below
104
+
105
+ # With integer response
106
+ mock_response.json.return_value = 42
107
+ result = service_instance.predict({"input": "test"})
108
+ assert result == 42
109
+
110
+ # With string response
111
+ mock_response.json.return_value = "success"
112
+ result = service_instance.predict({"input": "test"})
113
+ assert result == "success"
114
+
115
+ # With list response
116
+ mock_response.json.return_value = [1, 2, 3, 4]
117
+ result = service_instance.predict({"input": "test"})
118
+ assert result == [1, 2, 3, 4]
119
+
120
+ # With boolean response
121
+ mock_response.json.return_value = True
122
+ result = service_instance.predict({"input": "test"})
123
+ assert result is True
@@ -185,12 +185,13 @@ class TrainingProject(custom_types.SafeModelNoExtra):
185
185
 
186
186
  class Checkpoint(custom_types.ConfigModel, ABC):
187
187
  training_job_id: str
188
- paths: List[str]
188
+ checkpoint_name: str
189
189
  model_weight_format: ModelWeightsFormat
190
190
 
191
191
  def to_truss_config(self) -> truss_config.TrainingArtifactReference:
192
192
  return truss_config.TrainingArtifactReference(
193
- training_job_id=self.training_job_id, paths=self.paths
193
+ training_job_id=self.training_job_id,
194
+ paths=[f"rank-0/{self.checkpoint_name}/"],
194
195
  )
195
196
 
196
197
 
@@ -284,7 +284,7 @@ The following environment variables can be used to configure truss-transfer beha
284
284
  - Number of concurrent download workers
285
285
  - Controls parallelism for file downloads
286
286
 
287
- - **`TRUSS_TRANSFER_USE_RANGE_DOWNLOAD`** (default: `false`)
287
+ - **`TRUSS_TRANSFER_USE_RANGE_DOWNLOAD`** (default: `true`)
288
288
  - Enable/disable range-based downloading for large files
289
289
  - Set to `1`, `true`, `yes`, or `y` to enable
290
290
 
@@ -1,35 +0,0 @@
1
- from pathlib import Path
2
-
3
- from truss_train.definitions import FullCheckpoint
4
-
5
-
6
- def hydrate_full_checkpoint(
7
- job_id: str, checkpoint_id: str, checkpoint: dict
8
- ) -> FullCheckpoint:
9
- """Create a Checkpoint object for full model weights."""
10
- # NOTE: Slash at the end is important since it means the checkpoint is a directory
11
- paths = [f"rank-0/{checkpoint_id}/"]
12
- return FullCheckpoint(training_job_id=job_id, paths=paths)
13
-
14
-
15
- def build_full_checkpoint_string(truss_deploy_config) -> str:
16
- """Build checkpoint string from artifact references for full checkpoints.
17
-
18
- Args:
19
- truss_deploy_config: The truss deploy configuration containing training checkpoints.
20
-
21
- Returns:
22
- A space-separated string of checkpoint paths.
23
- """
24
- checkpoint_parts = []
25
- for (
26
- truss_checkpoint
27
- ) in truss_deploy_config.training_checkpoints.artifact_references: # type: ignore
28
- ckpt_path = Path(
29
- truss_deploy_config.training_checkpoints.download_folder, # type: ignore
30
- truss_checkpoint.training_job_id,
31
- truss_checkpoint.paths[0],
32
- )
33
- checkpoint_parts.append(str(ckpt_path))
34
-
35
- return " ".join(checkpoint_parts)
File without changes
File without changes
File without changes
File without changes
File without changes