[XLA] Make large params test only run in opt builds.
PiperOrigin-RevId: 168491913
This commit is contained in:
parent
11d3ac29d5
commit
48ddf64d0e
@ -251,6 +251,10 @@ XLA_TEST_F(ParamsTest, HundredLargeR1Parameters) {
|
||||
ComputeAndCompareR1<float>(&builder, sum, param_data, ErrorSpec(0.0001f));
|
||||
}
|
||||
|
||||
// Only run the 3,000-parameter tests in opt mode to avoid test timeouts.
|
||||
// Timeout last observed on 2017-09-12.
|
||||
#ifndef NDEBUG
|
||||
|
||||
// TODO(b/65525254) Fails on GPU on 2017-09-10 because we try to reserve too
|
||||
// much space in parameter memory for the kernel.
|
||||
//
|
||||
@ -330,6 +334,8 @@ XLA_TEST_F(ParamsTest, DISABLED_ON_CPU(DISABLED_ON_GPU(
|
||||
ComputeAndCompareTuple(&builder, *Literal::MakeTuple(ptrs), param_data);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
XLA_TEST_F(ParamsTest,
|
||||
DISABLED_ON_CPU_PARALLEL(TupleOfR1ParametersAddedTogether)) {
|
||||
ComputationBuilder builder(client_, TestName());
|
||||
|
Loading…
Reference in New Issue
Block a user