Skip to content

Commit b37585e

Browse files
authored
[BugFix] fix paddle_git_commit_id error (#2714)
* set git identity to avoid merge failure in CI * add ci cases * [CI] Add validation for MTP and CUDAGraph * [BugFix] fix paddle_git_commit_id error
1 parent 9cb08e7 commit b37585e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function version_info() {
180180
output_file="fastdeploy/version.txt"
181181
fastdeploy_git_commit_id=$(git rev-parse HEAD)
182182
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]+")
183+
paddle_git_commit_id=$(${python} -c "import paddle; print(paddle.__git_commit__)")
184184
cuda_version=$(nvcc -V | grep -Po "(?<=release )[\d.]+(?=, V)")
185185
cxx_version=$(g++ --version | head -n 1 | grep -Po "(?<=\) )[\d.]+")
186186

0 commit comments

Comments
 (0)