Move import location for Ray 2 (#721)

* ray version check when importing

* display learner_class when starting_points removed

* test ray 2
This commit is contained in:
Chi Wang
2022-09-13 19:13:06 -07:00
committed by GitHub
parent a89efb552f
commit b7a010e657
17 changed files with 138 additions and 97 deletions

View File

@@ -43,8 +43,12 @@ jobs:
pip install -e .
python -c "import flaml"
pip install -e .[test]
- name: If linux or mac, install ray
if: matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest'
- name: If linux, install ray 2
if: matrix.os == 'ubuntu-latest'
run: |
pip install ray[tune]
- name: If mac, install ray
if: matrix.os == 'macOS-latest'
run: |
pip install -e .[ray]
- name: If linux or mac, install prophet on python < 3.9