Skip to content

Commit e73e178

Browse files
sfc-gh-anavalosSnowflake Authors
and
Snowflake Authors
authored
Project import generated by Copybara. (#97)
GitOrigin-RevId: d335dcb33796fa8ad29bfde02530d08bc3c4b92e Co-authored-by: Snowflake Authors <[email protected]>
1 parent b1cfe76 commit e73e178

File tree

134 files changed

+5617
-2359
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+5617
-2359
lines changed

CHANGELOG.md

+61-51
Large diffs are not rendered by default.

WORKSPACE

+18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
workspace(name = "SnowML")
22

33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar")
4+
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
45

56
http_jar(
67
name = "bazel_diff",
@@ -51,6 +52,23 @@ aspect_bazel_lib_dependencies()
5152

5253
register_yq_toolchains()
5354

55+
git_repository(
56+
name = "bazel_latex",
57+
commit = "f9e1532513760f1379396e55e9e38013869d2a8c",
58+
remote = "https://github.com/ProdriveTechnologies/bazel-latex.git",
59+
)
60+
61+
load("@bazel_latex//:repositories.bzl", "latex_repositories")
62+
63+
latex_repositories()
64+
65+
register_toolchains(
66+
"@bazel_latex//:latex_toolchain_aarch64-darwin",
67+
"@bazel_latex//:latex_toolchain_amd64-freebsd",
68+
"@bazel_latex//:latex_toolchain_x86_64-darwin",
69+
"@bazel_latex//:latex_toolchain_x86_64-linux",
70+
)
71+
5472
local_repository(
5573
name = "rules_sphinx",
5674
path = "./third_party/rules_sphinx",

bazel/environments/conda-env-snowflake.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies:
1212
- boto3==1.24.28
1313
- build==0.10.0
1414
- cachetools==4.2.2
15+
- catboost==1.2.0
1516
- cloudpickle==2.2.1
1617
- conda-libmamba-solver==23.7.0
1718
- coverage==6.3.2

bazel/environments/conda-env.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies:
1212
- boto3==1.24.28
1313
- build==0.10.0
1414
- cachetools==4.2.2
15+
- catboost==1.2.0
1516
- cloudpickle==2.2.1
1617
- conda-forge::accelerate==0.22.0
1718
- conda-forge::mypy==1.5.1

bazel/environments/conda-gpu-env.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies:
1212
- boto3==1.24.28
1313
- build==0.10.0
1414
- cachetools==4.2.2
15+
- catboost==1.2.0
1516
- cloudpickle==2.2.1
1617
- conda-forge::accelerate==0.22.0
1718
- conda-forge::mypy==1.5.1

bazel/requirements/requirements.schema.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@
9595
{
9696
"enum": [
9797
"deployment_core",
98-
"udf_inference",
99-
"spcs_inference",
98+
"snowml_inference_alternative",
10099
"model_packaging",
101100
"build_essential",
102101
"build_test_env"

bazel/requirements/templates/meta.tpl.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ requirements:
1414
- bazel >=6.0.0
1515
run:
1616
- python>=3.8,<3.12
17-
run_constrained:
18-
- pytorch<2.1.0 # [win]
1917

2018
about:
2119
home: https://github.com/snowflakedb/snowflake-ml-python

ci/conda_recipe/meta.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ build:
1717
noarch: python
1818
package:
1919
name: snowflake-ml-python
20-
version: 1.4.0
20+
version: 1.4.1
2121
requirements:
2222
build:
2323
- python
@@ -27,12 +27,13 @@ requirements:
2727
- aiohttp!=4.0.0a0, !=4.0.0a1
2828
- anyio>=3.5.0,<4
2929
- cachetools>=3.1.1,<6
30+
- catboost>=1.2.0, <1.3
3031
- cloudpickle>=2.0.0
3132
- fsspec>=2022.11,<2024
3233
- importlib_resources>=6.1.1, <7
3334
- numpy>=1.23,<2
3435
- packaging>=20.9,<24
35-
- pandas>=1.0.0,<2
36+
- pandas>=1.0.0,<3
3637
- pyarrow
3738
- pytimeparse>=1.1.8,<2
3839
- pyyaml>=6.0,<7
@@ -48,15 +49,15 @@ requirements:
4849
- xgboost>=1.7.3,<2
4950
- python>=3.8,<3.12
5051
run_constrained:
51-
- lightgbm==3.3.5
52+
- lightgbm>=3.3.5,<4.2
5253
- mlflow>=2.1.0,<2.4
54+
- pytorch>=2.0.1,<3
5355
- sentence-transformers>=2.2.2,<3
5456
- sentencepiece>=0.1.95,<0.2
5557
- shap==0.42.1
5658
- tensorflow>=2.10,<3
5759
- tokenizers>=0.10,<1
5860
- torchdata>=0.4,<1
5961
- transformers>=4.32.1,<5
60-
- pytorch<2.1.0 # [win]
6162
source:
6263
path: ../../

0 commit comments

Comments
 (0)