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

fix tutorial xshards env #5661

Merged
merged 5 commits into from
Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/orca-tutorial-xshards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools==58.0.4

- name: Run Test
run: |
conda remove -n orca-tutorial-xshards-py37 -y --all
conda create -n orca-tutorial-xshards-py37 -y python==3.7.10 setuptools==58.0.4
conda info -e
source activate orca-tutorial-xshards-py37
pip uninstall -y bigdl-friesian bigdl-friesian-spark3 bigdl-dllib bigdl-dllib-spark3 bigdl-orca pyspark bigdl-orca-spark3 bigdl-chronos bigdl-chronos-spark3 bigdl-friesian bigdl-friesian-spark3
pip uninstall -y intel-tensorflow
pip uninstall -y tensorflow
Expand All @@ -86,11 +93,13 @@ jobs:
pip install pandas
pip install jep==3.9.0
pip install cloudpickle
- name: Run Test
run: |
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r python/orca/dev/example/requirements-ray.txt
export SPARK_LOCAL_HOSTNAME=localhost
export FTP_URI=${FTP_URI}
chmod a+x python/orca/dev/test/run-tutorial-xshards.sh
python/orca/dev/test/run-tutorial-xshards.sh

source deactivate
conda remove -n orca-tutorial-xshards-py37 -y --all
env:
BIGDL_ROOT: ${{ github.workspace }}