Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Port test_fake_tensordict to torchrl #731

Merged
merged 4 commits into from
Dec 8, 2022
Merged

Conversation

vmoens
Copy link
Contributor

@vmoens vmoens commented Dec 8, 2022

Description

Exposes test_fake_tensordict to the users as a sanity check for custom environments.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 8, 2022
@codecov
Copy link

codecov bot commented Dec 8, 2022

Codecov Report

Merging #731 (70f4c4d) into main (a677fb1) will increase coverage by 0.00%.
The diff coverage is 94.11%.

@@           Coverage Diff           @@
##             main     #731   +/-   ##
=======================================
  Coverage   88.71%   88.71%           
=======================================
  Files         120      120           
  Lines       20240    20241    +1     
=======================================
+ Hits        17955    17956    +1     
  Misses       2285     2285           
Flag Coverage Δ
habitat-gpu 25.06% <11.76%> (+<0.01%) ⬆️
linux-cpu 85.66% <91.17%> (+<0.01%) ⬆️
linux-gpu 86.60% <91.17%> (+<0.01%) ⬆️
linux-jumanji 30.27% <88.23%> (+<0.01%) ⬆️
linux-outdeps-gpu 72.11% <11.76%> (+<0.01%) ⬆️
linux-stable-cpu 85.51% <91.17%> (+<0.01%) ⬆️
linux-stable-gpu 86.23% <91.17%> (+<0.01%) ⬆️
linux_examples-gpu 43.00% <10.34%> (-0.09%) ⬇️
macos-cpu 85.33% <91.17%> (+<0.01%) ⬆️
olddeps-gpu 76.10% <88.23%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/_utils_internal.py 89.70% <ø> (-2.05%) ⬇️
test/test_libs.py 96.19% <80.00%> (+0.01%) ⬆️
torchrl/envs/utils.py 95.77% <96.55%> (+0.53%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@vmoens vmoens merged commit bb3c271 into main Dec 8, 2022
@vmoens vmoens deleted the testfaketensordict branch December 14, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants