Skip to content

Commit

Permalink
Simplify the ludwig dependency (#975)
Browse files Browse the repository at this point in the history
We simplify the ludwig dependency from `ludwig[full]` to
`ludwig[hyperopt,distributed]`.

https://app.circleci.com/pipelines/github/georgia-tech-db/evadb/4910
shows the end to end AutoML training still works as expected.
  • Loading branch information
xzdandy authored Aug 28, 2023
1 parent 8a6653b commit b0655b1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
26 changes: 19 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ workflows:
v: ["3.8", "3.9", "3.10", "3.11"]
filters:
branches:
only: staging
only:
- staging
################################
#### LONG INTEGRATION TESTS + RAY:
#### Staging, Master
Expand Down Expand Up @@ -133,8 +134,12 @@ workflows:
################################
#- Windows:
# name: "Windows | v3.10"
# - MacOS:
# name: "MacOS | v3.10"
#- MacOS:
# name: FULL TEST | v<< matrix.v >> | MacOS
# mode: FULL
# matrix:
# parameters:
# v: ["3.10"]

jobs:
Linux:
Expand Down Expand Up @@ -283,6 +288,13 @@ jobs:
bash script\test\test.sh
MacOS:
parameters:
v:
type: string
default: "3.10"
mode:
type: string
default: "FULL"
macos:
xcode: "14.2.0"
steps:
Expand All @@ -291,8 +303,8 @@ jobs:
command: |
brew update
brew install pyenv git
pyenv install 3.10.8
pyenv global 3.10.8
pyenv install "<< parameters.v >>"
pyenv global "<< parameters.v >>"
eval "$(pyenv init -)"
python --version
pip --version
Expand All @@ -305,9 +317,9 @@ jobs:
source test_evadb/bin/activate
pip install --upgrade pip
pip debug --verbose
pip install ".[dev]"
pip install ".[dev,ludwig,qdrant]"
source test_evadb/bin/activate
bash script/test/test.sh
bash script/test/test.sh -m "<< parameters.mode >>"
Pip-PyPI:
resource_class: large
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def read(path, encoding="utf-8"):
]

ludwig_libs = [
"ludwig[full]" # MODEL TRAIN AND FINE TUNING
"ludwig[hyperopt,distributed]" # MODEL TRAIN AND FINE TUNING
]

### NEEDED FOR DEVELOPER TESTING ONLY
Expand Down

0 comments on commit b0655b1

Please sign in to comment.