We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb08e7 commit b37585eCopy full SHA for b37585e
build.sh
@@ -180,7 +180,7 @@ function version_info() {
180
output_file="fastdeploy/version.txt"
181
fastdeploy_git_commit_id=$(git rev-parse HEAD)
182
paddle_version=$(${python} -c "import paddle; print(paddle.__version__)")
183
- paddle_git_commit_id=$(${python} -c "import paddle; print(paddle.version.show())" | grep -Po "(?<=commit: )[\da-f]+")
+ paddle_git_commit_id=$(${python} -c "import paddle; print(paddle.__git_commit__)")
184
cuda_version=$(nvcc -V | grep -Po "(?<=release )[\d.]+(?=, V)")
185
cxx_version=$(g++ --version | head -n 1 | grep -Po "(?<=\) )[\d.]+")
186
0 commit comments