DLR-RM / stable-baselines3

PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.
https://stable-baselines3.readthedocs.io
MIT License
8.38k stars 1.61k forks source link

Update ruff and documentation for hf sb3 #1866

Closed araffin closed 4 months ago

araffin commented 4 months ago

Related to #1852 , weight_only=True doesn't work unfortunately, because we need to allow gymnasium imports. Related to #1831

Description

Motivation and Context

Types of changes

Checklist

Note: You can run most of the checks using make commit-checks.

Note: we are using a maximum length of 127 characters per line