[Feature,Refactor] Refactor from_dict, add from_any, from_dataclass #1986
benchmarks.yml
on: push
CPU Pytest benchmark
8m 2s
GPU Pytest benchmark
11m 27s
Annotations
3 errors and 2 warnings
CPU Pytest benchmark
# :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
|
GPU Pytest benchmark
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
GPU Pytest benchmark
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
|
CPU Pytest benchmark
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/
|
CPU Pytest benchmark
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
|