forked from jax-ml/jax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include XLA_FLAGS in persistent compilation cache key.
This is to prevent false cache hits when the compiler behavior is changed via flags. Flags known to not affect the compiled executable (e.g. dumping HLO) are excluded from the key. Note that any XLA flags with arguments should use = and not a space, e.g. `--xla_flag=value`, not `--xla_flag value`. I believe this is already a requirement of ABSL flags in general, but I'm not 100% sure. Also note that this doesn't currently support XLA flags specified via --flagfile. Please file a feature request if this is needed.
- Loading branch information
Showing
2 changed files
with
95 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters