Skip to content

Commit 6f9904e

Browse files
committed
rerun windows ci. test=develop
1 parent 43c92dc commit 6f9904e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

paddle/fluid/framework/ir/node.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ limitations under the License. */
1414

1515
#pragma once
1616

17-
#include <functional>
1817
#include <string>
1918
#include <typeindex>
2019
#include <typeinfo>

paddle/fluid/inference/utils/benchmark_tester.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ TEST(Benchmark, PersistToFile) {
3434
benchmark.SetLatency(220);
3535

3636
benchmark.PersistToFile("1.log");
37-
benchmark.PersistToFile("1.log");
38-
benchmark.PersistToFile("1.log");
37+
benchmark.PersistToFile("2.log");
38+
benchmark.PersistToFile("3.log");
3939
}

python/paddle/fluid/tests/unittests/test_ir_inplace_pass.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import os
1818
import unittest
1919
import numpy as np
20+
import paddle.fluid.core as core
2021
import paddle.fluid as fluid
2122
from parallel_executor_test_base import TestParallelExecutorBase
2223

@@ -50,6 +51,9 @@ def _fc_with_batchnorm(self,
5051
ir_memory_optimize,
5152
enable_inplace,
5253
memory_opt=False):
54+
55+
if not core.is_compiled_with_cuda():
56+
return
5357
np.random.seed(5)
5458
img = np.random.random(size=[32, 784]).astype(np.float32)
5559
label = np.ones(shape=[32, 1], dtype='int64')

0 commit comments

Comments
 (0)