Skip to content
Draft
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ jobs:
pip install $(python .ci/scripts/get_compatible_scipy_version.py ${{ matrix.SKLEARN_VERSION }}) pyyaml
if [ "${{ steps.set-env.outputs.DPCFLAG }}" == "" ]; then pip install dpctl==${{ env.DPCTL_VERSION }} dpnp==${{ env.DPNP_VERSION }}; fi
pip list
python -c "import dpnp"
- name: Sklearnex testing
run: |
source venv/bin/activate
Expand Down Expand Up @@ -464,10 +465,11 @@ jobs:
with:
name: sklearnex_build_${{ env.UXL_PYTHONVERSION }}
- name: Install PyTorch
if: contains(matrix.FRAMEWORKS, 'pytorch')
if: contains(matrix.FRAMEWORKS, 'numpy')
run: |
pip install torch --index-url https://download.pytorch.org/whl/xpu
python -c "import torch; _=[print(torch.xpu.get_device_name(i)) for i in range(torch.xpu.device_count())]"
pip install dpctl==${{ env.DPCTL_VERSION }}
# pip install torch --index-url https://download.pytorch.org/whl/xpu
# python -c "import torch; _=[print(torch.xpu.get_device_name(i)) for i in range(torch.xpu.device_count())]"
- name: Install daal4py/sklearnex
run: pip install *.whl
- name: Sklearnex testing
Expand Down
2 changes: 1 addition & 1 deletion onedal/cluster/tests/test_kmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def gen_one(c):
return (cs, vs, data)

@pytest.mark.parametrize("queue", get_queues())
@pytest.mark.parametrize("dtype", [np.float32, np.float64])
@pytest.mark.parametrize("dtype", [np.float64])
@pytest.mark.parametrize("n_dim", [3, 4, 17, 24])
@pytest.mark.parametrize("n_cluster", [9, 11, 32])
@pytest.mark.parametrize("pipeline", ["implicit", "external", "internal"])
Expand Down
Loading