Skip to content

Commit

Permalink
Update warpdrive tutorial (#172)
Browse files Browse the repository at this point in the history
* Update warpdrive tutorial
* Apply suggestions from code review

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
  • Loading branch information
kaushikb11 and Borda authored May 17, 2022
1 parent c478057 commit 3fda6eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lightning_examples/warp-drive/.meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ description: This notebook introduces multi-agent reinforcement learning (MARL)
requirements:
- rl-warp-drive>=1.6.5
- ffmpeg-python
# todo: after merging #155 we will relax this just to `torch<=1.10` and drop TV, TT, etc.
- torch==1.10.*
- torchvision==0.11.*
- torchtext==0.11.*
accelerator:
- GPU
2 changes: 2 additions & 0 deletions lightning_examples/warp-drive/multi_agent_rl.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@
devices=num_gpus,
callbacks=[cuda_callback, perf_stats_callback],
max_epochs=num_epochs,
log_every_n_steps=1,
reload_dataloaders_every_n_epochs=1,
)

# %%
Expand Down

0 comments on commit 3fda6eb

Please sign in to comment.