Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FSTORE-1464] Unify tags_api, inode and dataset_api #225

Merged
merged 139 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
0505951
Initial commit
robzor92 Sep 13, 2021
91706f7
Add documentation building and stylecheck workflows (#2)
robzor92 Oct 15, 2021
7e51789
[HOPSWORKS-2745] New API for managing machine learning models (#3)
robzor92 Oct 21, 2021
7bc7052
CONTRIBUTING.md missing from root directory (#5)
robzor92 Oct 21, 2021
1324a1b
Machine Learning section renamed to Model Management (#9)
robzor92 Oct 22, 2021
42b9ed4
Remove Experiments and Serving from library description (#18)
robzor92 Oct 25, 2021
cb814b4
Progress bar for model export (#15)
robzor92 Oct 25, 2021
c6d366b
get_model_registry() should validate the existence of a Models datase…
robzor92 Oct 25, 2021
d3c80b3
Support passing list as signature (#23)
robzor92 Nov 10, 2021
c2b8687
Full support for shared model registry (#20)
robzor92 Nov 18, 2021
c79f6ca
Rename Signature to ModelSchema and add guide and examples (#27)
robzor92 Dec 7, 2021
0703744
Add checkstyle and suppressions.xml to Java submodule (#29)
robzor92 Dec 7, 2021
08f3ade
Model schema and input example should be an InodeDTO (#30)
robzor92 Dec 9, 2021
f534a29
Remove unnecessary move operation when saving model (#34)
robzor92 Dec 17, 2021
0ae8352
training_dataset field should only be set by backend (#40)
robzor92 Dec 21, 2021
74d6724
Input example should be the raw data (#38)
robzor92 Dec 28, 2021
7692b3f
Update mkdocs.yml to fix canonical URLs (#46)
robzor92 Jan 3, 2022
8dacc82
Rename path to model_path and make it absolute, add version_path (#49)
robzor92 Jan 14, 2022
6c441ca
Model tags API should use the model tags endpoints (#44)
robzor92 Jan 24, 2022
7818e00
schema and model_schema should be top level modules (#47)
robzor92 Jan 24, 2022
69ac1af
[HOPSWORKS-2827] Add serving module (#33)
javierdlrm Jan 27, 2022
78af96a
[HOPSWORKS-2827] Support dict as params (#53)
javierdlrm Jan 27, 2022
794621a
Add index.md and CONTRIBUTING.md to docs folder (#55)
robzor92 Jan 28, 2022
619369d
Add Compute and Administration sections to mkdocs (#52)
robzor92 Jan 28, 2022
f000835
Prepare for 2.6.0-SNAPSHOT development
robzor92 Jan 28, 2022
8e2cc07
[HOPSWORKS-2974] Check if istio is available (#57)
javierdlrm Feb 4, 2022
e363ade
Pin pip to 22.0.3 to avoid mkdocs build bug
robzor92 Feb 4, 2022
348ba78
Should be possible to export a single model file (#64)
robzor92 Feb 23, 2022
31ff998
Refactor API and add default kafka topic and resources (#63)
javierdlrm Feb 23, 2022
74c0142
Model export fails in external environment due to accessing old path …
robzor92 Mar 17, 2022
e2ec859
Model export fails in external environment due to accessing old path …
robzor92 Mar 17, 2022
697d59a
External clients instantiation fails due to invalid property (#70)
robzor92 Mar 17, 2022
90b220e
Remove region_name and secrets_store parameters (#79)
robzor92 Mar 19, 2022
db359ef
Disable documentating model deploy function (#81)
robzor92 Mar 28, 2022
ba294c3
Bump mkdocs, mkdocs-material and black
robzor92 Apr 4, 2022
65d5e29
Fixes for non-kube environment (#86)
javierdlrm Apr 21, 2022
a988c28
Add descriptive representation of objects (#88)
robzor92 Apr 29, 2022
1486fe2
[HOPSWORKS-3102][HOPSWORKS-2979] Support KServe and replace logicalcl…
javierdlrm May 4, 2022
ff35d72
Add istio external client (http-only) (#90)
javierdlrm May 4, 2022
62d8722
Set default serving tool to DEFAULT (#94)
javierdlrm May 5, 2022
a492e49
Add documentation for Model Serving (#93)
javierdlrm May 13, 2022
1a06a63
Fix util get_members (#98)
javierdlrm May 17, 2022
478f493
Add api.key auth fallback and project_path (#100)
javierdlrm May 23, 2022
7ab53fb
Update custom predictor script docs (#101)
javierdlrm Jun 3, 2022
1460e44
Print url to created models and deployments (#103)
robzor92 Jun 9, 2022
9197137
Refactor inference endpoints (#105)
javierdlrm Jun 15, 2022
62889ec
Validate metrics dict on client side (#107)
robzor92 Jun 16, 2022
eb05e2c
Filter deployments, print server logs and guidance messages (#108)
javierdlrm Jun 17, 2022
26cc2df
Improve predictor creation info messages (#109)
javierdlrm Jun 20, 2022
93d708b
Use hopsworks client if istio client not available (#111)
javierdlrm Jun 27, 2022
8a488e2
Add support for istio client with node ports (#112)
javierdlrm Jun 29, 2022
392d73a
Only keep API Reference (#114)
robzor92 Jun 30, 2022
9b009ec
Only keep API Reference, Append
robzor92 Jun 30, 2022
3b6723b
mkdocs-release link major.minor to major.minor.bugfix
robzor92 Jun 30, 2022
d93a9a2
Use same style as docs.hopsworks.ai (#115)
robzor92 Jul 4, 2022
6c57606
Show dropdown properly
robzor92 Jul 5, 2022
d876a8f
Add Tutorials section
robzor92 Jul 5, 2022
5676e16
Add redirect and expand sections by default
robzor92 Jul 6, 2022
d9769f9
Adjust API links to correct landing page
robzor92 Jul 6, 2022
e97d3ed
Update inject api links script to forward to correct API page
robzor92 Jul 7, 2022
cfc45d5
Add pymdown-extensions dependency (#118)
moritzmeister Jul 18, 2022
b92f614
Build istio host header with lower case (#122)
javierdlrm Jul 25, 2022
b53d1f9
Prepare development for 3.1.0-SNAPSHOT (#123)
javierdlrm Jul 25, 2022
dd8a60f
Add latest docs alias to mkdocs-release action and hide major version…
robzor92 Jul 26, 2022
87c2cbf
Adjust links for updated tutorials structure (#127)
moritzmeister Jul 26, 2022
c441cf3
Add serving resource allocation limits (#130)
javierdlrm Aug 3, 2022
8a05010
Improve default resource limits for deployments (#133)
javierdlrm Aug 3, 2022
4fad8c7
Support non-limited resource values (#135)
javierdlrm Aug 4, 2022
d9bca49
Use development version of mike to publish documentation (#139)
robzor92 Aug 9, 2022
9557cab
hopsworks link should point to login (#140)
robzor92 Aug 18, 2022
ba0e065
Selecting a different version dropdown should land on correct page (#…
robzor92 Sep 15, 2022
e2ff754
Separate scikit-learn from python deployments (#117)
javierdlrm Sep 15, 2022
40f6da8
[HWORKS-97] Fix default serving tool (#146)
javierdlrm Sep 21, 2022
829652e
[HOPSWORKS-3278] Payara5 fixes (#142)
ErmiasG Sep 28, 2022
8331f47
[HOPSWORKS-3278]-append type not set in DTO (#147)
ErmiasG Sep 29, 2022
774a757
[FSTORE-348] Refactor Tutorials documentation page (#148)
moritzmeister Oct 4, 2022
4bce241
[FSTORE-358] Add icon to external links in documentation navigation (…
moritzmeister Oct 6, 2022
acf8d38
[HWORKS-171] model version should be downloaded in temp directory ins…
robzor92 Oct 18, 2022
ba180fd
[HWORKS-167] Remove dev/SNAPSHOT version from hsfs, hsml and hopswork…
robzor92 Oct 21, 2022
ab8f5c7
[HWORKS-199] Should be possible to get python library version using _…
robzor92 Nov 1, 2022
94827d5
[HWORKS-125] Improve status of deployments (#157)
javierdlrm Nov 9, 2022
964797d
[HWORKS-125] Add missing status to deployment.save() method (#161)
javierdlrm Nov 16, 2022
3fbc4b4
[HWORKS-349] Add compatibility with 3.0 backend (#166)
javierdlrm Dec 20, 2022
c8a384c
Bump development version to 3.2.0-SNAPSHOT/3.2.0.dev1 (#168)
moritzmeister Dec 22, 2022
c744aca
Fix pre-commit with flake8 github repo (#165)
javierdlrm Dec 22, 2022
3bc7c6b
[HWORKS-313] Add model.deploy() method to docs (#163)
javierdlrm Feb 7, 2023
73f12d0
[HWORKS-220] zip/unzip for HA, swap steps (#172)
ErmiasG Feb 8, 2023
932bf7e
[HWORKS-126] Add idempotent methods for creating deployments
javierdlrm Feb 14, 2023
b9ac658
[HWORKS-352] Make input example consistent across data types
javierdlrm Feb 14, 2023
77b49f9
[HWORKS-413] Add docs for model evaluation metrics (#176)
javierdlrm Feb 17, 2023
cf68efd
[FSTORE-619] Add feature store javadoc entry to API doc (#180)
SirOibaf Mar 13, 2023
5462f7a
Bump development version to 3.3.0-SNAPSHOT/3.3.0.dev1 (#182)
moritzmeister Apr 14, 2023
b6dcf3e
[HWORKS-483] Add creating status for deployments (#183)
javierdlrm Apr 25, 2023
9493e33
[HWORKS-524] HSML ignores knative_domain parameter
SirOibaf Apr 25, 2023
4497357
[HWORKS-622] Fix istio client _close() call
javierdlrm Jun 30, 2023
66ee2bc
Bump development version to 3.4.0-SNAPSHOT/3.4.0.dev1 (#193)
kouzant Jul 7, 2023
43be7fc
[HWORKS-682] Include return type and description for model.download()…
robzor92 Aug 3, 2023
354a3f4
[HWORKS-731] Raise error if deployment cannot be created (#199)
javierdlrm Sep 17, 2023
9424ac7
Prepare development for 3.5.0.dev1
SirOibaf Sep 18, 2023
784b0b5
Trigger build
SirOibaf Sep 18, 2023
eee4f5b
[HWORKS-798] Add **kwargs to python client libraries (#205)
robzor92 Oct 18, 2023
8c99438
[HWORKS-829] Register models without compressing files (#206)
javierdlrm Nov 6, 2023
273c302
[HWORKS-565] parallelize uploads (#208)
ErmiasG Nov 9, 2023
4f17aad
[HWORKS-835] Download model artifact without compressing files (#209)
javierdlrm Nov 13, 2023
5029235
[HWORKS-835][Append] Check if path is a dir on item attributes (#211)
javierdlrm Nov 14, 2023
a68927d
Prepare for 3.7.0-SNAPSHOT development
SirOibaf Nov 23, 2023
5e626b8
[HWORKS-802] Python 3.12 support for clients (#213)
robzor92 Nov 30, 2023
cb37ad4
[HWORKS-882] Disallow exporting a model in the root path of a dataset…
robzor92 Dec 8, 2023
3a5a7c5
[HWORKS-135] Models backend should store metadata in tables instead o…
robzor92 Dec 18, 2023
0ddbcaa
Prepare for 3.8.0-SNAPSHOT development
SirOibaf Feb 6, 2024
69224fa
[HWORKS-888] Support for gRPC protocol in Python model deployments (#…
gibchikafa Mar 8, 2024
34de8ac
[HWORKS-888] Improve documentation for gRPC support (#219)
javierdlrm Mar 15, 2024
d692024
[HWORKS-936] Explicit provenance - model (#220)
bubriks Mar 19, 2024
19fd3b7
[HWORKS-1152] Add add_tag method + deprectation warning (#224)
vatj Apr 18, 2024
96b5b91
Revert "[HWORKS-1152] Add add_tag method + deprectation warning (#224…
vatj Apr 18, 2024
b256ef4
[HWORKS-1171] Make chunk size configurable when uploading models to t…
SirOibaf Apr 29, 2024
920ac39
[HWORKS-1161] explicit provenance - feature view - cache last trainin…
o-alex Apr 30, 2024
f51af57
[HWORKS-1161][APPEND] Fix model.to_dict when there's no td version (#…
o-alex May 1, 2024
f7b78f4
[FSTORE-1371][FSTORE-1346][FSTORE-1212] Migrate to ruff, pyproject.to…
vatj May 6, 2024
590f11c
Update python requirement to <3.13 (#234)
javierdlrm May 6, 2024
bad265d
[HWORKS-635] Add pytest for hsml pojo classes (#231)
javierdlrm May 7, 2024
0f2490a
[HWORKS-108] Allow users to stop deployments at any time (#233)
javierdlrm May 7, 2024
b42f28d
[HWORKS-936][APPEND] explicit provenance - model (#235)
o-alex May 13, 2024
43cdbab
[HWORKS-937] Explicit model provenance - hsml optimization - init ser…
o-alex May 15, 2024
6fe9d6a
[HWORKS-1309] Update release scripts to handle pyproject.toml (#238)
SirOibaf Jun 12, 2024
f47cbcb
[FSTORE-1426] add requirements.txt for documentation instead of using…
SirOibaf Jun 13, 2024
954a07b
Prepare for 4.0.0-SNAPSHOT development
SirOibaf Jun 13, 2024
5d6bca9
[HWORKS-1048] Support multiple modularized project environments (#240)
robzor92 Jul 5, 2024
b066aa9
[FSTORE-1411] On-Demand Transformation Functions (#1371)
manu-sj Jul 12, 2024
029def9
[FSTORE-1466] Refactor type convert out of python engine (#1363)
vatj Jul 12, 2024
cdee83d
Merge machine-learning-api into hsml subdirectory
aversey Jul 18, 2024
19c2075
Merge feature-store-api into hsfs subdirectory
aversey Jul 18, 2024
b3bb58a
[FSTORE-1454] Unify variable_api and project_api (#219)
aversey Jul 16, 2024
edeffbc
[FSTORE-1439] Merge hopsworks-api, feature-store-api and machine-lear…
aversey Jul 13, 2024
0790dab
[FSTORE-1439][APPEND] Apply ruff formatting and fixes to the merged r…
aversey Jul 17, 2024
c679078
Move decorators, constants, variable_api and client into hopsworks_co…
aversey Jul 18, 2024
7c25dc6
Revert "Merge feature-store-api into hsfs subdirectory"
aversey Jul 19, 2024
126818f
[FSTORE-1453] Move client, decorators, variable_api and constants to …
aversey Jul 18, 2024
6cc8e4d
Merge branch 'main-after-revert-rebase' of github.com:aversey/hopswor…
aversey Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: java
on: pull_request

jobs:
unit_tests_utc:
name: Java Unit Tests
unit_tests:
name: Unit Tests
runs-on: ubuntu-latest

steps:
Expand All @@ -17,8 +17,8 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
java-version: "8"
distribution: "adopt"

- name: Cache local Maven repository
uses: actions/cache@v2
Expand All @@ -32,8 +32,8 @@ jobs:
working-directory: ./java
run: mvn clean test

unit_tests_local:
name: Java Unit Tests (Local TZ)
unit_tests_local_tz:
name: Unit Tests (Local TZ)
runs-on: ubuntu-latest

steps:
Expand All @@ -46,8 +46,8 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
java-version: "8"
distribution: "adopt"

- name: Cache local Maven repository
uses: actions/cache@v2
Expand Down
19 changes: 18 additions & 1 deletion .github/workflows/mkdocs-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,24 @@ jobs:
run: cp ../README.md . && pip3 install -r ../requirements-docs.txt && pip3 install -e .[dev]

- name: generate autodoc
run: python3 auto_doc.py
run: python3 ./python/auto_doc.py

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('java/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: "8"
distribution: "adopt"

- name: Build java doc documentation
working-directory: ./java
run: mvn clean install javadoc:javadoc javadoc:aggregate -DskipTests && cp -r target/site/apidocs ../docs/javadoc

- name: setup git
run: |
Expand Down
22 changes: 20 additions & 2 deletions .github/workflows/mkdocs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: mkdocs-release

on:
push:
branches: [branch-*\.*]
branches: [branch-*]

jobs:
publish-release:
Expand All @@ -29,7 +29,25 @@ jobs:
run: cp ../README.md . && pip3 install -r ../requirements-docs.txt && pip3 install -e .[dev]

- name: generate autodoc
run: python3 auto_doc.py
run: python3 ./python/auto_doc.py

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('java/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: "8"
distribution: "adopt"

- name: Build java doc documentation
working-directory: ./java
run:
mvn clean install javadoc:javadoc javadoc:aggregate -DskipTests && cp -r target/site/apidocs ../docs/javadoc

- name: setup git
run: |
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/python-lint.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: python

on: pull_request

env:
APP_API_KEY: ${{ secrets.APP_API_KEY }}
ENABLE_HOPSWORKS_USAGE: "false"

jobs:
lint_stylecheck:
name: Lint and Stylecheck
Expand Down Expand Up @@ -31,22 +35,25 @@ jobs:
- name: ruff on python files
if: steps.get-changed-files.outputs.src_any_changed == 'true'
env:
SRC_ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.src_all_changed_files }}
SRC_ALL_CHANGED_FILES:
${{ steps.get-changed-files.outputs.src_all_changed_files }}
run: ruff check --output-format=github $SRC_ALL_CHANGED_FILES

- name: ruff on test files
if: steps.get-changed-files.outputs.test_any_changed == 'true'
env:
TEST_ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.test_all_changed_files }}
TEST_ALL_CHANGED_FILES:
${{ steps.get-changed-files.outputs.test_all_changed_files }}
run: ruff check --output-format=github $TEST_ALL_CHANGED_FILES

- name: ruff format --check $ALL_CHANGED_FILES
env:
ALL_CHANGED_FILES: ${{ steps.get-changed-files.outputs.all_changed_files }}
ALL_CHANGED_FILES:
${{ steps.get-changed-files.outputs.all_changed_files }}
run: ruff format $ALL_CHANGED_FILES

unit_tests_ubuntu_utc:
name: Unit Testing (Ubuntu)
unit_tests:
name: Unit Tests
needs: lint_stylecheck
runs-on: ubuntu-latest
strategy:
Expand All @@ -73,12 +80,34 @@ jobs:
run: python --version

- name: Run Pytest suite
env:
ENABLE_HOPSWORKS_USAGE: "false"
run: pytest python/tests

unit_tests_ubuntu_pandas:
name: Unit Testing (Ubuntu) (Pandas 1.x)
unit_tests_no_opt:
name: Unit Tests (No Optional Dependencies)
needs: lint_stylecheck
runs-on: ubuntu-latest

steps:
- name: Set Timezone
run: sudo timedatectl set-timezone UTC

- uses: actions/checkout@v4
- name: Copy README
run: cp README.md python/

- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: "python/setup.py"
- run: pip install -e python[python,dev-no-opt]

- name: Run Pytest suite
run: pytest python/tests

unit_tests_pandas1:
name: Unit Tests (Pandas 1.x)
needs: lint_stylecheck
runs-on: ubuntu-latest

Expand All @@ -102,12 +131,10 @@ jobs:
run: python --version

- name: Run Pytest suite
env:
ENABLE_HOPSWORKS_USAGE: "false"
run: pytest python/tests

unit_tests_ubuntu_local:
name: Unit Testing (Ubuntu) (Local TZ)
unit_tests_local_tz:
name: Unit Tests (Local TZ)
needs: lint_stylecheck
runs-on: ubuntu-latest

Expand All @@ -131,12 +158,10 @@ jobs:
run: python --version

- name: Run Pytest suite
env:
ENABLE_HOPSWORKS_USAGE: "false"
run: pytest python/tests

unit_tests_ubuntu_typechecked:
name: Typechecked Unit Testing (Ubuntu)
unit_tests_typechecked:
name: Unit Tests (Typechecked)
needs: lint_stylecheck
runs-on: ubuntu-latest

Expand All @@ -155,13 +180,12 @@ jobs:

- name: Run Pytest suite
env:
ENABLE_HOPSWORKS_USAGE: "false"
HOPSWORKS_RUN_WITH_TYPECHECK: "true"
run: pytest python/tests
continue-on-error: true

unit_tests_windows_utc:
name: Unit Testing (Windows)
unit_tests_windows:
name: Unit Tests (Windows)
needs: lint_stylecheck
runs-on: windows-latest

Expand All @@ -185,12 +209,10 @@ jobs:
run: python --version

- name: Run Pytest suite
env:
ENABLE_HOPSWORKS_USAGE: "false"
run: pytest python/tests

unit_tests_windows_local:
name: Unit Testing (Windows) (Local TZ)
unit_tests_windows_local_tz:
name: Unit Tests (Windows) (Local TZ)
needs: lint_stylecheck
runs-on: windows-latest

Expand All @@ -217,6 +239,4 @@ jobs:
run: pip freeze

- name: Run Pytest suite
env:
ENABLE_HOPSWORKS_USAGE: "false"
run: pytest python/tests
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ coverage.xml
.hypothesis/
.pytest_cache/
.ruff_cache/
bigquery.json
metastore_db/

# Translations
*.mo
Expand All @@ -71,6 +73,9 @@ instance/
# Sphinx documentation
docs/_build/

# Mike Javadoc
docs/javadoc

# PyBuilder
target/

Expand Down Expand Up @@ -128,3 +133,9 @@ target/

# mkdocs intemediate files
docs/generated

docs/CONTRIBUTING.md
docs/index.md

# Test artifacts
keyFile.json
Loading
Loading