Skip to content

Guard compile-time-constant clustering under dynamic sizes - #24

Draft
stevenvar wants to merge 1 commit into
for-serving-2.20from
steven.tile-dynamic-size-guards
Draft

Guard compile-time-constant clustering under dynamic sizes#24
stevenvar wants to merge 1 commit into
for-serving-2.20from
steven.tile-dynamic-size-guards

Conversation

@stevenvar

@stevenvar stevenvar commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • reject XLA clustering for dynamic-size ops when a compile-time-constant input is not fed by a Const producer
  • keep the check in mark_for_compilation so these cases stay in TensorFlow instead of reaching XLA with invalid compile-time assumptions

Scope

  • only updates tensorflow/compiler/jit/mark_for_compilation_pass.cc

@stevenvar stevenvar changed the title Add Tile dynamic-size debug guards Guard compile-time-constant clustering under dynamic sizes Jul 6, 2026
@stevenvar
stevenvar force-pushed the steven.tile-dynamic-size-guards branch from 07fdaf2 to d3dcf54 Compare July 6, 2026 10:21
stevenvar pushed a commit that referenced this pull request Jul 7, 2026
@stevenvar
stevenvar marked this pull request as draft July 29, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant