Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding python3.12 support to ORT #18814

Merged
merged 20 commits into from
Jan 11, 2024

Merge branch 'main' into Cjian/python312

1aac519
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Adding python3.12 support to ORT #18814

Merge branch 'main' into Cjian/python312
1aac519
Select commit
Loading
Failed to load commit list.
GitHub Actions / shellcheck completed Jan 11, 2024 in 1s

reviewdog [shellcheck] report

reported by reviewdog 🐶

Findings (22)

tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|14 col 1| os_major_version appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|18 col 1| GLIBC_VERSION appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|25 col 3| LIBDIR appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|29 col 8| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|29 col 8| Not following: ./install_shared_deps.sh: openBinaryFile: does not exist (No such file or directory)
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|34 col 10| ShellCheck can't follow non-constant source. Use a directive to specify location.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|34 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|42 col 35| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|43 col 35| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|51 col 8| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|13 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|20 col 4| INSTALL_DEPS_DISTRIBUTED_SETUP appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|57 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|58 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|61 col 39| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|64 col 41| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|65 col 41| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|67 col 41| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_deps.sh|7 col 3| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_linux_python_package.sh|18 col 4| Variable was used as an array but is now assigned a string.
tools/ci_build/github/linux/build_linux_python_package.sh|65 col 26| See if you can use ${variable//search/replace} instead.
tools/ci_build/github/linux/build_linux_python_package.sh|65 col 31| Double quote to prevent globbing and word splitting.

Filtered Findings (910)

build.sh|21 col 9| Double quote to prevent globbing and word splitting.
build.sh|21 col 50| Double quote to prevent globbing and word splitting.
onnxruntime/test/python/transformers/benchmark_mha.sh|1 col 1| Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
onnxruntime/test/python/transformers/sharded_moe/run_script.sh|1 col 1| Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
onnxruntime/python/tools/transformers/models/llama/benchmark_70b_model.sh|10 col 5| Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
onnxruntime/python/tools/transformers/models/llama/convert_70b_model.sh|10 col 5| Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
onnxruntime/python/tools/transformers/run_benchmark.sh|1 col 1| Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
onnxruntime/python/tools/transformers/run_benchmark.sh|66 col 167| run_cpu is referenced but not assigned.
onnxruntime/python/tools/transformers/run_benchmark.sh|66 col 229| sequence_length is referenced but not assigned (did you mean 'sequence_lengths'?).
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 64| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 67| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 70| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 62| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 65| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 68| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 61| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 64| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 67| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 59| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 62| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 65| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 64| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 80| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 83| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 62| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 75| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 78| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 81| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 61| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 74| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 80| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 59| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 72| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 75| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 78| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 49| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 52| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 71| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 74| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 46| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 49| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 68| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 71| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 74| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|159 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|159 col 50| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|159 col 53| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|159 col 72| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|159 col 75| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|159 col 78| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|161 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|161 col 47| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|161 col 50| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|161 col 69| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|161 col 72| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|161 col 75| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|166 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|166 col 55| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|166 col 58| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|166 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|166 col 80| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|166 col 83| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|168 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|168 col 52| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|168 col 55| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|168 col 74| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|168 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|168 col 80| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|173 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|173 col 54| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|173 col 57| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|173 col 76| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|173 col 79| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|173 col 82| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|175 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|175 col 51| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|175 col 54| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|175 col 73| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|175 col 76| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|175 col 79| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|187 col 42| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|198 col 42| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|206 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|214 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|219 col 18| This expression is constant. Did you forget the $ on a variable?
onnxruntime/python/tools/transformers/run_benchmark.sh|220 col 10| log_file is referenced but not assigned.
onnxruntime/python/tools/transformers/run_benchmark.sh|220 col 10| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|4 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/perf.sh|17 col 6| Use -n instead of ! -z.
onnxruntime/python/tools/tensorrt/perf/perf.sh|24 col 6| Use -n instead of ! -z.
onnxruntime/python/tools/tensorrt/perf/perf.sh|24 col 11| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|26 col 24| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|27 col 5| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/perf.sh|27 col 8| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|46 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|61 col 9| Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames.
onnxruntime/python/tools/tensorrt/perf/perf.sh|68 col 48| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|68 col 70| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|68 col 78| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|5 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 26| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 56| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 70| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 94| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 102| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 175| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 186| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 201| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|8 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|23 col 9| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|28 col 9| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|33 col 6| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|35 col 5| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|35 col 8| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|38 col 111| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|41 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|41 col 4| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|44 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|52 col 6| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|53 col 136| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|54 col 6| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|61 col 11| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|63 col 36| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|64 col 23| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|65 col 24| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|69 col 12| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|98 col 11| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|110 col 9| -e doesn't work with globs. Use a for loop.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|115 col 10| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|7 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|22 col 9| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 31| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 111| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 191| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 211| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 233| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/setup_scripts/setup_many_models.sh|1 col 2| Remove spaces between # and ! in the shebang.
onnxruntime/python/tools/tensorrt/perf/setup_scripts/setup_many_models.sh|5 col 7| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_machine.sh|5 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/run_perf_machine.sh|16 col 14| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_machine.sh|16 col 35| Double quote to prevent globbing and word splitting.
js/build_web.sh|18 col 5| DIR_OS appears unused. Verify use (or export if used externally).
js/build_web.sh|22 col 9| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/install_cmake.sh|7 col 10| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/install_cmake.sh|9 col 100| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/install_common_deps.sh|2 col 1| DEBIAN_FRONTEND appears unused. Verify use (or export if used externally).
dockerfiles/scripts/install_rocm_deps.sh|3 col 1| DEBIAN_FRONTEND appears unused. Verify use (or export if used externally).
dockerfiles/scripts/install_rocm_deps.sh|19 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|21 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|33 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|35 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|47 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|49 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|61 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|63 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|76 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|78 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/docker_run_vitisai.sh|8 col 6| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/docker_run_vitisai.sh|9 col 5| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/docker_run_vitisai.sh|10 col 5| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/docker_run_vitisai.sh|26 col 5| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|29 col 13| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|29 col 26| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|29 col 38| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|30 col 8| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|1 col 1| Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
orttraining/tools/amdgpu/script/run_bert.sh|10 col 6| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|12 col 8| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|39 col 6| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|41 col 8| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|43 col 8| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|54 col 11| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|55 col 12| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|60 col 11| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|60 col 22| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|61 col 12| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|61 col 23| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|64 col 6| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|68 col 6| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|72 col 6| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|73 col 8| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|75 col 10| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 7| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 27| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 128| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 156| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 187| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 232| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 263| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 388| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 417| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 503| Double quote to prevent globbing and word splitting.
orttraining/tools/amdgpu/script/run_bert.sh|80 col 541| Double quote to prevent globbing and word splitting.
... (Too many findings. Dropped some findings)

Annotations

Check warning on line 14 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L14 <ShellCheck.SC2034>

os_major_version appears unused. Verify use (or export if used externally).
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:14:1: warning: os_major_version appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)

