[Feature,Refactor] Refactor from_dict, add from_any, from_dataclass #1986
Annotations
1 error and 2 warnings
Store benchmark results
# :warning: **Performance Alert** :warning:
Possible performance regression was detected for benchmark **'CPU Benchmark Results'**.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold `2`.
| Benchmark suite | Current: c95a703944f3b761987c173c6fbcdb1f2c2fb712 | Previous: bbfe8c7fbb3e52c162cb39c44ed71f9c4d45723d | Ratio |
|-|-|-|-|
| `benchmarks/common/memmap_benchmarks_test.py::test_serialize_weights_pickle` | `1.1902179248053413` iter/sec (`stddev: 0.2651448754391253`) | `2.447683711352569` iter/sec (`stddev: 0.05866664724989506`) | `2.06` |
This comment was automatically generated by [workflow](https://github.com/pytorch/tensordict/actions?query=workflow%3AContinuous%20Benchmark) using [github-action-benchmark](https://github.com/marketplace/actions/continuous-benchmark).
CC: @vmoens
Comment was generated at https://github.com/pytorch/tensordict/commit/c95a703944f3b761987c173c6fbcdb1f2c2fb712#commitcomment-149451824
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Store benchmark results
Performance alert! Previous value was 2.447683711352569 and current value is 1.1902179248053413. It is 2.0565004612519884x worse than previous exceeding a ratio threshold 2
|
Loading