python-docs-samples
python-docs-samples copied to clipboard
chore(deps): update dependency google-cloud-aiplatform to v1.44.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| google-cloud-aiplatform | ==1.25.0 -> ==1.44.0 |
||||
| google-cloud-aiplatform | ==1.42.1 -> ==1.44.0 |
||||
| google-cloud-aiplatform | ==1.28.0 -> ==1.44.0 |
Release Notes
googleapis/python-aiplatform (google-cloud-aiplatform)
v1.44.0
Features
- Add custom tool context manager for telemetry (b30f5a6)
- Add display experiment button for Ipython environments (0b33bdd)
- Allow module_name to be specified with the base logger. (c01df66)
- Enable Ray cluster creation with custom_image for each Resource (f90c9cc)
- GenAI - Added
function_callsshortcut property toCandidateclass. (d6490ff) - LLM - Added support for the
max_context_lengthtuning parameter (e5daae9) - Support
shard_sizeforMatchingEngineIndexcreate index. (6dbf7d3) - Use colab enterprise enviroment variables to infer project_id and region (5baf5f8)
Bug Fixes
- Batch read tensorboard time series data to allow reading more than 20 time series metrics. (6e3eac2)
- GenAI - Fixed
get_tuned_modeldeploying the model every time (e1c7870) - GenAI - Improved
from_dictmethods for content types (GenerationResponse,Candidate,Content,Part) (613ce69) - Improve import time by moving TensorFlow to lazy import (f294ba8)
- LVM - Added support for GCS
storage.googleapis.comURL import invision_models.Image(2690e72) - Raise AttributeError for accessing non-existent fields of a proto. (b91edf5)
Documentation
- Fixed the documentation generation (63ad1bf)
- GenAI - Added the GA classes to the documentation (9eb5a52)
v1.43.0
Features
- Add
update_masktoMatchingEngineIndexupsert_datapoints()to support dynamic metadata update. (81f6a25) - Add Ray on Vertex BigQuery read/write support for Ray 2.9 (e048e3a)
- Add read_bigquery and write_bigquery wrappers for Ray on Vertex (4739118)
- Add transport override to enable the use of REST instead of GRPC (6ab4084)
- Enable Ray cluster creation and registering TensorFlow checkpoint to Vertex with Ray version 2.9 (ff148cd)
- LLM - Add support for batch prediction to
CodeGenerationModel(code-bison) (fbf2f7c) - Support custom
timeoutforMatchingEngineIndexandMatchingEngineIndexEndpointAPIs. (09d1946) - Update ray extras installation in setup.py for Ray 2.9.3 (d947304)
Bug Fixes
- Allow destination directory to exist before we copy. (0b55762)
- LVM - Fixed
VideoSegmentConfigin Multimodal Embeddings API call (665e78c)
Documentation
- Update transport docstrings to include that REST is in preview (a442866)
v1.42.1
Bug Fixes
- Handle case when no metadata is returned from model.predict (59e2bca)
- Remove runtime dependency of setuptools (07c2a25)
Documentation
- GenAI - Docs - Added quickstart link and minimum SDK version (cf6ab21)
- GenAI - Updated the README for GA (cfd96d8)
v1.42.0
Features
- Add Candidate.grounding_metadata (310ee49)
- Add GoogleSearchRetrieval (310ee49)
- Add metadata in model.predict output for LLMs (4661e58)
- Add Retrieval (310ee49)
- Add Tool.google_search_retrieval (310ee49)
- Add Tool.retrieval (310ee49)
- Add VertexAiSearch (310ee49)
- GenAI - Added
to_dict()methods to response and content classes (a78748e) - GenAI - Added support for Grounding (0c3e294)
- GenAI - Added the
GenerativeModel.start_chat(response_validation: bool = True)parameter (94f7cd9) - GenAI - GAPIC - Added support for Grounding (310ee49)
- GenAI - Release the GenerativeModel to GA (c7e3f07)
- LLM - Add newly supported model
text-bison@002, update pipeline template version and prediction row limit for pipeline-based LLM Evaluation SDK (35e57b3) - LVM - Add GCS URI support for Imagen Models (
imagetext,imagegeneration) (4109ea8) - LVM - Added support for Images from GCS uri for multimodal embeddings (90d95d7)
- LVM - Added support for Videos from GCS uri for multimodal embeddings (f3bd3bf)
- Support custom image for Ray cluster creation (d727189)
Bug Fixes
- Add google-auth as a direct dependency (ecc6454)
- Add restricts and crowding tag to
MatchingEngineIndexEndpointquery response. (83cb52d) - Remove usage of distutils (e35ab64)
Documentation
v1.41.0
Features
- Add
numeric_filtertoMatchingEngineIndexEndpointmatch()andfind_neighbor()private endpoint queries. (679646a) - Added the
BatchPredictionJob.submitmethod - a non-blocking version ofBatchPredictionJob.create(b62ddcd) - LLM - Add support for RLHF tuning (b2458ec)
- Remove deletion of model upload staging bucket in system tests (b9b373b)
- Switch Python generateContent to call Unary API endpoint (9a19545)
Bug Fixes
- Fix crash when no target_col is specified for Bigframes tensorflow (512b82d)
Documentation
- Add missing code block in docs/README.rst (16d6b58)
v1.40.0
Features
- Add
return_full_datapointforMatchEngineIndexEndpointmatch(). (ad8d9c1) - Add batch delete method in preview pipeline job class and unit test. (b0b604e)
- Add option to not overwrite table in Ray on Vertex BQ Write (a99e992)
- Add query by id for
MatchingEngineIndexEndpointfind_neighbors()public endpoint query. (42c7e08) - Add support for
low_level_batch_sizeinmatch()forMatchingEngineIndexEndpointprivate query. (67e593b) - Added Public Preview support for PersistentResource management (262a36b)
- Enable inline context in grounding to TextGenerationModel predict. (a75e81c)
- Fix dataset export system test (1fbf049)
- LVM - Added the
MultiModalEmbeddingModel.get_embeddings(dimension=...)parameter (1d9bd23) - Support empty index for
MatchingEngineIndexcreate index. (a00db07) - Support private service connect for
MatchingEngineIndexEndpointmatch()andread_index_datapoints(). (61cff4b)
Bug Fixes
- Fix example usage of batch delete pipelinejobs. (3b28d64)
- Fix experiments failure when backing tensorboard has been deleted. (e7a197e)
- Fix message to Json parse issue in Dataset class (066f32d)
- Fix typo in raise exception when tool is unsupported (2301d79)
- Fixed the PipelineJob bucket creation after a breaking change in Google Cloud Storage client library (a8b01e0), closes #2936
- Increase memory for Ray on Vertex default machine type (e6bcb17)
- Use https to connect through Ray dashboard (7af3e67)
v1.39.0
Features
- Add
fraction_leaf_nodes_to_search_override. Add support for private endpoint infind_neighbors. (cd31c13) - Add notification_channels field to model monitoring alert config. (bb228ce)
- Add support of newly added fields of ExportData API to SDK (ec3ea30)
- Allow reuse of deleted experiment run id. (5f6ad8d)
- GenAI - Added support for "models/<model ID>" model name format (ab21feb)
- Support "reservedIpRanges" parameter in PipelineJob run() and submit() methods. (ab99e00)
- Support custom target y column name for Bigframes Tensorflow (1634940)
- Verify client and cluster Ray versions match in create_ray_cluster (17dc9b7)
Bug Fixes
- Missing request parameter for v1beta explain. (443fa9d)
- Pin google-cloud-aiplatform[tensorboard] dependency on tensorflow < 2.15.0 due to breaking change introduced in tensorboard 2.15.1 (4e891f7)
Documentation
- GenAI - Added GenAI to docs (92fd7f0)
- Update docstring for start_upload_tb_log() (c033c59)
- Update tensorboard continuous uploader sample (1220746)
v1.38.1
Features
- Adding
serving_container_grpc_portsparameter to Model.upload() method (6a00ed7) - LLM - Added support for model distillation (28925e9)
- Support CMEK for scheduled pipeline jobs. (406595d)
Miscellaneous Chores
- Release 1.38.1 (537d00e)
v1.38.0
Features
- Release GenerativeModel support for Gemini (cd233ef)
- Add explicit constraints for update_ray_cluster (979a4f3)
- Check if dataset exists before creation for Ray on Vertex BigQuery Write (544d6fe)
- LLM - Added support for the
logprobs,presence_penalty,frequency_penalty, andlogit_biasgeneration parameters (1449344) - Support
read_index_datapointsfor private network. (c9f7119) - Support custom batch size for Bigframes Tensorflow (7dc8771)
- Update the v1 service definition to add numeric_restricts. (d0c2ffa)
- Verify client and cluster Ray versions match (10c6ad2)
Bug Fixes
read_index_endpointprivate endpoint support. (3d8835e)- Fix exception message to use vertexai when project is not provided. (0cb1a7b)
- Update test assumption for streaming endpoint of chat-bison@001 (f9a5b69)
- When user is not logged in, throw more intuitive message (a8b24ad)
Documentation
- Add default value to optional field parameter_values (0a4d772)
v1.37.0
Features
- Add additional parameters to Model.upload(). (7b7d7d2)
- Adding support for concurrent explanations (8e2ad75)
- Allow configuring container logging settings on models when deploying. (beae48f)
- Support user provided api endpoint. (92f2b4e)
- Add grpc_ports to UploadModel ModelContainerSpec, add DirectPredict, DirectRawPredict, StreamingPredict, StreamingRawPredict to PredictionService. (6dfbad7)
Bug Fixes
- Clarify wording when Ray on Vertex cluster is missing head node ip (4a71c8c)
- Fix error when allowed_plugins is set to None. (6f2860a)
- Fixed INTEGER and BOOL parameters casting issue. Fix conversion bug where
INTEGERandBOOLparameters are not cast to the correct type. (9a204c4) - Make PipelineJobSchedule propagate labels to created PipelineJobs (a34533f)
Documentation
- Add upload Tensorboard profile log to Experiment sample. (5780513)
- Update the documentation for the
image_datasetclass (8562368)
v1.36.4
Features
- Add
numeric_restrictsto MatchingEngineIndexfind_neighbors()for querying (6c1f2cc) - Add
remove_datapoints()toMatchingEngineIndex. (b86a404) - Add
upsert_datapoints()toMatchingEngineIndexto support streaming update index. (7ca484d) - LLM - include error code into blocked response from TextGenerationModel, ChatModel, CodeChatMode, and CodeGenerationModel. (1f81cf2)
- Populate Ray Cluster dashboard_address from proto field (dd4b852)
- add CountTokens API, ComputeTokens API, and ModelContainerSpec features (ba2fb39)
Bug Fixes
- Add check for empty
encryption_spec_key_namefor MatchingEngineIndexEndpointcreate. (7740132) - Fix server error due to no
encryption_spec_key_namein MatchingEngineIndexcreate_tree_ah_indexandcreate_brute_force_index(595b580)
Miscellaneous Chores
- Release 1.36.4 (1fd7b4e)
v1.36.3
Features
- Add option to not use default tensorboard (a25c669)
- Add preview HyperparameterTuningJob which can be run on persistent resource (0da8c53)
- Add Featurestore Bigtable Serving, Feature Registry v1, November bulk GAPIC release (9f46f7c)
Documentation
- Fix documentation for obsolete link to GCS formatting (95184de)
Miscellaneous Chores
- Release 1.36.3 (fdee5cb)
v1.36.2
Features
- Add
encryption_spec_key_nametoMatchingEngineIndexcreate_tree_ah_indexand (1a9e36f) - Add
encryption_spec_key_name,enable_private_service_connect,project_allowlistto MatchingEngineIndexEndpointcreate. (750e17b) - Add
index_update_methodto MatchingEngineIndexcreate()(dcb6205) - Expose max_retry_cnt parameter for Ray on Vertex BigQuery write (568907c)
- LLM - Grounding - Added support for the
disable_attributiongrounding parameter (91e985a) - LLM - Support model evaluation when tuning chat models (
ChatModel,CodeChatModel) (755c3f9) - LVM - Added multi-language support for
ImageGenerationModel(791eff5)
Bug Fixes
- Async call bug in CodeChatModel.send_message_async method (fcf05cb)
Documentation
- Add Bigframes remote training example to vertexai README (8b993b3)
- Update the documentation for the
tabular_datasetclass (6f40f1b)
Miscellaneous Chores
- Release 1.36.2 (01be0c9)
v1.36.1
Features
- Add
per_crowding_attribute_neighbor_count,approx_num_neighbors,fraction_leaf_nodes_to_search_override, andreturn_full_datapointto MatchingEngineIndexEndpointfind_neighbors(33c551e) - Add profiler support to tensorboard uploader sdk (be1df7f)
- Add support for
per_crowding_attribute_num_neighborsapprox_num_neighborsto MatchingEngineIndexEndpointmatch()(e5c20c3) - Add support for
per_crowding_attribute_num_neighborsapprox_num_neighborsto MatchingEngineIndexEndpointmatch()(53d31b5) - Add support for
per_crowding_attribute_num_neighborsapprox_num_neighborsto MatchingEngineIndexEndpointmatch()(4e357d5) - Enable grounding to ChatModel send_message and send_message_async methods (d4667f2)
- Enable grounding to TextGenerationModel predict and predict_async methods (b0b4e6b)
- LLM - Added support for the
enable_checkpoint_selectiontuning evaluation parameter (eaf4420) - LLM - Added tuning support for the
*-bison-32kmodels (9eba18f) - LLM - Released
CodeChatModeltuning to GA (621af52)
Bug Fixes
- Correct class name in system test (b822b57)
Documentation
- Clean up RoV create_ray_cluster docstring (1473e19)
Miscellaneous Chores
- Release 1.36.1 (1cde170)
v1.36.0
Features
- Add preview count_tokens method to CodeGenerationModel (96e7f7d)
- Allow the users to use extra serialization arguments for objects. (ffbd872)
- Also support unhashable objects to be serialized with extra args (77a741e)
- LLM - Added
count_tokenssupport to ChatModel (preview) (01989b1) - LLM - Added new regions for tuning and tuned model inference (3d43497)
- LLM - Added support for async streaming (760a025)
- LLM - Added support for multiple response candidates in code chat models (598d57d)
- LLM - Added support for multiple response candidates in code generation models (0c371a4)
- LLM - Enable tuning eval TensorBoard without evaluation data (eaf5d81)
- LLM - Released
CodeGenerationModeltuning to GA (87dfe40) - LLM - Support
accelerator_typein tuning (98ab2f9) - Support experiment autologging when using persistent cluster as executor (c19b6c3)
- Upgrade BigQuery Datasource to use write() interface (7944348)
Bug Fixes
- Adding setuptools to dependencies for Python 3.12 and above. (afd540d)
- Fix Bigframes tensorflow serializer dependencies (b4cdb05)
- LLM - Fixed the async streaming (41bfcb6)
- LLM - Make tuning use the global staging bucket if specified (d9ced10)
- LVM - Fixed negative prompt in
ImageGenerationModel(cbe3a0d) - Made the Endpoint prediction client initialization lazy (eb6071f)
- Make sure PipelineRuntimeConfigBuilder is created with the right arguments (ad19838)
- Make sure the models list is populated before indexing (f1659e8)
- Raise exception for RoV BQ Write for too many rate limit exceeded (7e09529)
- Rollback BigQuery Datasource to use do_write() interface (dc1b82a)
v1.35.0
Features
- Add serializer.register_custom_command() (639cf10)
- Install Bigframes sklearn dependencies automatically (7aaffe5)
- Install Bigframes tensorflow dependencies automatically (e58689b)
- Install Bigframes torch dependencies automatically (1d65347)
- LLM - Added support for multiple chat response candidates (587df74)
- LLM - Added support for multiple text generation response candidates (c3ae475)
Bug Fixes
- Duplicate logs in Colab (9b75259)
- LLM - Fixed tuning and evaluation when explicit credentials are specified (188dffe)
Documentation
- Add probabilistic inference to TiDE and L2L model code samples. (efe88f9)
v1.34.0
Features
- Add Model Garden support to vertexai.preview.from_pretrained (f978200)
- Enable vertexai preview persistent cluster executor (0ae969d)
- LLM - Added the
count_tokensmethod to the previewTextGenerationModelandTextEmbeddingModelclasses (6a2f2aa) - LLM - Improved representation for blocked responses (222f222)
- LLM - Released
ChatModeltuning to GA (7d667f9)
Bug Fixes
- Create PipelineJobSchedule in same project and location as associated PipelineJob by default (c22220e)
Documentation
- Add documentation for the preview namespace (69a67f2)
v1.33.1
Bug Fixes
- Lightning trainer fails to be unwrapped in remote training (8271301)
v1.33.0
Features
- Add Custom Job support to from_pretrained (8b0add1)
- Added async prediction and explanation support to the
Endpointclass (e9eb159) - LLM - Added support for async prediction methods (c9c9f10)
- LLM - CodeChat - Added support for
context(f7feeca) - Release Ray on Vertex SDK Preview (3be36e6)
Bug Fixes
- Handle Ray image parsing error (41a3a83)
- Vizier - Fixed field existence checks for child params in to_proto(). (d516931)
v1.32.0
Features
- LLM - Added
stop_sequencesparameter to streaming methods andCodeChatModel(d62bb1b) - LLM - Improved the handling of temperature and top_p in streaming (6566529)
- Support bigframes sharded parquet ingestion at remote deserialization (Tensorflow) (a8f85ec)
- Release Vertex SDK Preview (c60b9ca)
- Allow setting default service account (d11b8e6)
Bug Fixes
- Fix feature update since no LRO is created (468e6e7)
- LLM -
CodeGenerationModelnow supports safety attributes (c2c8a5e) - LLM - Fixed batch prediction on tuned models (2a08535)
- LLM - Fixed the handling of the
TextEmbeddingInput.task_typeparameter. (2e3090b) - Make statistics Optional for TextEmbedding. (7eaa1d4)
v1.31.1
- fix: LLM - De-hardcoded the
max_output_tokensdefault value for theCodeGenerationModel(f5a20eb)
v1.31.0
Features
- Add disable_retries option to custom jobs. (db518b0)
- LLM - Added support for
stop_sequencesin inference (6f7ea84) - LLM - Exposed the
TextGenerationResponse.raw_prediction_response(f8f2b9c) - LLM - Made tuning asynchronous when tuning becomes GA (226ab8b)
- LLM - release model evaluation for TextGenerationModel to public preview (8df5185)
- LLM - Released
TextGenerationModeltuning to GA (62ff30d) - LLM - Support streaming prediction for chat models (ce60cf7)
- LLM - Support streaming prediction for code chat models (0359f1d)
- LLM - Support streaming prediction for code generation models (3a8348b)
- LLM - Support streaming prediction for text generation models (fb527f3)
- LLM - TextEmbeddingModel - Added support for structural inputs (
TextEmbeddingInput),auto_truncateparameter and resultstatistics(cbf9b6e) - LVM - Added support for Image Generation models (b3729c1)
- LVM - Released
ImageCaptioningModelto GA (7575046) - LVM - Released
ImageQnAModelto GA (fd5cb02) - LVM - Released
MultiModalEmbeddingModelto GA (e99f366) - LVM - Removed the
widthandheightparameters fromImageGenerationModel.generate_imagessince the service has dropped support for image sizes and aspect ratios (52897e6) - Scheduled pipelines client GA. (62b8b23)
Documentation
- Generate documentation for tune_model and related class (705e1ea)
- LVM - Added autogenerated documentation for visual models (18e8bb2)
v1.30.1
Features
- LLM - Added tuning support for
chat-bisonmodels (3a97c52) - LLM - Added tuning support for
codechat-bisonmodels (af6e455)
Bug Fixes
- LLM - Fixed the
TextGenerationModel.predictparameters (f3b25ab)
Miscellaneous Chores
- Release 1.30.1 (d1c79c4)
v1.30.0
Features
- Add model.evaluate() method to Model class (51df86e)
- Add support for providing only text to MultiModalEmbeddingModel.get_embeddings() (38ec40a)
Bug Fixes
- LLM - Fixed filter in
list_tuned_model_names(57806fb)
v1.29.0
Features
- Add preview CustomJob which can be run on persistent resource (56906b0)
- LLM - Support for Batch Prediction for the
textembeddingmodels (preview) (a368538) - LLM - Support tuning for the code-bison model (preview) (e4b23a2)
- LVM - Large Vision Models SDK (preview release). Support for image captioning and image QnA (
imagetextmodel) and multi modal embedding (multimodelembeddingmodel) (preview) (9bbf1ea)
Bug Fixes
- LLM - Fixed
get_tuned_modelfor the future models that are nottext-bison(1adf72b)
Documentation
- Fix auto-generated pydoc for language_models (7d72bd1)
- LLM - Made it possible to provide message history to
CodeChatModelwhen starting chat. (cf46145)
v1.28.1
Features
- LLM - Released the BatchPrediction to GA for TextGenerationModel (701c3a2)
- LLM - Support tuning in the "us-central1" location (4aa7745)
Bug Fixes
- Fix artifact registry link not showing in ui when creating schedules with SDK. (203cb47)
- Fixed the installation error caused by a PyYAML issue (4b86ce1)
- Require model name in ModelEvaluation.list() (aed8c76)
Documentation
- Fixed a docstring for train_steps (1f55b05)
Miscellaneous Chores
- Release 1.28.1 (8ebf22e)
v1.28.0
Features
- LLM - Released the Chat models to GA (22aa26d)
v1.27.1
Features
- Add sdk support for xai example-based explanations (f9ca1d5)
Miscellaneous Chores
- Release 1.27.1 (2159f29)
v1.27.0
Features
- Add submit for CustomTrainingJob and CustomContainerTrainingJob which won't block until complete. (d6476d0)
- LLM - Added support for
learning_ratein tuning (c6cdd10) - LLM - Released the Codey models to GA (89609c9)
Bug Fixes
- Fix aiplatform.init bug by replacing experiment_name with experiment (c60773a)
- Fix error when calling update_state() after ExperimentRun.list() (cb255ec)
- LLM - Exported the
ChatMessageclass (7bf7634) - LLM - Fixed the chat models failing due to safetyAttributes format (459ba86)
- Vizier - Fixed pyvizier client study creation errors (16299d1)
Documentation
- Fixed a docstring for _Dataset (b68a941)
- Fixed a docstring for TimeSeriesDataset (a7dfce2)
- Populate GA LLM SDK Pydocs (e248285)
- Update scheduled pipelines client max_run_count docstring with allowed values. (750e161)
v1.26.1
Features
- Add additional scheduled pipelines client getters and unit tests. (9371b4f)
- Add PipelineJobSchedule update method and unit tests. (69c5f60)
- Add tunable parameters for Model Garden model training to the "AutoMLImageTrainingJob" in SDK. (50646be)
- LLM - Added batch prediction (2235305)
- LLM - Exposed the chat history (bf0e20b)
- LLM - Exposed the safety attributes (01ba3ca)
Bug Fixes
- Change scheduled pipelines client dashboard uri to view created schedules. Note: uri will not work until scheduler UI is GA. (d4d8613)
- Fix bug where scheduled pipeline jobs were not running. ([4e7d11a](
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.