You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+37-2Lines changed: 37 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,41 @@
1
1
# Release History
2
2
3
-
## 1.0.5
3
+
## 1.0.6
4
+
5
+
### New Features
6
+
- Model Registry: add `create_if_not_exists` parameter in constructor.
7
+
- Model Registry: Added get_or_create_model_registry API.
8
+
- Model Registry: Added support for using GPU inference when deploying XGBoost (`xgboost.XGBModel` and `xgboost.Booster`), PyTorch (`torch.nn.Module` and `torch.jit.ScriptModule`) and TensorFlow (`tensorflow.Module` and `tensorflow.keras.Model`) models to Snowpark Container Services.
9
+
- Model Registry: When inferring model signature, `Sequence` of built-in types, `Sequence` of `numpy.ndarray`, `Sequence` of `torch.Tensor`, `Sequence` of `tensorflow.Tensor` and `Sequence` of `tensorflow.Tensor` can be used instead of only `List` of them.
10
+
- Model Registry: Added `get_training_dataset` API.
11
+
- Model Development: Size of metrics result can exceed previous 8MB limit.
12
+
- Model Registry: Added support save/load/deploy HuggingFace pipeline object (`transformers.Pipeline`) and our wrapper (`snowflake.ml.model.models.huggingface_pipeline.HuggingFacePipelineModel`) to it. Using the wrapper to specify configurations and the model for the pipeline will be loaded dynamically when deploying. Currently, following tasks are supported to log without manually specifying model signatures:
- Model Development: Fixed a bug when using simple imputer with numpy >= 1.25.
28
+
- Model Development: Fixed a bug when inferring the type of label columns.
29
+
30
+
### Behavior Changes
31
+
- Model Registry: `log_model()` now return a `ModelReference` object instead of a model ID.
32
+
- Model Registry: When deploying a model with 1 `target method` only, the `target_method` argument can be omitted.
33
+
- Model Registry: When using the snowflake-ml-python with version newer than what is available in Snowflake Anaconda Channel, `embed_local_ml_library` option will be set as `True` automatically if not.
34
+
- Model Registry: When deploying a model to Snowpark Container Services and using GPU, the default value of num_workers will be 1.
35
+
- Model Registry: `keep_order` and `output_with_input_features` in the deploy options have been removed. Now the behavior is controlled by the type of the input when calling `model.predict()`. If the input is a `pandas.DataFrame`, the behavior will be the same as `keep_order=True` and `output_with_input_features=False` before. If the input is a `snowpark.DataFrame`, the behavior will be the same as `keep_order=False` and `output_with_input_features=True` before.
36
+
- Model Registry: When logging and deploying PyTorch (`torch.nn.Module` and `torch.jit.ScriptModule`) and TensorFlow (`tensorflow.Module` and `tensorflow.keras.Model`) models, we no longer accept models whose input is a list of tensor and output is a list of tensors. Instead, now we accept models whose input is 1 or more tensors as positional arguments, and output is a tensor or a tuple of tensors. The input and output dataframe when predicting keep the same as before, that is every column is an array feature and contains a tensor.
37
+
38
+
## 1.0.5 (2023-08-17)
4
39
5
40
### New Features
6
41
@@ -13,7 +48,7 @@
13
48
- Model Registry: Fixed an issue that the UDF name created when deploying a model is not identical to what is provided and cannot be correctly dropped when deployment getting dropped.
14
49
- connection_params.SnowflakeLoginOptions(): Added support for `private_key_path`.
0 commit comments