* [xtask] Add support for vulnerabilities check in xtask
cargo +nightly xtask vulnerability --help
* [xtask] Add support for dependencies check in xtask
cargo xtask dependencies --help
* Make sure all vulnerabilities checks are called with cargo +nightly
* Fix clippy errors
* Use automatic links in docstrings
* Move run function to the top of the file
* Skip dependencies documenation
* pub -> pub(crate)
* Change return type of Sanitizer::flags to &str
* Move the run functions as an impl function of check types enums
* Remove Type suffix in check type enums
* Fix wrong variable name
* cargo_commande -> cargo_crate
* Improve robustness of is_target_supported and add tests
* Reorganize utils module into a directory
* Change DefaultFileRecorder to NamedMpkFileRecorder (no compression)
* Actually, safetensors does not have any checksum for data validation
* Update checksum explainer/recommandation
Package level profiles are ignored when workspace is enabled so
these lines are useless.
This commit removes them completely as panic, lto and rpath cannot be overridden from the workspace root.
Source: https://doc.rust-lang.org/cargo/reference/profiles.html#overrides
```
The precedence for which value is used is done in the following order (first match wins):
[profile.dev.package.name] — A named package.
[profile.dev.package."*"] — For any non-workspace member.
[profile.dev.build-override] — Only for build scripts, proc macros, and their dependencies.
[profile.dev] — Settings in Cargo.toml.
Default values built-in to Cargo.
Overrides cannot specify the panic, lto, or rpath settings.
```
* use sigmoid derivative formulas
* add test
* fix test error
* move sigmoid to tensor/ops/activation.rs
* use full precision in the default implementation
* rename the param of `sigmoid_backward`
* Refactor serialization of benchmarks
* flatten benchmarks data to make it easier to save documents to a database and
query them
* split some information into their own fields like backend and device
* add new seralized info:
- computed values (mean, median, variance, min, max)
- number of samples
- operation name
- tensor shapes if any
* serialize to separate files, one file per benchmark run
* simplify persistence module to only a save method
* Update bench save file format to use name and uuid
* Compute serialized fields count automatically via a macro
* Rework naming of benchmarks, shapes and add options field
Remove operations field
Correctly create one file per ran benchmark
* Serialize benchmark num_repeats
* Fix expect message to follow the 'should' convention
* Cargo fmt :-)
* Make Clippy happy
* Save files in the burn subdirectory
* Change name of custom_gelu bench to just gelu
* Remove num_repeats from backend-comparison benchmarks
* Fix wrong variable name to compute the median
* Remove false positive possibility in test_mean_duration
* 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
* Remove the double import for WgpuDevice
* Prioritize wgpu backend over the default ndarray when wgpu feature is set
This fixes `cargo bench --festures wgpu` as `--no-default-features` cannot be
used.