From 647525952d78a1878d82d6c835be0541d1a2e37e Mon Sep 17 00:00:00 2001 From: wql Date: Thu, 19 Sep 2024 15:25:12 +0800 Subject: [PATCH] chore: set ASCEND_RT_VISIBLE_DEVICES --- batch_run.sh | 22 ++++++++++++++++++++++ run_once.sh | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/batch_run.sh b/batch_run.sh index 56c43e92..b49ed766 100644 --- a/batch_run.sh +++ b/batch_run.sh @@ -4,6 +4,8 @@ repeat_cnt=$1 +export ASCEND_RT_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 + for ((i=0; i