|
| 1 | +# Unless required by applicable law or agreed to in writing, software |
| 2 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 3 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 4 | +# See the License for the specific language governing permissions and |
| 5 | +# limitations under the License. |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | +# you may not use this file except in compliance with the License. |
| 11 | +# You may obtain a copy of the License at |
| 12 | +# |
| 13 | +# Copyright (c) 2023 Intel Corporation |
| 14 | +# |
| 15 | +# -*- coding: utf-8 -*- |
| 16 | +# |
| 17 | + |
| 18 | +version: '3' |
| 19 | +services: |
| 20 | + classical-ml: |
| 21 | + build: |
| 22 | + args: |
| 23 | + BASE_IMAGE: ${BASE_IMAGE:-ubuntu} |
| 24 | + BASE_TAG: ${BASE_TAG:-22.04} |
| 25 | + DAAL4PY_VERSION: ${DAAL4PY_VERSION:-2024.0.1} |
| 26 | + DEVICE: ${DEVICE:-flex} |
| 27 | + DPCPP_VER: ${DPCPP_VER:-2024.0.0-49819} |
| 28 | + LEVEL_ZERO_DEV_VER: 1.14.0-744~22.04 |
| 29 | + LEVEL_ZERO_GPU_VER: 1.3.27191.42-775~22.04 |
| 30 | + LEVEL_ZERO_VER: 1.14.0-744~22.04 |
| 31 | + ICD_VER: 23.35.27191.42-775~22.04 |
| 32 | + IDP_VERSION: ${IDP_VERSION:-2024.0.0} |
| 33 | + INTEL_CHANNEL: ${INTEL_CHANNEL:-intel} |
| 34 | + MINICONDA_VERSION: ${MINICONDA_VERSION:-latest-Linux-x86_64} |
| 35 | + MKL_VER: ${MKL_VER:-2024.0.0-49656} |
| 36 | + MODIN_VERSION: ${MODIN_VERSION:-0.24.1} |
| 37 | + PYTHON_VERSION: ${PYTHON_VERSION:-3.10} |
| 38 | + SCIKIT_VERSION: ${SCIKIT_VERSION:-2024.0.1} |
| 39 | + XGBOOST_VERSION: ${XGBOOST_VERSION:-1.7.3} |
| 40 | + http_proxy: ${http_proxy} |
| 41 | + https_proxy: ${https_proxy} |
| 42 | + no_proxy: '' |
| 43 | + context: . |
| 44 | + target: classical-ml-jupyter |
| 45 | + command: | |
| 46 | + bash -c "conda run -n classical-ml python -c 'import sklearn; import xgboost; print(\"SciKit:\", sklearn.__version__, \" XGBoost:\",xgboost.__version__)' && \ |
| 47 | + conda run -n classical-ml python -c 'import modin.pandas as pd, modin.config as cfg; cfg.Engine.put(\"Ray\"); df = pd.DataFrame([1]);print(df+1)'" |
| 48 | + image: ${REGISTRY}/aiops/mlops-ci:b-${GITHUB_RUN_NUMBER:-0}-classical-ml-${IDP_VERSION:-2024.0.0}-py${PYTHON_VERSION:-3.10} |
| 49 | + devices: |
| 50 | + - /dev/dri:/dev/dri |
| 51 | + environment: |
| 52 | + http_proxy: ${http_proxy} |
| 53 | + https_proxy: ${https_proxy} |
| 54 | + network_mode: host |
| 55 | + shm_size: 12GB |
| 56 | + volumes: |
| 57 | + - /dev/dri/by-path:/dev/dri/by-path |
0 commit comments