Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
luweizheng committed Sep 29, 2024
1 parent a79e021 commit ae3b031
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- { os: ubuntu-latest, module: learn, python-version: 3.9 }
- { os: ubuntu-latest, module: mars-core, python-version: 3.9 }
- { os: ubuntu-20.04, module: hadoop, python-version: 3.9 }
- { os: ubuntu-latest, module: vineyard, python-version: 3.9 }
- { os: ubuntu-latest, module: vineyard, python-version: 3.11 }
- { os: ubuntu-latest, module: external-storage, python-version: 3.9 }
# always test compatibility with the latest version
# - { os: ubuntu-latest, module: compatibility, python-version: 3.9 }
Expand Down Expand Up @@ -131,7 +131,9 @@ jobs:
- name: Install ucx dependencies
if: ${{ (matrix.module != 'gpu') && (matrix.os == 'ubuntu-latest') && (matrix.module != 'doc-build') }}
run: |
conda install -c conda-forge -c rapidsai ucx-proc=*=cpu ucx ucx-py
# ucx-py move to ucxx and ucxx-cu12 can be run on CPU
# conda install -c conda-forge -c rapidsai ucx-proc=*=cpu ucx ucx-py
pip install ucxx-cu12
- name: Install libomp (macOS)
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
run: brew install libomp
Expand Down Expand Up @@ -275,7 +277,7 @@ jobs:
run: |
source activate ${{ env.CONDA_ENV }}
pip install --extra-index-url=https://pypi.nvidia.com cudf-cu12==24.8.*
pip install ucx-py-cu12 cython "numpy>=1.14.0,<2.0.0" cloudpickle scikit-learn \
pip install ucxx-cu12 cython "numpy>=1.14.0,<2.0.0" cloudpickle scikit-learn \
pyyaml psutil tornado sqlalchemy defusedxml tqdm uvloop coverage \
pytest pytest-cov pytest-timeout pytest-forked pytest-asyncio pytest-mock
pip install -U xoscar
Expand Down
2 changes: 0 additions & 2 deletions doc/source/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ API Reference

xorbits/index
datasets/index
xgboost/index
lightgbm/index
experimental/index
2 changes: 1 addition & 1 deletion python/xorbits/_mars/storage/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async def setup(cls, **kwargs) -> Tuple[Dict, Dict]:
if local_environ:
proc = await asyncio.create_subprocess_shell(
f"""$ALLUXIO_HOME/bin/alluxio fs mkdir /alluxio-storage
$ALLUXIO_HOME/integration/fuse/bin/alluxio-fuse mount {root_dirs} /alluxio-storage
$ALLUXIO_HOME/integration/fuse/bin/alluxio-fuse mount {root_dirs[0]} /alluxio-storage
"""
)
await proc.wait()
Expand Down
2 changes: 1 addition & 1 deletion python/xorbits/_mars/storage/tests/test_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def storage_context(request):
elif request.param == "alluxio":
tempdir = tempfile.mkdtemp()
params, teardown_params = await AlluxioStorage.setup(
root_dir=tempdir, local_environ=True
root_dirs=[tempdir], local_environ=True
)
storage = AlluxioStorage(**params)
assert storage.level == StorageLevel.MEMORY
Expand Down

0 comments on commit ae3b031

Please sign in to comment.