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

DeepSpeed support #270

Merged
merged 5 commits into from
Nov 9, 2023
Merged

DeepSpeed support #270

merged 5 commits into from
Nov 9, 2023

Conversation

WentseChen
Copy link
Collaborator

Description

DeepSpeed config.
Defaults to using model parallelism when not using DeepSpeed.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have ensured make test pass (required).
  • I have checked the code using make format (required).

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Merging #270 (b6e78a2) into main (d034ce1) will decrease coverage by 0.11%.
Report is 14 commits behind head on main.
The diff coverage is 24.39%.

@@            Coverage Diff             @@
##             main     #270      +/-   ##
==========================================
- Coverage   61.58%   61.47%   -0.11%     
==========================================
  Files         255      255              
  Lines       13413    13434      +21     
==========================================
- Hits         8260     8259       -1     
- Misses       5153     5175      +22     
Flag Coverage Δ
unittests 61.47% <24.39%> (-0.11%) ⬇️

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

Files Coverage Δ
openrl/configs/config.py 100.00% <100.00%> (ø)
openrl/modules/networks/policy_network.py 73.17% <100.00%> (+0.21%) ⬆️
...penrl/modules/networks/policy_value_network_gpt.py 82.45% <100.00%> (+0.31%) ⬆️
openrl/modules/networks/utils/nlp/base_policy.py 62.04% <100.00%> (ø)
openrl/modules/networks/utils/nlp/causal_policy.py 66.91% <ø> (+1.50%) ⬆️
openrl/rewards/nlp_reward.py 95.08% <ø> (ø)
openrl/envs/nlp/rewards/intent.py 74.28% <14.28%> (-4.51%) ⬇️
openrl/modules/rl_module.py 50.98% <0.00%> (-4.23%) ⬇️
openrl/envs/nlp/rewards/kl_penalty.py 73.03% <12.50%> (-13.39%) ⬇️

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@huangshiyu13 huangshiyu13 merged commit b44efad into OpenRL-Lab:main Nov 9, 2023
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants