remove other MINDSPORE_HCCL

This commit is contained in:
panbingao 2020-08-06 17:38:16 +08:00
parent c17ed236ee
commit 541d27c149
6 changed files with 5 additions and 6 deletions

View File

@ -212,7 +212,7 @@ parameters/options:
Usage: sh script/run_distribute_train.sh [RANK_TABLE_FILE] [DATA_PATH]
parameters/options:
RANK_TABLE_FILE HCCL configuration file path.
RANK_TABLE_FILE HCCL configuration file path.
DATA_PATH the storage path of dataset.
```

View File

@ -22,7 +22,7 @@ fi
if [ ! -f $1 ]
then
echo "error: RANK_TABLE_FILEH=$1 is not a file"
echo "error: RANK_TABLE_FILE=$1 is not a file"
exit 1
fi

View File

@ -55,7 +55,7 @@ fi
export DEVICE_NUM=8
export RANK_SIZE=8
export RANK_TABLE_FILEH=$RANK_TABLE_FILE
export RANK_TABLE_FILE=$RANK_TABLE_FILE
for((i=0; i<${DEVICE_NUM}; i++))
do

View File

@ -44,7 +44,7 @@ The overall network architecture of DeepFM is show below:
### Usage
- sh run_train.sh [DEVICE_NUM] [DATASET_PATH] [MINDSPORE_HCCL_CONFIG_PAHT]
- sh run_train.sh [DEVICE_NUM] [DATASET_PATH] [RANK_TABLE_FILE]
- python train.py --dataset_path [DATASET_PATH]
### Launch

View File

@ -14,7 +14,7 @@
# limitations under the License.
# ============================================================================
echo "Please run the script as: "
echo "sh scripts/run_distribute_train.sh DEVICE_NUM DATASET_PATH MINDSPORE_HCCL_CONFIG_PAHT"
echo "sh scripts/run_distribute_train.sh DEVICE_NUM DATASET_PATH RANK_TABLE_FILE"
echo "for example: sh scripts/run_distribute_train.sh 8 /dataset_path /rank_table_8p.json"
echo "After running the script, the network runs in the background, The log will be generated in logx/output.log"

View File

@ -28,7 +28,6 @@ EMB_DIM=$5
DATASET=$6
ENV_SH=$7
MODE=$8
export MINDSPORE_HCCL_CONFIG=$9
export RANK_TABLE_FILE=$9
DEVICE_START=0
# shellcheck source=/dev/null