Skip to content

Commit 5578d70

Browse files
authored
Update Paddle to 1117 (#2179)
* Update paddle to 1117 * fix patch
1 parent 0568757 commit 5578d70

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Paddle

Submodule Paddle updated 356 files

backends/iluvatar_gpu/build_paddle.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ fi
3838

3939
bash clean_paddle.sh
4040

41+
pushd "${CURRENT_DIR}/../.."
42+
git submodule update --init --recursive --force
43+
popd
44+
4145
if ! git -C "$PADDLE_SOURCE_DIR" apply --reverse --check "$PATCH_FILE" > /dev/null 2>&1; then
4246
if ! git -C "$PADDLE_SOURCE_DIR" apply "$PATCH_FILE"; then
4347
echo "Error: Failed to apply patch!"

backends/iluvatar_gpu/patches/paddle-corex.patch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ index 1df6184141..fc6015b209 100644
552552
#pragma once
553553

554554
#include "paddle/phi/core/dense_tensor.h"
555+
#include "paddle/phi/core/device_context.h"
555556
+#ifndef PADDLE_WITH_COREX
556557
#include "paddle/phi/kernels/funcs/blas/blas.h"
557558
+#endif

0 commit comments

Comments
 (0)