Home
last modified time | relevance | path

Searched full:base_path (Results 1 – 25 of 60) sorted by relevance

123

/third_party/mindspore/mindspore-src/source/tests/st/networks/models/resnet50/scripts/
Drun_resnet50_imagenet_4p.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
26 python $BASE_PATH/../train_resnet50.py >scheduler.log 2>&1 &
40 rm -rf $BASE_PATH/../train_parallel$j
41 mkdir $BASE_PATH/../train_parallel$j
42 cd $BASE_PATH/../train_parallel$j || exit
44 …(taskset -c $cmdopt python $BASE_PATH/../train_resnet50.py &> log; grep "#-#" log > resnet_$i.txt)…
49 cat $BASE_PATH/../train_parallel0/log
50 cat $BASE_PATH/../train_parallel*/resnet_*.txt
Drun_resnet_thor_imagenet_4p.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
25 python $BASE_PATH/../train_resnet50_thor.py >scheduler_thor.log 2>&1 &
39 rm -rf $BASE_PATH/../train_parallel_thor$j
40 mkdir $BASE_PATH/../train_parallel_thor$j
41 cd $BASE_PATH/../train_parallel_thor$j || exit
43 …(taskset -c $cmdopt python $BASE_PATH/../train_resnet50_thor.py &> log; grep "#-#" log > thor_$i.t…
48 cat $BASE_PATH/../train_parallel_thor5/log
49 cat $BASE_PATH/../train_parallel_thor*/thor_*.txt
Drun_train.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
18 bash $BASE_PATH/run_resnet50_imagenet_4p.sh &
19 bash $BASE_PATH/run_resnet_thor_imagenet_4p.sh &
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/st/scripts/ascend/
Drun_akg_custom_ops.sh13 local base_path=${PWD}
16 release_package_path=${base_path}/linux_aarch64/cloud_fusion/
18 release_package_path=${base_path}/centos_x86/cloud_fusion/
24 base_path=$(pwd)
42 local base_path=${PWD}
44 pytest ${base_path}/python/akg_custom_ops/test_paged_attention.py -s
52 pytest ${base_path}/python/akg_custom_ops/test_paged_attention_mask.py -s
60 pytest ${base_path}/python/akg_custom_ops/test_reshape_and_cache.py -s
Drun_python_api_ascend.sh13 local base_path=${PWD}
16 release_package_path=${base_path}/linux_aarch64/cloud_fusion/
18 release_package_path=${base_path}/centos_x86/cloud_fusion/
24 base_path=$(pwd)
42 local base_path=${PWD}
43 pytest ${base_path}/python/python_api/test_check_ascend.py -s
51 pytest ${base_path}/python/python_api/test_lite_llm_engine_api.py -s
58 pytest ${base_path}/python/python_api/test_lite_llm_engine_error_code.py -s
/third_party/mindspore/mindspore-src/source/tests/st/optimizer/
Drun_came.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
26 rm -rf ${BASE_PATH}/test_came${i}
27 mkdir ${BASE_PATH}/test_came${i}
28 cp -r ${BASE_PATH}/came_optimizer_shard.py ${BASE_PATH}/came.py ${BASE_PATH}/test_came${i}/
29 cd ${BASE_PATH}/test_came${i}
/third_party/mindspore/mindspore-src/source/tests/st/auto_parallel/
Drun_auto_parallel_loss_expand.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
21 source ${BASE_PATH}/env.sh
27 rm -rf ${BASE_PATH}/loss_expand${i}
28 mkdir ${BASE_PATH}/loss_expand${i}
29 cp -r ${BASE_PATH}/soft_entropy_loss_expand_parallel.py ${BASE_PATH}/loss_expand${i}/
30 cd ${BASE_PATH}/loss_expand${i}
Drun_auto_parallel_resnet50_expand_loss.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
21 source ${BASE_PATH}/env.sh
27 rm -rf ${BASE_PATH}/resnet50_expand_loss${i}
28 mkdir ${BASE_PATH}/resnet50_expand_loss${i}
29 cp -r ${BASE_PATH}/resnet50_expand_loss.py ${BASE_PATH}/resnet50_expand_loss${i}/
30 cd ${BASE_PATH}/resnet50_expand_loss${i}
Drun_onehot_model_parallel.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
22 source ${BASE_PATH}/env.sh
28 rm -rf ${BASE_PATH}/onehot_model_parallel${i}
29 mkdir ${BASE_PATH}/onehot_model_parallel${i}
30 cp -r ${BASE_PATH}/onehot_model_parallel.py ${BASE_PATH}/onehot_model_parallel${i}/
31 cd ${BASE_PATH}/onehot_model_parallel${i}
Drun_parallel_recursive_strategy_search.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
21 source ${BASE_PATH}/env.sh
29 rm -rf ${BASE_PATH}/parallel_recursive_strategy_search${i}
30 mkdir ${BASE_PATH}/parallel_recursive_strategy_search${i}
31 …cp -r ${BASE_PATH}/parallel_strategy_search.py ${BASE_PATH}/parallel_recursive_strategy_search${i…
32 cd ${BASE_PATH}/parallel_recursive_strategy_search${i}
Drun_optimizer_parallel.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
21 source ${BASE_PATH}/env.sh
29 rm -rf ${BASE_PATH}/optimizer_parallel${i}
30 mkdir ${BASE_PATH}/optimizer_parallel${i}
31 cp -r ${BASE_PATH}/optimizer_parallel.py ${BASE_PATH}/optimizer_parallel${i}/
32 cd ${BASE_PATH}/optimizer_parallel${i}
Drun_parallel_strategy_search.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
21 source ${BASE_PATH}/env.sh
29 rm -rf ${BASE_PATH}/parallel_strategy_search${i}
30 mkdir ${BASE_PATH}/parallel_strategy_search${i}
31 cp -r ${BASE_PATH}/parallel_strategy_search.py ${BASE_PATH}/parallel_strategy_search${i}/
32 cd ${BASE_PATH}/parallel_strategy_search${i}
/third_party/mindspore/mindspore-src/source/tests/st/summary/
Drun_summary_without_mainfunc.sh16 BASE_PATH=$(cd "$(dirname $0)"; pwd)
25 rm -rf ${BASE_PATH}/summary_${i}
26 mkdir ${BASE_PATH}/summary_${i}
27 cp -r ${BASE_PATH}/summary_net.py ${BASE_PATH}/summary_${i}/
28 cd ${BASE_PATH}/summary_${i}
/third_party/rust/rust/src/tools/build-manifest/src/
Dmanifest.rs53 pub(crate) fn add_tarball(&mut self, builder: &mut Builder, target: &str, base_path: &str) { in add_tarball()
55 let base_path = builder.input.join(base_path); in add_tarball() localVariable
57 if let Some(tarball) = tarball_variant(builder, &base_path, compression) { in add_tarball()
86 pub(crate) fn from_compressed_tar(builder: &mut Builder, base_path: &str) -> Self { in from_compressed_tar()
87 let base_path = builder.input.join(base_path); in from_compressed_tar() localVariable
88 let gz = tarball_variant(builder, &base_path, "gz"); in from_compressed_tar()
89 let xz = tarball_variant(builder, &base_path, "xz"); in from_compressed_tar()
/third_party/mindspore/mindspore-src/source/tests/st/ge/
Drun_while_by_cell_list_in_while.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
18 rm -rf ${BASE_PATH}/while_by_cell_list_in_while
19 mkdir ${BASE_PATH}/while_by_cell_list_in_while
20 export PYTHONPATH=${BASE_PATH}/:$PYTHONPATH
22 cd ${BASE_PATH}/while_by_cell_list_in_while
Drun_string_length.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
18 rm -rf ${BASE_PATH}/string_length
19 mkdir ${BASE_PATH}/string_length
21 cd ${BASE_PATH}/string_length
Drun_if_by_if.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
18 rm -rf ${BASE_PATH}/if_by_if
19 mkdir ${BASE_PATH}/if_by_if
21 cd ${BASE_PATH}/if_by_if
Drun_if.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
18 rm -rf ${BASE_PATH}/if
19 mkdir ${BASE_PATH}/if
21 cd ${BASE_PATH}/if
Drun_cell_list_in_while.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
18 rm -rf ${BASE_PATH}/cell_list_in_while
19 mkdir ${BASE_PATH}/cell_list_in_while
21 cd ${BASE_PATH}/cell_list_in_while
/third_party/gn/src/base/files/
Dscoped_temp_dir.cc38 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { in CreateUniqueTempDirUnderPath() argument
42 // If |base_path| does not exist, create it. in CreateUniqueTempDirUnderPath()
43 if (!base::CreateDirectory(base_path)) in CreateUniqueTempDirUnderPath()
46 // Create a new, uniquely named directory under |base_path|. in CreateUniqueTempDirUnderPath()
47 if (!base::CreateTemporaryDirInDir(base_path, kScopedDirPrefix, &path_)) in CreateUniqueTempDirUnderPath()
/third_party/python/Lib/lib2to3/fixes/
Dfix_import.py90 base_path = dirname(self.filename)
91 base_path = join(base_path, imp_name)
94 if not exists(join(dirname(base_path), "__init__.py")):
97 if exists(base_path + ext):
/third_party/mindspore/mindspore-src/source/tests/ut/ge/
Drun_simple_net.sh17 BASE_PATH=$(cd "$(dirname $0)"; pwd)
18 rm -rf ${BASE_PATH}/simple_net
19 mkdir ${BASE_PATH}/simple_net
21 cd ${BASE_PATH}/simple_net
/third_party/mindspore/mindspore-src/source/docs/api/api_python/samples/ops/
Dcommunicate_ops.md264 BASE_PATH=$(cd "$(dirname $0)"; pwd)
266 rm -rf ${BASE_PATH}/rank${i}
267 mkdir ${BASE_PATH}/rank${i}
268 cp -r ${BASE_PATH}/neighborexchange.py ${BASE_PATH}/rank${i}/
269 cd ${BASE_PATH}/rank${i}
346 BASE_PATH=$(cd "$(dirname $0)"; pwd)
348 rm -rf ${BASE_PATH}/rank${i}
349 mkdir ${BASE_PATH}/rank${i}
350 cp -r ${BASE_PATH}/neighborexchangev2.py ${BASE_PATH}/rank${i}/
351 cd ${BASE_PATH}/rank${i}
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/
Dschema_tensor_wrapper.cc28 … const std::string &base_path, mindspore::infer::helper::InferHelpers *infer_helpers) { in Init() argument
31 const std::string &base_path) { in Init()
61 …ReadFileSegment(base_path + external_data->location()->str(), external_data->offset(), external_da… in Init()
66 …ReadFileSegment(base_path + external_data->location()->str(), external_data->offset(), external_da… in Init()
/third_party/jerryscript/tools/
Dheaplimit_measure.py27 BASE_PATH = os.path.join(TOOLS_PATH, '..') variable
32 JERRY_BUILDER = os.path.join(BASE_PATH, 'tools', 'build.py')
33 JERRY_BIN = os.path.join(BASE_PATH, 'build', 'bin', 'jerry')
34 TEST_DIR = os.path.join(BASE_PATH, 'tests')

123