Skip to content

Commit

Permalink
fix tutorial xshards env (#5661)
Browse files Browse the repository at this point in the history
* fix tutorial xshards env

* add protobuf

* add torch

* add pyarrow

* add python requirements
  • Loading branch information
pinggao187 authored Sep 7, 2022
1 parent b798dbc commit 507da83
Showing 1 changed file with 11 additions and 2 deletions.
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 }}

0 comments on commit 507da83

Please sign in to comment.