Skip to content

Commit

Permalink
Batch resizing (#286)
Browse files Browse the repository at this point in the history
* Add utility to help manage batch resizer

* Add scaling config

* cleanrljax pins

* Update scaling files

* Update batch sizer model

* Latest batch size model

* Update pins

---------

Co-authored-by: pierre.delaunay <[email protected]>
  • Loading branch information
Delaunay and pierre.delaunay authored Sep 19, 2024
1 parent cf0df51 commit dbebc7c
Show file tree
Hide file tree
Showing 40 changed files with 626 additions and 259 deletions.
64 changes: 34 additions & 30 deletions .pin/constraints-cuda-torch.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions benchmarks/brax/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def run():

args = parser.parse_args()

# args.num_envs = (args.batch_size * args.num_minibatches)


train(
environment=envs.get_environment(env_name=args.env),
num_timesteps=args.num_timesteps,
Expand Down
20 changes: 10 additions & 10 deletions benchmarks/brax/requirements.cuda.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions benchmarks/brax/voirfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class Config:
skip: int = 5

# Number of rates to log before stopping
stop: int = 20
stop: int = 60

# Number of seconds between each gpu poll
gpu_poll: int = 3
gpu_poll: int = 1


@configurable
Expand Down
Loading

0 comments on commit dbebc7c

Please sign in to comment.