Skip to content

WIP: Compile singleton dynamic clusters statically - #33

Draft
stevenvar wants to merge 1 commit into
steven.dynamic-padding-alignment-wipfrom
steven.static-singleton-dynamic-clusters-wip
Draft

WIP: Compile singleton dynamic clusters statically#33
stevenvar wants to merge 1 commit into
steven.dynamic-padding-alignment-wipfrom
steven.static-singleton-dynamic-clusters-wip

Conversation

@stevenvar

Copy link
Copy Markdown
Owner

Summary

This draft preserves an experiment for compiling a request with an incoming [1<dynamic-expression>] dimension using a fully static XLA signature.

When triggered, dynamic expressions are replaced by the current literal argument dimensions and constant contents before compilation.

Status

This is kept aside for investigation and is not intended to merge currently. The padded concrete dimensions are already included in the XLA compilation cache key, so a {1} padding bucket should not be reused for larger dimensions. The specialization may therefore be unnecessary.

Verification

  • Built //tensorflow/compiler/jit/kernels:xla_ops_no_jit_rewrite_registration locally.

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