pytorch / rl

A modular, primitive-first, python-first PyTorch library for Reinforcement Learning.
https://pytorch.org/rl
MIT License
2.05k stars 273 forks source link

[BugFix] Fix `to` in MultiDiscreteTensorSpec #2204

Closed Quinticx closed 1 month ago

Quinticx commented 1 month ago

Description

Fixes typo from #2203

Motivation and Context

close #2203

Types of changes

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!

pytorch-bot[bot] commented 1 month ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/2204

Note: Links to docs will display an error until the docs builds have been completed.

:x: 11 New Failures, 16 Unrelated Failures

As of commit 252d64a23a6138bdbcf2404309303568a63433f9 with merge base 013d1107939b4c88267370846678cce75421dbf8 (image):

NEW FAILURES - The following jobs have failed:

* [Continuous Benchmark (PR) / CPU Pytest benchmark](https://hud.pytorch.org/pr/pytorch/rl/2204#25897555104) ([gh](https://github.com/pytorch/rl/actions/runs/9402741287/job/25897555104)) `Workflow failed! Resource not accessible by integration` * [Continuous Benchmark (PR) / GPU Pytest benchmark](https://hud.pytorch.org/pr/pytorch/rl/2204#25897556385) ([gh](https://github.com/pytorch/rl/actions/runs/9402741287/job/25897556385)) `Workflow failed! Resource not accessible by integration` * [Generate documentation / build-docs (3.9, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897558499) ([gh](https://github.com/pytorch/rl/actions/runs/9402741367/job/25897558499)) `No files were found with the provided path: /home/ec2-user/actions-runner/_work/_temp/artifacts/. No artifacts will be uploaded.` * [Lint / c-source / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897557470) ([gh](https://github.com/pytorch/rl/actions/runs/9402741348/job/25897557470)) * [Unit-tests on Windows / unittests-cpu / windows-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897557485) ([gh](https://github.com/pytorch/rl/actions/runs/9402741360/job/25897557485)) `The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128` * [Wheels / test-wheel (linux, ubuntu-20.04, 3.10)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897660066) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897660066)) `ModuleNotFoundError: No module named 'dm_env'` * [Wheels / test-wheel (linux, ubuntu-20.04, 3.11)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897660502) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897660502)) `ModuleNotFoundError: No module named 'dm_env'` * [Wheels / test-wheel (linux, ubuntu-20.04, 3.8)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897658954) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897658954)) `ModuleNotFoundError: No module named 'dm_env'` * [Wheels / test-wheel (linux, ubuntu-20.04, 3.9)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897659539) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897659539)) `##[error]The operation was canceled.` * [Wheels / test-wheel-windows (3.8)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897802115) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897802115)) `ModuleNotFoundError: No module named 'dm_env'` * [Wheels / test-wheel-windows (3.9)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897802526) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897802526)) `ModuleNotFoundError: No module named 'dm_env'`

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

* [Examples Tests on Linux / tests (3.9, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897558539) ([gh](https://github.com/pytorch/rl/actions/runs/9402741366/job/25897558539)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Habitat Tests on Linux / tests (3.9, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897557801) ([gh](https://github.com/pytorch/rl/actions/runs/9402741353/job/25897557801)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Libs Tests on Linux / unittests-gym (3.9, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897581954) ([gh](https://github.com/pytorch/rl/actions/runs/9402741361/job/25897581954)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Libs Tests on Linux / unittests-sklearn (3.9, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897581321) ([gh](https://github.com/pytorch/rl/actions/runs/9402741361/job/25897581321)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Lint / python-source-and-configs / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897558552) ([gh](https://github.com/pytorch/rl/actions/runs/9402741348/job/25897558552)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [RLHF Tests on Linux / unittests (3.9, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897561372) ([gh](https://github.com/pytorch/rl/actions/runs/9402741425/job/25897561372)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-cpu (3.10) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897560152) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897560152)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-cpu (3.11) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897561404) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897561404)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-cpu (3.8) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897562586) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897562586)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-cpu (3.9) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897564218) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897564218)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-gpu (3.10, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897565150) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897565150)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-olddeps (3.8, 11.6) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897566221) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897566221)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-optdeps (3.10, 12.1) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897575209) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897575209)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Unit-tests on Linux / tests-stable-gpu (3.10, 11.8) / linux-job](https://hud.pytorch.org/pr/pytorch/rl/2204#25897575943) ([gh](https://github.com/pytorch/rl/actions/runs/9402741365/job/25897575943)) (matched **linux** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `The process '/usr/bin/git' failed with exit code 128` * [Wheels / test-wheel-windows (3.10)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897802946) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897802946)) (matched **win** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `##[error]The operation was canceled.` * [Wheels / test-wheel-windows (3.11)](https://hud.pytorch.org/pr/pytorch/rl/2204#25897803339) ([gh](https://github.com/pytorch/rl/actions/runs/9402741277/job/25897803339)) (matched **win** rule in [flaky-rules.json](https://github.com/pytorch/test-infra/blob/generated-stats/stats/flaky-rules.json)) `##[error]The operation was canceled.`

This comment was automatically generated by Dr. CI and updates every 15 minutes.