* Exit event handler if KeyEvent is of release kind
* Switch logic to return on press
---------
Co-authored-by: Dilshod Tadjibaev <939125+antimora@users.noreply.github.com>
* Add new persistant cache to tune cache
* Serialize autotune presistent cache using vectors
* Properly load and save the persistent cachegf
* Print an error when autotune cache cannot be loaded
* Add tests for persistent cache
Use the same logic as the already implemented tests
* Cargo fmt
* Silence clippy check about implementing default for CliMetricsRenderer
* Add burn-compute feature flag autotune-persistent-cache
This allow burn-compute to remain no-std compliant
* debug
* Git ignore .dir-locals.el files
* Update documentation for compute_checksum implementation
* Expect messages should be an expectation not an error message
* Replace silent eprintln! by log:warn! macro
* Remove clippy allow attribute
* Fix typos in documentation
* Move creation of additional client into the test fn that requires it
* Create compute clients in test function to test different checksum
* Revert tui as a default feature in burn-train cargo file
* Use structs for autotune cache entries
* Unpack InMemoryCacheEntry for even better readibility
* Remove uneeded checksum_checked field in no-std env
* Make sure that autotune cache directoy exists
* Add test for autotune cache file path creation
* Add prefix device info to autotune cache file
* Use new compute in autotune cache integration tests
This prevents race condition by always reloading the cache fir
each test.
* Move burn-compute rand depdencencie in dev-dependencies
* Avoid creation of formatted msg except in case of actual error
* Fix burn-compute unused code warning in no-std env
* feat: Add support for using a custom renderer
When integrating in an app, the CLI display is undesirable. This will
allow us to collect the progress of iterations, so they can be displayed
in a GUI.
Because CLIDashboardRenderer() writes to the console when ::new() is
called, the code has had to be refactored to defer creation until .build()
is called. This meant that instead of delegating the metric assignments
to the already-created dashboard, we instead need to store them and add
them later.
* feat: Allow opt-out of experiment.log