Skip to content

[XLA:GPU] Remove the deprecated autotuner cache DebugOptions fields. - #53065

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1012596778
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1012596778

Conversation

@copybara-service

Copy link
Copy Markdown

[XLA:GPU] Remove the deprecated autotuner cache DebugOptions fields.

xla_gpu_dump_autotune_results_to, xla_gpu_load_autotune_results_from, xla_gpu_per_fusion_autotune_cache_dir, xla_gpu_experimental_autotune_cache_mode and xla_gpu_require_complete_aot_autotune_results were replaced by xla_dump_autotune_cache_to, xla_load_autotune_cache_from, xla_autotune_cache_dir, xla_autotune_cache_mode and xla_fail_on_autotune_cache_miss.

Delete the deprecated DebugOptions fields and reserve their tag numbers and names, so code that still sets them fails to build and the numbers and names are never reused. The deprecated --xla_gpu_* command-line flags remain as aliases that now set the new fields, which take over the defaults and are read directly without falling back.

`xla_gpu_dump_autotune_results_to`, `xla_gpu_load_autotune_results_from`, `xla_gpu_per_fusion_autotune_cache_dir`, `xla_gpu_experimental_autotune_cache_mode` and `xla_gpu_require_complete_aot_autotune_results` were replaced by `xla_dump_autotune_cache_to`, `xla_load_autotune_cache_from`, `xla_autotune_cache_dir`, `xla_autotune_cache_mode` and `xla_fail_on_autotune_cache_miss`.

Delete the deprecated `DebugOptions` fields and reserve their tag numbers and names, so code that still sets them fails to build and the numbers and names are never reused. The deprecated `--xla_gpu_*` command-line flags remain as aliases that now set the new fields, which take over the defaults and are read directly without falling back.

PiperOrigin-RevId: 1012596778
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