Check warning on line 18 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L18 <ShellCheck.SC2034>

GLIBC_VERSION appears unused. Verify use (or export if used externally).
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:18:1: warning: GLIBC_VERSION appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)

Check warning on line 25 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L25 <ShellCheck.SC2034>

LIBDIR appears unused. Verify use (or export if used externally).
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:25:3: warning: LIBDIR appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)

Check warning on line 29 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L29 <ShellCheck.SC2046>

Quote this to prevent word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:29:8: warning: Quote this to prevent word splitting. (ShellCheck.SC2046)

Check notice on line 29 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L29 <ShellCheck.SC1091>

Not following: ./install_shared_deps.sh: openBinaryFile: does not exist (No such file or directory)
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:29:8: info: Not following: ./install_shared_deps.sh: openBinaryFile: does not exist (No such file or directory) (ShellCheck.SC1091)

Check warning on line 34 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L34 <ShellCheck.SC1090>

ShellCheck can't follow non-constant source. Use a directive to specify location.
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:34:10: warning: ShellCheck can't follow non-constant source. Use a directive to specify location. (ShellCheck.SC1090)

Check notice on line 34 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L34 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:34:10: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 42 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L42 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:42:35: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 43 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L43 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:43:35: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check warning on line 51 in tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh#L51 <ShellCheck.SC2046>

Quote this to prevent word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh:51:8: warning: Quote this to prevent word splitting. (ShellCheck.SC2046)

Check warning on line 13 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L13 <ShellCheck.SC2220>

Invalid flags are not handled. Add a *) case.
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:13:4: warning: Invalid flags are not handled. Add a *) case. (ShellCheck.SC2220)

Check warning on line 20 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L20 <ShellCheck.SC2034>

INSTALL_DEPS_DISTRIBUTED_SETUP appears unused. Verify use (or export if used externally).
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:20:4: warning: INSTALL_DEPS_DISTRIBUTED_SETUP appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)

Check notice on line 57 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L57 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:57:33: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 58 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L58 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:58:6: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 61 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L61 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:61:39: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 64 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L64 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:64:41: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 65 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L65 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:65:41: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 67 in tools/ci_build/github/linux/docker/scripts/install_python_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/scripts/install_python_deps.sh#L67 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/scripts/install_python_deps.sh:67:41: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 7 in tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_deps.sh#L7 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_deps.sh:7:3: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check warning on line 18 in tools/ci_build/github/linux/build_linux_python_package.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L18 <ShellCheck.SC2178>

Variable was used as an array but is now assigned a string.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:18:4: warning: Variable was used as an array but is now assigned a string. (ShellCheck.SC2178)

Check notice on line 65 in tools/ci_build/github/linux/build_linux_python_package.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L65 <ShellCheck.SC2001>

See if you can use ${variable//search/replace} instead.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:65:26: info: See if you can use ${variable//search/replace} instead. (ShellCheck.SC2001)

Check notice on line 65 in tools/ci_build/github/linux/build_linux_python_package.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L65 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:65:31: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)