-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ui/metrics feature flags #740
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments bellow. Having a cli feature flag is fine, but I would enable it by default. Also we should have a better implementation without using text-plot, probably using something like ratatui: https://github.com/ratatui-org/ratatui.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dae I'm still unsure about the feature flag names metrics
and ui
, but at least we offer the option now!
Partially implements tracel-ai#729: - Added a new train-cli feature to enable the metric plotting/CLI rendering.
Conflicts fixed . No preferences on names - some other ideas: train-tui, train-sys-metrics. |
Partially implements #729:
The burn crate no longer enables the training module unless the train feature is enabled.textplots has two security warnings that can be avoided when the CLI
is excluded:
33 │ atty 0.2.14 registry+https://github.com/rust-lang/crates.io-index
│ ----------------------------------------------------------------- unsound advisory detected
│
= ID: RUSTSEC-2021-0145
= Advisory: https://rustsec.org/advisories/RUSTSEC-2021-0145
= On windows,
atty
dereferences a potentially unaligned pointer.16 │ ansi_term 0.12.1 registry+https://github.com/rust-lang/crates.io-index
│ ---------------------------------------------------------------------- unmaintained advisory detected
│
= ID: RUSTSEC-2021-0139
= Advisory: https://rustsec.org/advisories/RUSTSEC-2021-0139
= The maintainer has advised that this crate is deprecated and will not receive any maintenance.
Pull Request Template
Checklist
run-checks
script has been executed.Related Issues/PRs
#729