snowflake-ml-python 1.14.0__tar.gz → 1.16.0__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.
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/CHANGELOG.md +50 -1
- {snowflake_ml_python-1.14.0/snowflake_ml_python.egg-info → snowflake_ml_python-1.16.0}/PKG-INFO +81 -36
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/README.md +29 -32
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/pyproject.toml +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/platform_capabilities.py +13 -7
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/connection_params.py +5 -3
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/jwt_generator.py +3 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/mixins.py +24 -9
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/temp_file_utils.py +1 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/_client/experiment_tracking_sql_client.py +16 -3
- snowflake_ml_python-1.16.0/snowflake/ml/experiment/_entities/__init__.py +5 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/_entities/run.py +0 -15
- snowflake_ml_python-1.16.0/snowflake/ml/experiment/_entities/run_metadata.py +20 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/experiment_tracking.py +71 -27
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/spec_utils.py +49 -11
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/manager.py +20 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/__init__.py +12 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/model/batch_inference_specs.py +16 -4
- snowflake_ml_python-1.16.0/snowflake/ml/model/_client/model/inference_engine_utils.py +55 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/model/model_version_impl.py +30 -62
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/ops/service_ops.py +68 -7
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/service/model_deployment_spec.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/sql/service.py +29 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/sql/stage.py +8 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_manifest/model_manifest_schema.py +1 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_method/model_method.py +25 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_env/model_env.py +26 -16
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/_utils.py +4 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/huggingface_pipeline.py +7 -5
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_packager.py +4 -3
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_runtime/_snowml_inference_alternative_requirements.py +1 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/utils.py +0 -21
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/models/huggingface_pipeline.py +56 -21
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/type_hints.py +13 -0
- snowflake_ml_python-1.16.0/snowflake/ml/model/volatility.py +34 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/calibration/calibrated_classifier_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/affinity_propagation.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/agglomerative_clustering.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/birch.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/bisecting_k_means.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/dbscan.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/feature_agglomeration.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/k_means.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/mean_shift.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/mini_batch_k_means.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/optics.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/spectral_biclustering.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/spectral_clustering.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/spectral_coclustering.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/compose/column_transformer.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/compose/transformed_target_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/elliptic_envelope.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/empirical_covariance.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/graphical_lasso.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/graphical_lasso_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/ledoit_wolf.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/min_cov_det.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/oas.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/shrunk_covariance.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/dictionary_learning.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/factor_analysis.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/fast_ica.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/incremental_pca.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/kernel_pca.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/mini_batch_dictionary_learning.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/mini_batch_sparse_pca.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/pca.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/sparse_pca.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/truncated_svd.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/discriminant_analysis/linear_discriminant_analysis.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/discriminant_analysis/quadratic_discriminant_analysis.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/ada_boost_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/ada_boost_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/bagging_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/bagging_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/extra_trees_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/extra_trees_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/gradient_boosting_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/gradient_boosting_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/isolation_forest.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/random_forest_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/random_forest_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/stacking_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/voting_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/voting_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/generic_univariate_select.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/select_fdr.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/select_fpr.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/select_fwe.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/select_k_best.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/select_percentile.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/sequential_feature_selector.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/variance_threshold.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/gaussian_process/gaussian_process_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/gaussian_process/gaussian_process_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/impute/iterative_imputer.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/impute/knn_imputer.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/impute/missing_indicator.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_approximation/additive_chi2_sampler.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_approximation/nystroem.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_approximation/polynomial_count_sketch.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_approximation/rbf_sampler.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_approximation/skewed_chi2_sampler.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_ridge/kernel_ridge.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/lightgbm/lgbm_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/lightgbm/lgbm_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/ard_regression.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/bayesian_ridge.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/elastic_net.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/elastic_net_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/gamma_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/huber_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/lars.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/lars_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/lasso.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/lasso_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/lasso_lars.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/lasso_lars_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/lasso_lars_ic.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/linear_regression.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/logistic_regression.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/logistic_regression_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/multi_task_elastic_net.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/multi_task_elastic_net_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/multi_task_lasso.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/multi_task_lasso_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/orthogonal_matching_pursuit.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/passive_aggressive_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/passive_aggressive_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/perceptron.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/poisson_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/ransac_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/ridge.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/ridge_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/ridge_classifier_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/ridge_cv.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/sgd_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/sgd_one_class_svm.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/sgd_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/theil_sen_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/tweedie_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/manifold/isomap.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/manifold/mds.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/manifold/spectral_embedding.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/manifold/tsne.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/mixture/bayesian_gaussian_mixture.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/mixture/gaussian_mixture.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/multiclass/one_vs_one_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/multiclass/one_vs_rest_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/multiclass/output_code_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/naive_bayes/bernoulli_nb.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/naive_bayes/categorical_nb.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/naive_bayes/complement_nb.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/naive_bayes/gaussian_nb.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/naive_bayes/multinomial_nb.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/k_neighbors_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/k_neighbors_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/kernel_density.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/local_outlier_factor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/nearest_centroid.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/nearest_neighbors.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/neighborhood_components_analysis.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/radius_neighbors_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/radius_neighbors_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neural_network/bernoulli_rbm.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neural_network/mlp_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neural_network/mlp_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/polynomial_features.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/semi_supervised/label_propagation.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/semi_supervised/label_spreading.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/svm/linear_svc.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/svm/linear_svr.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/svm/nu_svc.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/svm/nu_svr.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/svm/svc.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/svm/svr.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/tree/decision_tree_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/tree/decision_tree_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/tree/extra_tree_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/tree/extra_tree_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/xgboost/xgb_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/xgboost/xgb_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/xgboost/xgbrf_classifier.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/xgboost/xgbrf_regressor.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/registry/_manager/model_manager.py +2 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/registry/_manager/model_parameter_reconciler.py +29 -2
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/registry/registry.py +15 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/utils/authentication.py +16 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/utils/connection_params.py +5 -3
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/version.py +1 -1
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0/snowflake_ml_python.egg-info}/PKG-INFO +81 -36
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake_ml_python.egg-info/SOURCES.txt +2 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake_ml_python.egg-info/requires.txt +1 -2
- snowflake_ml_python-1.14.0/snowflake/ml/experiment/_entities/__init__.py +0 -4
- snowflake_ml_python-1.14.0/snowflake/ml/experiment/_entities/run_metadata.py +0 -68
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/LICENSE.txt +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/setup.cfg +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_classify_text.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_complete.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_embed_text_1024.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_embed_text_768.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_extract_answer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_finetune.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_sentiment.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_sse_client.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_summarize.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_translate.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/cortex/_util.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/env.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/env_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/dataset_error_messages.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/dataset_errors.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/error_codes.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/error_messages.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/exceptions.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/fileset_error_messages.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/fileset_errors.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/modeling_error_messages.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/exceptions/sql_error_codes.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/file_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/human_readable_id/adjectives.txt +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/human_readable_id/animals.txt +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/human_readable_id/hrid_generator.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/human_readable_id/hrid_generator_base.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/init_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/lineage/lineage_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/migrator_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/relax_version_strategy.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/telemetry.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/type_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/db_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/formatting.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/identifier.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/import_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/parallelize.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/pkg_version_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/query_result_checker.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/result.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/service_logger.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/snowflake_env.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/snowpark_dataframe_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/sql_identifier.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/table_manager.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/data/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/data/_internal/arrow_ingestor.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/data/data_connector.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/data/data_ingestor.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/data/data_source.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/data/ingestor_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/data/torch_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/dataset/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/dataset/dataset.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/dataset/dataset_factory.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/dataset/dataset_metadata.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/dataset/dataset_reader.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/_client/artifact.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/_entities/experiment.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/_experiment_info.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/callback/keras.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/callback/lightgbm.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/callback/xgboost.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/experiment/utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/access_manager.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/entity.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/airline_features/entities.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/airline_features/features/plane_features.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/airline_features/features/weather_features.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/airline_features/source.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/citibike_trip_features/entities.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/citibike_trip_features/features/station_feature.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/citibike_trip_features/features/trip_feature.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/citibike_trip_features/source.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/example_helper.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/entities.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/location_features.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/trip_features.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/source.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/source_data/airline.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/source_data/citibike_trips.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/source_data/fraud_transactions.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/source_data/nyc_yellow_trips.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/source_data/winequality_red.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/wine_quality_features/entities.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/wine_quality_features/features/managed_wine_features.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/wine_quality_features/features/static_wine_features.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/examples/wine_quality_features/source.yaml +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/feature_store.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/feature_store/feature_view.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/fileset/embedded_stage_fs.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/fileset/fileset.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/fileset/sfcfs.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/fileset/snowfs.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/fileset/stage_fs.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/constants.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/feature_flags.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/function_payload_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/interop_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/payload_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/query_helper.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/runtime_env_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/scripts/constants.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/scripts/get_instance_ip.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/scripts/mljob_launcher.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/scripts/signal_workers.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/scripts/worker_shutdown_listener.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/stage_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/_utils/types.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/decorators.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/jobs/job.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/lineage/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/lineage/lineage_node.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/model/model_impl.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/ops/metadata_ops.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/ops/model_ops.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/service/model_deployment_spec_schema.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/sql/_base.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/sql/model.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/sql/model_version.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_client/sql/tag.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_composer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_manifest/model_manifest.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_method/constants.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_method/function_generator.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_method/infer_function.py_template +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_method/infer_partitioned.py_template +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_method/infer_table_function.py_template +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_model_composer/model_user_file/model_user_file.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/_base.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/catboost.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/custom.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/keras.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/lightgbm.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/mlflow.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/pytorch.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/sentence_transformers.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/sklearn.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/snowmlmodel.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/tensorflow.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/torchscript.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers/xgboost.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers_migrator/base_migrator.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers_migrator/pytorch_migrator_2023_12_01.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers_migrator/tensorflow_migrator_2023_12_01.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers_migrator/tensorflow_migrator_2025_01_01.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_handlers_migrator/torchscript_migrator_2023_12_01.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_meta/model_blob_meta.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_meta/model_meta.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_meta/model_meta_schema.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_meta_migrator/base_migrator.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_meta_migrator/migrator_plans.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_meta_migrator/migrator_v1.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_runtime/model_runtime.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_packager/model_task/model_task_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/base_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/builtins_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/core.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/dmatrix_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/numpy_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/pandas_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/pytorch_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/snowpark_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/_signatures/tensorflow_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/custom_model.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/event_handler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/inference_engine.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/model_signature.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/openai_signatures.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/target_platform.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/model/task.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/estimator_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/local_implementations/pandas_handlers.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/local_implementations/pandas_trainer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/model_specifications.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/model_trainer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/model_trainer_builder.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/model_transformer_builder.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_hpo_trainer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_search_udf_file.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_handlers.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_trainer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/snowpark_implementations/xgboost_external_memory_trainer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/_internal/transformer_protocols.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/calibration/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/cluster/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/compose/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/covariance/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/decomposition/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/discriminant_analysis/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/ensemble/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/feature_selection/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/framework/_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/framework/base.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/gaussian_process/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/impute/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/impute/simple_imputer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_approximation/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/kernel_ridge/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/lightgbm/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/linear_model/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/manifold/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/metrics/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/metrics/classification.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/metrics/correlation.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/metrics/covariance.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/metrics/metrics_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/metrics/ranking.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/metrics/regression.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/mixture/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/model_selection/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/model_selection/grid_search_cv.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/model_selection/randomized_search_cv.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/multiclass/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/naive_bayes/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neighbors/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/neural_network/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/parameters/disable_distributed_hpo.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/parameters/disable_model_tracer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/parameters/enable_anonymous_sproc.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/pipeline/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/pipeline/pipeline.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/binarizer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/k_bins_discretizer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/label_encoder.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/max_abs_scaler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/min_max_scaler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/normalizer.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/one_hot_encoder.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/ordinal_encoder.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/robust_scaler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/preprocessing/standard_scaler.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/semi_supervised/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/svm/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/tree/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/modeling/xgboost/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/_client/model_monitor_sql_client.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/_client/queries/record_count.ssql +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/_client/queries/rmse.ssql +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/_manager/model_monitor_manager.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/entities/model_monitor_config.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/explain_visualize.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/model_monitor.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/monitoring/shap.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/registry/__init__.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/utils/html_utils.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/utils/sparse.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/utils/sql_client.py +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake_ml_python.egg-info/dependency_links.txt +0 -0
- {snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake_ml_python.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.16.0
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Registry: Remove redundant pip dependency warnings when `artifact_repository_map` is provided for warehouse model deployments.
|
|
8
|
+
|
|
9
|
+
### Behavior Changes
|
|
10
|
+
|
|
11
|
+
### New Features
|
|
12
|
+
|
|
13
|
+
* Support scikit-learn < 1.8.
|
|
14
|
+
* ML Job: Added support for configuring the runtime image via `runtime_environment`
|
|
15
|
+
(image tag or full image URL) at submission time.
|
|
16
|
+
Examples:
|
|
17
|
+
* @remote(compute_pool, stage_name = 'payload_stage', runtime_environment = '1.8.0')
|
|
18
|
+
* submit_file('/path/to/repo/test.py', compute_pool, stage_name = 'payload_stage', runtime_environment = '/mydb/myschema/myrepo/myimage:latest')
|
|
19
|
+
* Registry: Ability to mark model methods as `Volatility.VOLATILE` or `Volatility.IMMUTABLE`.
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
from snowflake.ml.model.volatility import Volatility
|
|
23
|
+
|
|
24
|
+
options = {
|
|
25
|
+
"embed_local_ml_library": True,
|
|
26
|
+
"relax_version": True,
|
|
27
|
+
"save_location": "/path/to/my/directory",
|
|
28
|
+
"function_type": "TABLE_FUNCTION",
|
|
29
|
+
"volatility": Volatility.IMMUTABLE,
|
|
30
|
+
"method_options": {
|
|
31
|
+
"predict": {
|
|
32
|
+
"case_sensitive": False,
|
|
33
|
+
"max_batch_size": 100,
|
|
34
|
+
"function_type": "TABLE_FUNCTION",
|
|
35
|
+
"volatility": Volatility.VOLATILE,
|
|
36
|
+
},
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
````
|
|
40
|
+
|
|
41
|
+
## 1.15.0 (09-29-2025)
|
|
42
|
+
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
|
|
45
|
+
### Behavior Changes
|
|
46
|
+
|
|
47
|
+
* Registry: Dropping support for deprecated `conversational` task type for Huggingface models.
|
|
48
|
+
To read more <https://github.com/huggingface/transformers/pull/31165>
|
|
49
|
+
|
|
50
|
+
### New Features
|
|
51
|
+
|
|
52
|
+
## 1.14.0 (09-18-2025)
|
|
4
53
|
|
|
5
54
|
### Bug Fixes
|
|
6
55
|
|
{snowflake_ml_python-1.14.0/snowflake_ml_python.egg-info → snowflake_ml_python-1.16.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: snowflake-ml-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.16.0
|
|
4
4
|
Summary: The machine learning client library that is used for interacting with Snowflake to build machine learning solutions.
|
|
5
5
|
Author-email: "Snowflake, Inc" <support@snowflake.com>
|
|
6
6
|
License:
|
|
@@ -233,7 +233,6 @@ Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
|
233
233
|
Requires-Python: <3.13,>=3.9
|
|
234
234
|
Description-Content-Type: text/markdown
|
|
235
235
|
License-File: LICENSE.txt
|
|
236
|
-
Requires-Dist: absl-py<2,>=0.15
|
|
237
236
|
Requires-Dist: anyio<5,>=3.5.0
|
|
238
237
|
Requires-Dist: cachetools<6,>=3.1.1
|
|
239
238
|
Requires-Dist: cloudpickle>=2.0.0
|
|
@@ -251,7 +250,7 @@ Requires-Dist: pytimeparse<2,>=1.1.8
|
|
|
251
250
|
Requires-Dist: pyyaml<7,>=6.0
|
|
252
251
|
Requires-Dist: retrying<2,>=1.3.3
|
|
253
252
|
Requires-Dist: s3fs<2026,>=2024.6.1
|
|
254
|
-
Requires-Dist: scikit-learn<1.
|
|
253
|
+
Requires-Dist: scikit-learn<1.8
|
|
255
254
|
Requires-Dist: scipy<2,>=1.9
|
|
256
255
|
Requires-Dist: shap<1,>=0.46.0
|
|
257
256
|
Requires-Dist: snowflake-connector-python[pandas]<4,>=3.16.0
|
|
@@ -302,21 +301,21 @@ Requires-Dist: torch<3,>=2.0.1; extra == "transformers"
|
|
|
302
301
|
Requires-Dist: transformers!=4.51.3,<5,>=4.39.3; extra == "transformers"
|
|
303
302
|
Dynamic: license-file
|
|
304
303
|
|
|
305
|
-
#
|
|
304
|
+
# Snowflake ML Python
|
|
306
305
|
|
|
307
|
-
|
|
308
|
-
With
|
|
306
|
+
Snowflake ML Python is a set of tools including SDKs and underlying infrastructure to build and deploy machine learning models.
|
|
307
|
+
With Snowflake ML Python, you can pre-process data, train, manage and deploy ML models all within Snowflake,
|
|
309
308
|
and benefit from Snowflake’s proven performance, scalability, stability and governance at every stage of the Machine
|
|
310
309
|
Learning workflow.
|
|
311
310
|
|
|
312
|
-
## Key Components of
|
|
311
|
+
## Key Components of Snowflake ML Python
|
|
313
312
|
|
|
314
|
-
The
|
|
315
|
-
and deployment process
|
|
313
|
+
The Snowflake ML Python SDK provides a number of APIs to support each stage of an end-to-end Machine Learning development
|
|
314
|
+
and deployment process.
|
|
316
315
|
|
|
317
|
-
###
|
|
316
|
+
### Snowflake ML Model Development
|
|
318
317
|
|
|
319
|
-
[
|
|
318
|
+
[Snowflake ML Model Development](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#ml-modeling)
|
|
320
319
|
provides a collection of python APIs enabling efficient ML model development directly in Snowflake:
|
|
321
320
|
|
|
322
321
|
1. Modeling API (`snowflake.ml.modeling`) for data preprocessing, feature engineering and model training in Snowflake.
|
|
@@ -327,19 +326,16 @@ model development classes based on sklearn, xgboost, and lightgbm.
|
|
|
327
326
|
1. Framework Connectors: Optimized, secure and performant data provisioning for Pytorch and Tensorflow frameworks in
|
|
328
327
|
their native data loader formats.
|
|
329
328
|
|
|
330
|
-
|
|
331
|
-
from a query or Snowpark Dataframe along with a number of convenience APIs.
|
|
329
|
+
### Snowflake ML Ops
|
|
332
330
|
|
|
333
|
-
|
|
331
|
+
Snowflake ML Python contains a suite of MLOps tools. It complements
|
|
332
|
+
the Snowflake Modeling API, and provides end to end development to deployment within Snowflake.
|
|
333
|
+
The Snowflake ML Ops suite consists of:
|
|
334
334
|
|
|
335
|
-
|
|
336
|
-
the Snowpark ML Development API, and provides end to end development to deployment within Snowflake.
|
|
337
|
-
Currently, the API consists of:
|
|
338
|
-
|
|
339
|
-
1. [Registry](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowflake-model-registry): A python API
|
|
335
|
+
1. [Registry](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#snowflake-model-registry): A python API
|
|
340
336
|
allows secure deployment and management of models in Snowflake, supporting models trained both inside and outside of
|
|
341
337
|
Snowflake.
|
|
342
|
-
2. [Feature Store](https://docs.snowflake.com/
|
|
338
|
+
2. [Feature Store](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#snowflake-feature-store): A fully
|
|
343
339
|
integrated solution for defining, managing, storing and discovering ML features derived from your data. The
|
|
344
340
|
Snowflake Feature Store supports automated, incremental refresh from batch and streaming data sources, so that
|
|
345
341
|
feature pipelines need be defined only once to be continuously updated with new data.
|
|
@@ -348,12 +344,19 @@ Currently, the API consists of:
|
|
|
348
344
|
|
|
349
345
|
## Getting started
|
|
350
346
|
|
|
347
|
+
Learn about all Snowflake ML feature offerings in the [Developer Guide](https://docs.snowflake.com/developer-guide/snowflake-ml/overview).
|
|
348
|
+
|
|
351
349
|
### Have your Snowflake account ready
|
|
352
350
|
|
|
353
351
|
If you don't have a Snowflake account yet, you can [sign up for a 30-day free trial account](https://signup.snowflake.com/).
|
|
354
352
|
|
|
355
353
|
### Installation
|
|
356
354
|
|
|
355
|
+
Snowflake ML Python is pre-installed in Container Runtime notebook environments.
|
|
356
|
+
[Learn more](https://docs.snowflake.com/en/developer-guide/snowflake-ml/notebooks-on-spcs).
|
|
357
|
+
|
|
358
|
+
In Snowflake Warehouse notebook environments, snowflake-ml-python can be installed using the "Packages" drop-down menu.
|
|
359
|
+
|
|
357
360
|
Follow the [installation instructions](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#installing-snowpark-ml)
|
|
358
361
|
in the Snowflake documentation.
|
|
359
362
|
|
|
@@ -363,8 +366,8 @@ or [virtualenv](https://docs.python.org/3/tutorial/venv.html) to create a virtua
|
|
|
363
366
|
|
|
364
367
|
### Conda channels
|
|
365
368
|
|
|
366
|
-
The [Snowflake
|
|
367
|
-
|
|
369
|
+
The [Snowflake Anaconda Channel](https://repo.anaconda.com/pkgs/snowflake/) contains the official snowflake-ml-python package
|
|
370
|
+
releases. To install `snowflake-ml-python` from this conda channel:
|
|
368
371
|
|
|
369
372
|
```sh
|
|
370
373
|
conda install \
|
|
@@ -373,25 +376,18 @@ conda install \
|
|
|
373
376
|
snowflake-ml-python
|
|
374
377
|
```
|
|
375
378
|
|
|
376
|
-
See [the developer guide](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index) for installation instructions.
|
|
379
|
+
See [the developer guide](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index) for detailed installation instructions.
|
|
377
380
|
|
|
378
|
-
The
|
|
379
|
-
|
|
381
|
+
The snowflake-ml-python package is also published in [conda-forge](https://anaconda.org/conda-forge/snowflake-ml-python).
|
|
382
|
+
To install `snowflake-ml-python` from conda forge:
|
|
380
383
|
|
|
381
|
-
|
|
382
|
-
desired version, e.g. `1.0.10`):
|
|
383
|
-
|
|
384
|
-
```bash
|
|
384
|
+
```sh
|
|
385
385
|
conda install \
|
|
386
|
-
-c https://
|
|
387
|
-
-c https://repo.anaconda.com/pkgs/snowflake \
|
|
386
|
+
-c https://conda.anaconda.org/conda-forge/ \
|
|
388
387
|
--override-channels \
|
|
389
|
-
snowflake-ml-python
|
|
388
|
+
snowflake-ml-python
|
|
390
389
|
```
|
|
391
390
|
|
|
392
|
-
Note that until a `snowflake-ml-python` package version is available in the official Snowflake conda channel, there may
|
|
393
|
-
be compatibility issues. Server-side functionality that `snowflake-ml-python` depends on may not yet be released.
|
|
394
|
-
|
|
395
391
|
### Verifying the package
|
|
396
392
|
|
|
397
393
|
1. Install cosign.
|
|
@@ -410,7 +406,56 @@ NOTE: Version 1.7.0 is used as example here. Please choose the the latest versio
|
|
|
410
406
|
|
|
411
407
|
# Release History
|
|
412
408
|
|
|
413
|
-
## 1.
|
|
409
|
+
## 1.16.0
|
|
410
|
+
|
|
411
|
+
### Bug Fixes
|
|
412
|
+
|
|
413
|
+
* Registry: Remove redundant pip dependency warnings when `artifact_repository_map` is provided for warehouse model deployments.
|
|
414
|
+
|
|
415
|
+
### Behavior Changes
|
|
416
|
+
|
|
417
|
+
### New Features
|
|
418
|
+
|
|
419
|
+
* Support scikit-learn < 1.8.
|
|
420
|
+
* ML Job: Added support for configuring the runtime image via `runtime_environment`
|
|
421
|
+
(image tag or full image URL) at submission time.
|
|
422
|
+
Examples:
|
|
423
|
+
* @remote(compute_pool, stage_name = 'payload_stage', runtime_environment = '1.8.0')
|
|
424
|
+
* submit_file('/path/to/repo/test.py', compute_pool, stage_name = 'payload_stage', runtime_environment = '/mydb/myschema/myrepo/myimage:latest')
|
|
425
|
+
* Registry: Ability to mark model methods as `Volatility.VOLATILE` or `Volatility.IMMUTABLE`.
|
|
426
|
+
|
|
427
|
+
```python
|
|
428
|
+
from snowflake.ml.model.volatility import Volatility
|
|
429
|
+
|
|
430
|
+
options = {
|
|
431
|
+
"embed_local_ml_library": True,
|
|
432
|
+
"relax_version": True,
|
|
433
|
+
"save_location": "/path/to/my/directory",
|
|
434
|
+
"function_type": "TABLE_FUNCTION",
|
|
435
|
+
"volatility": Volatility.IMMUTABLE,
|
|
436
|
+
"method_options": {
|
|
437
|
+
"predict": {
|
|
438
|
+
"case_sensitive": False,
|
|
439
|
+
"max_batch_size": 100,
|
|
440
|
+
"function_type": "TABLE_FUNCTION",
|
|
441
|
+
"volatility": Volatility.VOLATILE,
|
|
442
|
+
},
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
````
|
|
446
|
+
|
|
447
|
+
## 1.15.0 (09-29-2025)
|
|
448
|
+
|
|
449
|
+
### Bug Fixes
|
|
450
|
+
|
|
451
|
+
### Behavior Changes
|
|
452
|
+
|
|
453
|
+
* Registry: Dropping support for deprecated `conversational` task type for Huggingface models.
|
|
454
|
+
To read more <https://github.com/huggingface/transformers/pull/31165>
|
|
455
|
+
|
|
456
|
+
### New Features
|
|
457
|
+
|
|
458
|
+
## 1.14.0 (09-18-2025)
|
|
414
459
|
|
|
415
460
|
### Bug Fixes
|
|
416
461
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Snowflake ML Python
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
With
|
|
3
|
+
Snowflake ML Python is a set of tools including SDKs and underlying infrastructure to build and deploy machine learning models.
|
|
4
|
+
With Snowflake ML Python, you can pre-process data, train, manage and deploy ML models all within Snowflake,
|
|
5
5
|
and benefit from Snowflake’s proven performance, scalability, stability and governance at every stage of the Machine
|
|
6
6
|
Learning workflow.
|
|
7
7
|
|
|
8
|
-
## Key Components of
|
|
8
|
+
## Key Components of Snowflake ML Python
|
|
9
9
|
|
|
10
|
-
The
|
|
11
|
-
and deployment process
|
|
10
|
+
The Snowflake ML Python SDK provides a number of APIs to support each stage of an end-to-end Machine Learning development
|
|
11
|
+
and deployment process.
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Snowflake ML Model Development
|
|
14
14
|
|
|
15
|
-
[
|
|
15
|
+
[Snowflake ML Model Development](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#ml-modeling)
|
|
16
16
|
provides a collection of python APIs enabling efficient ML model development directly in Snowflake:
|
|
17
17
|
|
|
18
18
|
1. Modeling API (`snowflake.ml.modeling`) for data preprocessing, feature engineering and model training in Snowflake.
|
|
@@ -23,19 +23,16 @@ model development classes based on sklearn, xgboost, and lightgbm.
|
|
|
23
23
|
1. Framework Connectors: Optimized, secure and performant data provisioning for Pytorch and Tensorflow frameworks in
|
|
24
24
|
their native data loader formats.
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
from a query or Snowpark Dataframe along with a number of convenience APIs.
|
|
26
|
+
### Snowflake ML Ops
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
Snowflake ML Python contains a suite of MLOps tools. It complements
|
|
29
|
+
the Snowflake Modeling API, and provides end to end development to deployment within Snowflake.
|
|
30
|
+
The Snowflake ML Ops suite consists of:
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
the Snowpark ML Development API, and provides end to end development to deployment within Snowflake.
|
|
33
|
-
Currently, the API consists of:
|
|
34
|
-
|
|
35
|
-
1. [Registry](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#snowflake-model-registry): A python API
|
|
32
|
+
1. [Registry](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#snowflake-model-registry): A python API
|
|
36
33
|
allows secure deployment and management of models in Snowflake, supporting models trained both inside and outside of
|
|
37
34
|
Snowflake.
|
|
38
|
-
2. [Feature Store](https://docs.snowflake.com/
|
|
35
|
+
2. [Feature Store](https://docs.snowflake.com/developer-guide/snowflake-ml/overview#snowflake-feature-store): A fully
|
|
39
36
|
integrated solution for defining, managing, storing and discovering ML features derived from your data. The
|
|
40
37
|
Snowflake Feature Store supports automated, incremental refresh from batch and streaming data sources, so that
|
|
41
38
|
feature pipelines need be defined only once to be continuously updated with new data.
|
|
@@ -44,12 +41,19 @@ Currently, the API consists of:
|
|
|
44
41
|
|
|
45
42
|
## Getting started
|
|
46
43
|
|
|
44
|
+
Learn about all Snowflake ML feature offerings in the [Developer Guide](https://docs.snowflake.com/developer-guide/snowflake-ml/overview).
|
|
45
|
+
|
|
47
46
|
### Have your Snowflake account ready
|
|
48
47
|
|
|
49
48
|
If you don't have a Snowflake account yet, you can [sign up for a 30-day free trial account](https://signup.snowflake.com/).
|
|
50
49
|
|
|
51
50
|
### Installation
|
|
52
51
|
|
|
52
|
+
Snowflake ML Python is pre-installed in Container Runtime notebook environments.
|
|
53
|
+
[Learn more](https://docs.snowflake.com/en/developer-guide/snowflake-ml/notebooks-on-spcs).
|
|
54
|
+
|
|
55
|
+
In Snowflake Warehouse notebook environments, snowflake-ml-python can be installed using the "Packages" drop-down menu.
|
|
56
|
+
|
|
53
57
|
Follow the [installation instructions](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index#installing-snowpark-ml)
|
|
54
58
|
in the Snowflake documentation.
|
|
55
59
|
|
|
@@ -59,8 +63,8 @@ or [virtualenv](https://docs.python.org/3/tutorial/venv.html) to create a virtua
|
|
|
59
63
|
|
|
60
64
|
### Conda channels
|
|
61
65
|
|
|
62
|
-
The [Snowflake
|
|
63
|
-
|
|
66
|
+
The [Snowflake Anaconda Channel](https://repo.anaconda.com/pkgs/snowflake/) contains the official snowflake-ml-python package
|
|
67
|
+
releases. To install `snowflake-ml-python` from this conda channel:
|
|
64
68
|
|
|
65
69
|
```sh
|
|
66
70
|
conda install \
|
|
@@ -69,25 +73,18 @@ conda install \
|
|
|
69
73
|
snowflake-ml-python
|
|
70
74
|
```
|
|
71
75
|
|
|
72
|
-
See [the developer guide](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index) for installation instructions.
|
|
73
|
-
|
|
74
|
-
The latest version of the `snowpark-ml-python` package is also published in a conda channel in this repository. Package versions
|
|
75
|
-
in this channel may not yet be present in the official Snowflake conda channel.
|
|
76
|
+
See [the developer guide](https://docs.snowflake.com/en/developer-guide/snowpark-ml/index) for detailed installation instructions.
|
|
76
77
|
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
The snowflake-ml-python package is also published in [conda-forge](https://anaconda.org/conda-forge/snowflake-ml-python).
|
|
79
|
+
To install `snowflake-ml-python` from conda forge:
|
|
79
80
|
|
|
80
|
-
```
|
|
81
|
+
```sh
|
|
81
82
|
conda install \
|
|
82
|
-
-c https://
|
|
83
|
-
-c https://repo.anaconda.com/pkgs/snowflake \
|
|
83
|
+
-c https://conda.anaconda.org/conda-forge/ \
|
|
84
84
|
--override-channels \
|
|
85
|
-
snowflake-ml-python
|
|
85
|
+
snowflake-ml-python
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
Note that until a `snowflake-ml-python` package version is available in the official Snowflake conda channel, there may
|
|
89
|
-
be compatibility issues. Server-side functionality that `snowflake-ml-python` depends on may not yet be released.
|
|
90
|
-
|
|
91
88
|
### Verifying the package
|
|
92
89
|
|
|
93
90
|
1. Install cosign.
|
|
@@ -8,7 +8,7 @@ description = "The machine learning client library that is used for interacting
|
|
|
8
8
|
classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Database", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Information Analysis",]
|
|
9
9
|
requires-python = ">=3.9, <3.13"
|
|
10
10
|
dynamic = [ "version", "readme",]
|
|
11
|
-
dependencies = [ "
|
|
11
|
+
dependencies = [ "anyio>=3.5.0,<5", "cachetools>=3.1.1,<6", "cloudpickle>=2.0.0", "cryptography", "fsspec[http]>=2024.6.1,<2026", "importlib_resources>=6.1.1, <7", "numpy>=1.23,<3", "packaging>=20.9,<25", "pandas>=2.1.4,<3", "platformdirs<5", "pyarrow<19.0.0", "pydantic>=2.8.2, <3", "pyjwt>=2.0.0, <3", "pytimeparse>=1.1.8,<2", "pyyaml>=6.0,<7", "retrying>=1.3.3,<2", "s3fs>=2024.6.1,<2026", "scikit-learn<1.8", "scipy>=1.9,<2", "shap>=0.46.0,<1", "snowflake-connector-python[pandas]>=3.16.0,<4", "snowflake-snowpark-python>=1.17.0,<2,!=1.26.0", "snowflake.core>=1.0.2,<2", "sqlparse>=0.4,<1", "tqdm<5", "typing-extensions>=4.1.0,<5", "xgboost>=1.7.3,<3",]
|
|
12
12
|
[[project.authors]]
|
|
13
13
|
name = "Snowflake, Inc"
|
|
14
14
|
email = "support@snowflake.com"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import json
|
|
2
|
+
import logging
|
|
2
3
|
from contextlib import contextmanager
|
|
3
4
|
from typing import Any, Optional
|
|
4
5
|
|
|
5
|
-
from absl import logging
|
|
6
6
|
from packaging import version
|
|
7
7
|
|
|
8
8
|
from snowflake.ml import version as snowml_version
|
|
@@ -13,8 +13,11 @@ from snowflake.snowpark import (
|
|
|
13
13
|
session as snowpark_session,
|
|
14
14
|
)
|
|
15
15
|
|
|
16
|
+
logger = logging.getLogger(__name__)
|
|
17
|
+
|
|
16
18
|
LIVE_COMMIT_PARAMETER = "ENABLE_LIVE_VERSION_IN_SDK"
|
|
17
19
|
INLINE_DEPLOYMENT_SPEC_PARAMETER = "ENABLE_INLINE_DEPLOYMENT_SPEC_FROM_CLIENT_VERSION"
|
|
20
|
+
SET_MODULE_FUNCTIONS_VOLATILITY_FROM_MANIFEST = "SET_MODULE_FUNCTIONS_VOLATILITY_FROM_MANIFEST"
|
|
18
21
|
|
|
19
22
|
|
|
20
23
|
class PlatformCapabilities:
|
|
@@ -60,17 +63,20 @@ class PlatformCapabilities:
|
|
|
60
63
|
@classmethod # type: ignore[arg-type]
|
|
61
64
|
@contextmanager
|
|
62
65
|
def mock_features(cls, features: dict[str, Any] = _dummy_features) -> None: # type: ignore[misc]
|
|
63
|
-
|
|
66
|
+
logger.debug(f"Setting mock features: {features}")
|
|
64
67
|
cls.set_mock_features(features)
|
|
65
68
|
try:
|
|
66
69
|
yield
|
|
67
70
|
finally:
|
|
68
|
-
|
|
71
|
+
logger.debug(f"Clearing mock features: {features}")
|
|
69
72
|
cls.clear_mock_features()
|
|
70
73
|
|
|
71
74
|
def is_inlined_deployment_spec_enabled(self) -> bool:
|
|
72
75
|
return self._is_version_feature_enabled(INLINE_DEPLOYMENT_SPEC_PARAMETER)
|
|
73
76
|
|
|
77
|
+
def is_set_module_functions_volatility_from_manifest(self) -> bool:
|
|
78
|
+
return self._get_bool_feature(SET_MODULE_FUNCTIONS_VOLATILITY_FROM_MANIFEST, False)
|
|
79
|
+
|
|
74
80
|
def is_live_commit_enabled(self) -> bool:
|
|
75
81
|
return self._get_bool_feature(LIVE_COMMIT_PARAMETER, False)
|
|
76
82
|
|
|
@@ -98,7 +104,7 @@ class PlatformCapabilities:
|
|
|
98
104
|
error_code=error_codes.INTERNAL_SNOWML_ERROR, original_exception=RuntimeError(message)
|
|
99
105
|
)
|
|
100
106
|
except snowpark_exceptions.SnowparkSQLException as e:
|
|
101
|
-
|
|
107
|
+
logger.debug(f"Failed to retrieve platform capabilities: {e}")
|
|
102
108
|
# This can happen is server side is older than 9.2. That is fine.
|
|
103
109
|
return {}
|
|
104
110
|
|
|
@@ -144,7 +150,7 @@ class PlatformCapabilities:
|
|
|
144
150
|
|
|
145
151
|
value = self.features.get(feature_name)
|
|
146
152
|
if value is None:
|
|
147
|
-
|
|
153
|
+
logger.debug(f"Feature {feature_name} not found, returning large version number")
|
|
148
154
|
return large_version
|
|
149
155
|
|
|
150
156
|
try:
|
|
@@ -152,7 +158,7 @@ class PlatformCapabilities:
|
|
|
152
158
|
version_str = str(value)
|
|
153
159
|
return version.Version(version_str)
|
|
154
160
|
except (version.InvalidVersion, ValueError, TypeError) as e:
|
|
155
|
-
|
|
161
|
+
logger.debug(
|
|
156
162
|
f"Failed to parse version from feature {feature_name} with value '{value}': {e}. "
|
|
157
163
|
f"Returning large version number"
|
|
158
164
|
)
|
|
@@ -171,7 +177,7 @@ class PlatformCapabilities:
|
|
|
171
177
|
feature_version = self._get_version_feature(feature_name)
|
|
172
178
|
|
|
173
179
|
result = current_version >= feature_version
|
|
174
|
-
|
|
180
|
+
logger.debug(
|
|
175
181
|
f"Version comparison for feature {feature_name}: "
|
|
176
182
|
f"current={current_version}, feature={feature_version}, enabled={result}"
|
|
177
183
|
)
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import configparser
|
|
2
|
+
import logging
|
|
2
3
|
import os
|
|
3
4
|
from typing import Optional, Union
|
|
4
5
|
|
|
5
|
-
from absl import logging
|
|
6
6
|
from cryptography.hazmat import backends
|
|
7
7
|
from cryptography.hazmat.primitives import serialization
|
|
8
8
|
|
|
9
|
+
logger = logging.getLogger(__name__)
|
|
10
|
+
|
|
9
11
|
_DEFAULT_CONNECTION_FILE = "~/.snowsql/config"
|
|
10
12
|
|
|
11
13
|
|
|
@@ -106,7 +108,7 @@ def _load_from_snowsql_config_file(connection_name: str, login_file: str = "") -
|
|
|
106
108
|
"""Loads the dictionary from snowsql config file."""
|
|
107
109
|
snowsql_config_file = login_file if login_file else os.path.expanduser(_DEFAULT_CONNECTION_FILE)
|
|
108
110
|
if not os.path.exists(snowsql_config_file):
|
|
109
|
-
|
|
111
|
+
logger.error(f"Connection name given but snowsql config file is not found at: {snowsql_config_file}")
|
|
110
112
|
raise Exception("Snowflake SnowSQL config not found.")
|
|
111
113
|
|
|
112
114
|
config = configparser.ConfigParser(inline_comment_prefixes="#")
|
|
@@ -122,7 +124,7 @@ def _load_from_snowsql_config_file(connection_name: str, login_file: str = "") -
|
|
|
122
124
|
# See https://docs.snowflake.com/en/user-guide/snowsql-start.html#configuring-default-connection-settings
|
|
123
125
|
connection_name = "connections"
|
|
124
126
|
|
|
125
|
-
|
|
127
|
+
logger.info(f"Reading {snowsql_config_file} for connection parameters defined as {connection_name}")
|
|
126
128
|
config.read(snowsql_config_file)
|
|
127
129
|
conn_params = dict(config[connection_name])
|
|
128
130
|
# Remap names to appropriate args in Python Connector API
|
|
@@ -110,15 +110,16 @@ class JWTGenerator:
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
# Regenerate the actual token
|
|
113
|
-
token = jwt.encode(payload, key=self.private_key, algorithm=JWTGenerator.ALGORITHM)
|
|
113
|
+
token = jwt.encode(payload, key=self.private_key, algorithm=JWTGenerator.ALGORITHM) # type: ignore[arg-type]
|
|
114
114
|
# If you are using a version of PyJWT prior to 2.0, jwt.encode returns a byte string instead of a string.
|
|
115
115
|
# If the token is a byte string, convert it to a string.
|
|
116
116
|
if isinstance(token, bytes):
|
|
117
117
|
token = token.decode("utf-8")
|
|
118
118
|
self.token = token
|
|
119
|
+
public_key = self.private_key.public_key()
|
|
119
120
|
logger.info(
|
|
120
121
|
"Generated a JWT with the following payload: %s",
|
|
121
|
-
jwt.decode(self.token, key=
|
|
122
|
+
jwt.decode(self.token, key=public_key, algorithms=[JWTGenerator.ALGORITHM]), # type: ignore[arg-type]
|
|
122
123
|
)
|
|
123
124
|
|
|
124
125
|
return token
|
{snowflake_ml_python-1.14.0 → snowflake_ml_python-1.16.0}/snowflake/ml/_internal/utils/mixins.py
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
1
2
|
from typing import Any, Optional
|
|
2
3
|
|
|
3
4
|
from snowflake.ml._internal.utils import identifier
|
|
@@ -16,6 +17,14 @@ def _identifiers_match(saved: Optional[str], current: Optional[str]) -> bool:
|
|
|
16
17
|
return saved_resolved == current_resolved
|
|
17
18
|
|
|
18
19
|
|
|
20
|
+
@dataclass(frozen=True)
|
|
21
|
+
class _SessionState:
|
|
22
|
+
account: Optional[str]
|
|
23
|
+
role: Optional[str]
|
|
24
|
+
database: Optional[str]
|
|
25
|
+
schema: Optional[str]
|
|
26
|
+
|
|
27
|
+
|
|
19
28
|
class SerializableSessionMixin:
|
|
20
29
|
"""Mixin that provides pickling capabilities for objects with Snowpark sessions."""
|
|
21
30
|
|
|
@@ -40,17 +49,23 @@ class SerializableSessionMixin:
|
|
|
40
49
|
|
|
41
50
|
def __setstate__(self, state: dict[str, Any]) -> None:
|
|
42
51
|
"""Restore session from context during unpickling."""
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
52
|
+
session_state = _SessionState(
|
|
53
|
+
account=state.pop(_SESSION_ACCOUNT_KEY, None),
|
|
54
|
+
role=state.pop(_SESSION_ROLE_KEY, None),
|
|
55
|
+
database=state.pop(_SESSION_DATABASE_KEY, None),
|
|
56
|
+
schema=state.pop(_SESSION_SCHEMA_KEY, None),
|
|
57
|
+
)
|
|
47
58
|
|
|
48
59
|
if hasattr(super(), "__setstate__"):
|
|
49
60
|
super().__setstate__(state) # type: ignore[misc]
|
|
50
61
|
else:
|
|
51
62
|
self.__dict__.update(state)
|
|
52
63
|
|
|
53
|
-
|
|
64
|
+
self._set_session(session_state)
|
|
65
|
+
|
|
66
|
+
def _set_session(self, session_state: _SessionState) -> None:
|
|
67
|
+
|
|
68
|
+
if session_state.account is not None:
|
|
54
69
|
active_sessions = snowpark_session._get_active_sessions()
|
|
55
70
|
if len(active_sessions) == 0:
|
|
56
71
|
raise RuntimeError("No active Snowpark session available. Please create a session.")
|
|
@@ -63,10 +78,10 @@ class SerializableSessionMixin:
|
|
|
63
78
|
active_sessions,
|
|
64
79
|
key=lambda s: sum(
|
|
65
80
|
(
|
|
66
|
-
_identifiers_match(
|
|
67
|
-
_identifiers_match(
|
|
68
|
-
_identifiers_match(
|
|
69
|
-
_identifiers_match(
|
|
81
|
+
_identifiers_match(session_state.account, s.get_current_account()),
|
|
82
|
+
_identifiers_match(session_state.role, s.get_current_role()),
|
|
83
|
+
_identifiers_match(session_state.database, s.get_current_database()),
|
|
84
|
+
_identifiers_match(session_state.schema, s.get_current_schema()),
|
|
70
85
|
)
|
|
71
86
|
),
|
|
72
87
|
),
|
|
@@ -76,17 +76,30 @@ class ExperimentTrackingSQLClient(_base._BaseSQLClient):
|
|
|
76
76
|
self._session, f"ALTER EXPERIMENT {experiment_fqn} DROP RUN {run_name}"
|
|
77
77
|
).has_dimensions(expected_rows=1, expected_cols=1).validate()
|
|
78
78
|
|
|
79
|
-
def
|
|
79
|
+
def modify_run_add_metrics(
|
|
80
80
|
self,
|
|
81
81
|
*,
|
|
82
82
|
experiment_name: sql_identifier.SqlIdentifier,
|
|
83
83
|
run_name: sql_identifier.SqlIdentifier,
|
|
84
|
-
|
|
84
|
+
metrics: str,
|
|
85
85
|
) -> None:
|
|
86
86
|
experiment_fqn = self.fully_qualified_object_name(self._database_name, self._schema_name, experiment_name)
|
|
87
87
|
query_result_checker.SqlResultValidator(
|
|
88
88
|
self._session,
|
|
89
|
-
f"ALTER EXPERIMENT {experiment_fqn} MODIFY RUN {run_name}
|
|
89
|
+
f"ALTER EXPERIMENT {experiment_fqn} MODIFY RUN {run_name} ADD METRICS=$${metrics}$$",
|
|
90
|
+
).has_dimensions(expected_rows=1, expected_cols=1).validate()
|
|
91
|
+
|
|
92
|
+
def modify_run_add_params(
|
|
93
|
+
self,
|
|
94
|
+
*,
|
|
95
|
+
experiment_name: sql_identifier.SqlIdentifier,
|
|
96
|
+
run_name: sql_identifier.SqlIdentifier,
|
|
97
|
+
params: str,
|
|
98
|
+
) -> None:
|
|
99
|
+
experiment_fqn = self.fully_qualified_object_name(self._database_name, self._schema_name, experiment_name)
|
|
100
|
+
query_result_checker.SqlResultValidator(
|
|
101
|
+
self._session,
|
|
102
|
+
f"ALTER EXPERIMENT {experiment_fqn} MODIFY RUN {run_name} ADD PARAMETERS=$${params}$$",
|
|
90
103
|
).has_dimensions(expected_rows=1, expected_cols=1).validate()
|
|
91
104
|
|
|
92
105
|
def put_artifact(
|