Skip to content

Commit a25c239

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 6a5d998 commit a25c239

File tree

8 files changed

+87
-4
lines changed

8 files changed

+87
-4
lines changed

enterprise/redhat/openshift-ai/gaudi/docker/docker-compose.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2024 Intel Corporation
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
services:
216
gaudi-base:
317
build:

enterprise/redhat/openshift-ai/gaudi/docker/install-python310.sh

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#!/bin/bash
2+
# Copyright (c) 2024 Intel Corporation
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
216
set -e
317

418
_BASE_NAME=${1:-"ubuntu22.04"}
@@ -87,4 +101,3 @@ case "${_BASE_NAME}" in
87101
esac
88102

89103
python3 -m pip install --upgrade pip setuptools
90-

enterprise/redhat/openshift-ai/gaudi/docker/install_efa.sh

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
#!/bin/bash -ex
22

3+
# Copyright (c) 2024 Intel Corporation
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
317
DEFAULT_EFA_INSTALLER_VER=1.29.0
418
efa_installer_version=${1:-$DEFAULT_EFA_INSTALLER_VER}
519

enterprise/redhat/openshift-ai/gaudi/docker/install_packages.sh

+14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#!/bin/bash
2+
# Copyright (c) 2024 Intel Corporation
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
216
set -ex
317

418
pt_package_name="pytorch_modules-v${PT_VERSION}_${VERSION}_${REVISION}.tgz"

enterprise/redhat/openshift-ai/gaudi/docker/licenses/LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@
198198
distributed under the License is distributed on an "AS IS" BASIS,
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201-
limitations under the License.
201+
limitations under the License.

enterprise/redhat/openshift-ai/gaudi/docker/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jupyter-resource-usage~=0.7.2
3131
nbdime~=3.2.1
3232
nbgitpuller~=1.2.0
3333

34-
# pycodestyle is dependency of below packages
34+
# pycodestyle is dependency of below packages
3535
# and to achieve compatible of pycodestyle with python-lsp-server[all]
3636
# pinned the below packages
3737
autopep8~=2.0.4

enterprise/redhat/openshift-ai/gaudi/docker/start-notebook.sh

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
#!/usr/bin/env bash
22

3+
# Copyright (c) 2024 Intel Corporation
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
317
# Load bash libraries
418
SCRIPT_DIR=${APP_ROOT}/bin
519
source ${SCRIPT_DIR}/utils/process.sh
@@ -39,4 +53,4 @@ echo ${NOTEBOOK_PROGRAM_ARGS}
3953
start_process jupyter lab ${NOTEBOOK_PROGRAM_ARGS} \
4054
--ServerApp.ip=0.0.0.0 \
4155
--ServerApp.allow_origin="*" \
42-
--ServerApp.open_browser=False
56+
--ServerApp.open_browser=False

enterprise/redhat/openshift-ai/gaudi/docker/utils/process.sh

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
#!/usr/bin/env bash
22

3+
# Copyright (c) 2024 Intel Corporation
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
317
function start_process() {
418
trap stop_process TERM INT
519

0 commit comments

Comments
 (0)