Skip to content

[Refactor] Avoid lambda functions in core functionality #2019

[Refactor] Avoid lambda functions in core functionality

[Refactor] Avoid lambda functions in core functionality #2019

Triggered via push December 9, 2024 22:01
Status Failure
Total duration 11m 52s
Artifacts

benchmarks.yml

on: push
CPU Pytest benchmark
8m 19s
CPU Pytest benchmark
GPU Pytest benchmark
11m 43s
GPU Pytest benchmark
Fit to window
Zoom out
Zoom in

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: 1d93434a162791a82dc778a6285e5bbf7ca61280 | Previous: 22da67919ca0da19472df11ed7f848a2aefb638a | Ratio | |-|-|-|-| | `benchmarks/common/common_ops_test.py::test_membership_stacked_nested_last` | `73787.07320167463` iter/sec (`stddev: 9.026788400671645e-7`) | `236851.76594821215` iter/sec (`stddev: 4.7294599557419775e-7`) | `3.21` | | `benchmarks/common/common_ops_test.py::test_membership_stacked_nested_leaf_last` | `74603.15909558881` iter/sec (`stddev: 9.409564330564455e-7`) | `236358.4965251614` iter/sec (`stddev: 4.4173484150467373e-7`) | `3.17` | 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/1d93434a162791a82dc778a6285e5bbf7ca61280#commitcomment-150122689
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
Performance alert! Previous value was 236851.76594821215 and current value is 73787.07320167463. It is 3.209935774262919x worse than previous exceeding a ratio threshold 2
CPU Pytest benchmark
Performance alert! Previous value was 236358.4965251614 and current value is 74603.15909558881. It is 3.1682102928418345x worse than previous exceeding a ratio threshold 2