Skip to content

Commit 474da95

Browse files
committed
run all precommits
Signed-off-by: sirutBuasai <sirutbuasai27@outlook.com>
1 parent dd33126 commit 474da95

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.markdownlint.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"MD013": false, // disable line-length limit
3-
"MD033": false, // allow inline HTML
4-
"MD041": false // allow first line not being top level
2+
"MD013": false,
3+
"MD033": false,
4+
"MD041": false
55
}

scripts/install_efa.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function check_libnccl_net_so {
3030
function install_efa {
3131
EFA_VERSION=$1
3232
OPEN_MPI_PATH="/opt/amazon/openmpi"
33-
33+
3434
# Install build time tools
3535
apt-get update
3636
apt-get install -y --allow-change-held-packages --no-install-recommends \
@@ -73,14 +73,14 @@ function install_efa {
7373
ssh-keygen -q -t rsa -N '' -f /root/.ssh/id_rsa
7474
cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
7575
printf "Host *\n StrictHostKeyChecking no\n" >> /root/.ssh/config
76-
76+
7777
# Remove build time tools
7878
# apt-get remove -y
7979
# curl
8080
# build-essential
8181
# cmake
8282
# git
83-
83+
8484
# Cleanup
8585
apt-get clean
8686
apt-get autoremove -y
@@ -93,7 +93,7 @@ function install_efa {
9393
while test $# -gt 0
9494
do
9595
case "$1" in
96-
[0-9].[0-9]*.[0-9]*) install_efa $1;
96+
[0-9].[0-9]*.[0-9]*) install_efa $1;
9797
;;
9898
*) echo "bad argument $1"; exit 1
9999
;;

scripts/telemetry/bash_telemetry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# telemetry.sh
21
#!/bin/bash
2+
# telemetry.sh
33
if [ -f /usr/local/bin/deep_learning_container.py ] && [[ -z "${OPT_OUT_TRACKING}" || "${OPT_OUT_TRACKING,,}" != "true" ]]; then
44
(
55
python /usr/local/bin/deep_learning_container.py \

scripts/telemetry/deep_learning_container.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
23
#
34
# Licensed under the Apache License, Version 2.0 (the "License"). You

0 commit comments

Comments
 (0)