[XLA] Bump the constant folding threshold up
PiperOrigin-RevId: 246083525
This commit is contained in:
parent
a10615b14f
commit
bf8e40b92f
@ -130,7 +130,7 @@ StatusOr<bool> HloConstantFolding::Run(HloModule* module) {
|
||||
int64 elements_in_constant =
|
||||
ShapeUtil::ElementsIn(instruction->shape());
|
||||
|
||||
static const int64 kMaximumConstantSizeElements = 2 * 1000 * 1000;
|
||||
static const int64 kMaximumConstantSizeElements = 45 * 1000 * 1000;
|
||||
if (elements_in_constant > elements_in_removed_operands &&
|
||||
elements_in_constant > kMaximumConstantSizeElements) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user