-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long overdue refactoring for quality of life and performance improvements. #140
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We only really care that it's less than v4.
Use more generic `Mapping` instead of `Dict` or `dict`.
This means that users don't need to call prepare_context explicitly, it will happen automatically when initializing a DockerBuilder.
…to nathan/overhaul
Automatically use CPU-only version of `torch*` packages if no CUDA version is specified.
…to nathan/overhaul
# Conflicts: # chassisml_sdk/examples/fastai/fastai_tabular_training.ipynb # chassisml_sdk/examples/hugging-face/huggingface_distilbert_text_classification.ipynb # chassisml_sdk/examples/lightgbm/lightgbm_classification.ipynb # chassisml_sdk/examples/mxnet/mxnet_mobilenet_image_classification.ipynb # chassisml_sdk/examples/onnx/onnx_mobilenet_image_classification.ipynb # chassisml_sdk/examples/onnx/onnx_transformer_text_generation.ipynb # chassisml_sdk/examples/pmml/pmml_iris_forest_classification.ipynb # chassisml_sdk/examples/pmml/pmml_linear_regression.ipynb # chassisml_sdk/examples/pytorch/pytorch_deeplab_resnet50_semantic_segmentation.ipynb # chassisml_sdk/examples/pytorch/pytorch_fastrcnn_object_detection.ipynb # chassisml_sdk/examples/pytorch/pytorch_resnet50_image_classification.ipynb # chassisml_sdk/examples/pytorch/pytorch_resnet50_image_classification_batch_gpu.ipynb # chassisml_sdk/examples/pytorch/pytorch_tabular_shelter_animal_outcome.ipynb # chassisml_sdk/examples/sklearn/data/random_forest.joblib # chassisml_sdk/examples/sklearn/sklearn_logreg_image_classification.ipynb # chassisml_sdk/examples/sklearn/sklearn_svm_image_classification.ipynb # chassisml_sdk/examples/sklearn/sklearn_tree_wine_classification.ipynb
[skip ci]
bmunday3
approved these changes
Aug 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR represents a near-total refactoring of the existing Chassis code to fix bugs and add some long-awaited features. Even though this is a significant refactor, there should be no* breaking changes for users of the Chassis SDK.
Notable improvements:
In addition, the remote build server has been completely rewritten (in Rust). It no longer has any dependencies on object storage and has much better support for parallel builds. In addition, kaniko has been replaced by BuildKit which enables multi-platform images to be built. Finally, the Helm chart has been updated to allow changing all Kubernetes values like the amount of resources to allocate to the BuildKit pods, various timeouts, etc.