Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV: allow to set
rustboard
file read buffer size via ENV var (tens…
…orflow#6251) * Motivation for features / changes tensorflow#6248 * Technical description of changes As discussed in the original issue, running `rustboard` on a large number of tf event files can result in a OOM because of a larged, fixed size read buffer for each file. Allow to configure the buffer size via the `TB_GCS_BUFFER_SIZE_KB` environment variable (buffer size in Kb). * Detailed steps to verify changes work correctly (as executed by you) ```sh > cargo build > RUST_LOG=debug TB_GCS_BUFFER_SIZE_KB=1024 cargo run -- --logdir=gs://PATH/TO/MANY/FILE --reload-once ``` * Alternate designs / implementations considered Could have been a CLI flag, see tensorflow#6248 (comment)
- Loading branch information