Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* minor copy update (#838) * minor copy update * correct TensorFlow capitalization * Refactor `truss.server` out of templates to run as normal python program (#829) * [RFC][POC] Run truss server as normal python process * WIP: control server * Working draft server * Fix tests * WIP: continue fixing tests; issue with patch typing * Fix some mypy issues * Clean up some more imports * Move test files * Move some things around for readabliity * Cleanup everything except fs in tests * Only 4 tests left * Revert changes to test data * Fix all unit tests * Drop unnecessary config dump * Fix some integration tests; move packages dir * Clean up logging and patches * Fix packages path for TRT * Fix issue holding control server integration tests from passing * Fix rest of integration tests * Fix unit test and drop test_durations * Fix last integration test by passing APP_HOME and adding to path * Clean old templates, training code, deprecated serveres, and examples (#834) * [RFC][POC] Run truss server as normal python process * WIP: control server * Working draft server * Fix tests * WIP: continue fixing tests; issue with patch typing * Fix some mypy issues * Clean up some more imports * Move test files * Move some things around for readabliity * Cleanup everything except fs in tests * Only 4 tests left * Revert changes to test data * Fix all unit tests * Drop unnecessary config dump * Fix some integration tests; move packages dir * Clean up logging and patches * Fix packages path for TRT * Fix issue holding control server integration tests from passing * Fix rest of integration tests * Fix unit test and drop test_durations * Fix last integration test by passing APP_HOME and adding to path * Clean old templates, training code, deprecated serveres, and examples * reset vscode settings * Fix integration test using example * Improve `truss watch`: respect `.truss_ignore` when calculating patches (#812) Although we currently account for truss ignore patterns when detecting file changes with watchfiles.watch, we do not account for the ignore patterns when calculating patches or the truss hash and signature. This means that changes in ignored files will still be patched. This PR fixes that, along with some refactoring and bug fixes. * Fix integration tests (#843) * add pathspec to pyproject * poetry lock --no-update * fix calc_patch call * Fix os.PathLike type annotation This changes the `os.PathLike[Any]` annotation to `os.PathLike`. `os.PathLike` isn't subscriptable in Python 3.8, so `os.PathLike[Any]` results in `TypeError: 'ABCMeta' object is not subscriptable`. * Fall back to default .truss_ignore in truss upload If a user doesn't provide a .truss_ignore in their truss directory, fall back to the default .truss_ignore file specified in the truss package. * Move build configuration script to truss (#847) * Move build configuration script to truss * Update pyproject.toml * Move build configuration script to truss * Update pyproject.toml * Fix unintentially ignore build directory * Bump version to 0.10.0-rc.0 --------- Co-authored-by: Philip Kiely - Baseten <98474633+philipkiely-baseten@users.noreply.github.com> Co-authored-by: Bola Malek <bola@baseten.co> Co-authored-by: helenlyang <helen.yang@baseten.co>
- Loading branch information