KEMBAR78
core: add --detect_file_replacement flag and plumbing (redo) by nfelt · Pull Request #5546 · tensorflow/tensorboard · GitHub
Skip to content

Conversation

@nfelt
Copy link
Contributor

@nfelt nfelt commented Feb 1, 2022

This is a re-do of #5530, which I accidentally merged into the wrong branch (the temporary one I was using as a diffbase, rather than the intended destination of master).

Add the --detect_file_replacement flag to control the behavior introduced in #5529, and all the associated plumbing in between.

Note: since this flag would currently be pointless for RustBoard (--load_fast=true) we disallow the combination, and in the default automatic selection logic (--load_fast=auto), we check for this flag and don't use RustBoard if it was passed.

Tested: ran TensorBoard with these changes enabled (including behavior-introducing PR) and confirmed that it now picks up new data when replacing an event file entirely rather than appending to it, writes the appropriate log messages, disables RustBoard, etc.

Cc: #349.

@nfelt nfelt merged commit 50bf516 into tensorflow:master Feb 1, 2022
@nfelt nfelt deleted the filereplace-redo branch February 1, 2022 17:32
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
…low#5546)

* core: add --detect_file_replacement flag and plumbing

* core_plugin_test.py: add load_fast

* ignore unrecognized accumulator kwargs in multiplexer test

* data_ingester_test.py add detect_file_replacement flag
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
…low#5546)

* core: add --detect_file_replacement flag and plumbing

* core_plugin_test.py: add load_fast

* ignore unrecognized accumulator kwargs in multiplexer test

* data_ingester_test.py add detect_file_replacement flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants