[Feature] Added Lazy implementation of priority updates for replaybuffer prototype
Description
Describe your changes in detail.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax close #15213 if this solves the issue #15213
Fixes #616
- [ ] I have raised an issue to propose this change (required for new features and bug fixes)
Types of changes
What types of changes does your code introduce? Remove all that do not apply:
- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds core functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (update in the documentation)
- [ ] Example (update in the folder of examples)
Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!
- [X] I have read the CONTRIBUTION guide (required)
- [ ] My change requires a change to the documentation.
- [X] I have updated the tests accordingly (required for a bug fix or a new feature).
- [ ] I have updated the documentation accordingly.
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/3507
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
:warning: 17 Awaiting Approval
As of commit 62cde31d2ef1600ab6733fd1d77b9204e6124563 with merge base 83c2101d3ef92b25e371db24e0b6aca8112ea1dd ():
AWAITING APPROVAL - The following workflows need approval before CI can run:
- Build Aarch64 Linux Wheels (gh)
- Build Linux Wheels (gh)
- Build M1 Wheels (gh)
- Build Windows Wheels (gh)
- Continuous Benchmark (gh)
- Continuous Benchmark (PR) (gh)
- Generate documentation (gh)
- Habitat Tests on Linux (gh)
- Libs Tests on Linux (gh)
- Lint (gh)
- LLM Tests on Linux (gh)
- Push Binary Nightly (gh)
- SOTA Tests on Linux (gh)
- Tutorials Tests on Linux (gh)
- Unit-tests on Linux (gh)
- Unit-tests on Windows (gh)
- Validate Test Partitioning (gh)
This comment was automatically generated by Dr. CI and updates every 15 minutes.
@ParamThakkar123 could you look into writing a quick efficiency test/benchmark? A simple before/after timing of extend() throughput would justify the added complexity