Skip to content

move model managers out of workflow (#421)#429

Closed
czxttkl wants to merge 1 commit intofacebookresearch:masterfrom
czxttkl:export-D27073406
Closed

move model managers out of workflow (#421)#429
czxttkl wants to merge 1 commit intofacebookresearch:masterfrom
czxttkl:export-D27073406

Conversation

@czxttkl
Copy link
Contributor

@czxttkl czxttkl commented Mar 20, 2021

Summary: Pull Request resolved: #421

Differential Revision: D27073406

@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D27073406

1 similar comment
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D27073406

czxttkl added a commit to czxttkl/ReAgent that referenced this pull request Mar 20, 2021
Summary:
Pull Request resolved: facebookresearch#429

Pull Request resolved: facebookresearch#421

Differential Revision: D27073406

fbshipit-source-id: 93e3ea04fb1b14cff9b8fc8e7b437c82d71b5ab5
czxttkl added a commit to czxttkl/ReAgent that referenced this pull request Mar 20, 2021
Summary:
Pull Request resolved: facebookresearch#429

Pull Request resolved: facebookresearch#421

Differential Revision: D27073406

fbshipit-source-id: 0b57c4d5016c8abccd1e5aa6419938f767740ec4
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D27073406

@codecov-io
Copy link

codecov-io commented Mar 20, 2021

Codecov Report

Merging #429 (654b1a9) into master (ad64447) will decrease coverage by 0.02%.
The diff coverage is 87.17%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #429      +/-   ##
==========================================
- Coverage   82.34%   82.32%   -0.03%     
==========================================
  Files         312      312              
  Lines       17841    17848       +7     
  Branches       42       42              
==========================================
+ Hits        14691    14693       +2     
- Misses       3126     3131       +5     
  Partials       24       24              
Impacted Files Coverage Δ
reagent/model_managers/actor_critic/__init__.py 100.00% <ø> (ø)
reagent/model_managers/discrete/__init__.py 100.00% <ø> (ø)
reagent/model_managers/model_based/__init__.py 100.00% <ø> (ø)
reagent/model_managers/model_manager.py 86.02% <ø> (ø)
reagent/model_managers/parametric/__init__.py 100.00% <ø> (ø)
reagent/model_managers/policy_gradient/__init__.py 100.00% <ø> (ø)
reagent/model_managers/ranking/__init__.py 100.00% <ø> (ø)
reagent/core/utils.py 66.66% <28.57%> (-25.00%) ⬇️
reagent/gym/tests/test_gym.py 76.76% <100.00%> (ø)
reagent/gym/tests/test_gym_offline.py 98.50% <100.00%> (ø)
... and 27 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad64447...654b1a9. Read the comment docs.

Summary:
Pull Request resolved: facebookresearch#429

Pull Request resolved: facebookresearch#421

Now, for each model manager, it has an OSS implementation in `reagent.model_manager` and internal implementation in `reagent.model_manager.fb`. The internal version mostly inherits from the OSS counterpart with just a few methods overridden for internal usage. So the code has minimal duplication.

Reviewed By: MisterTea

Differential Revision: D27073406

fbshipit-source-id: dde588be1ad4e94d6afff3fcdf21bf81870cf54b
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D27073406

@facebook-github-bot
Copy link

This pull request has been merged in 9fc389b.

xuruiyang pushed a commit that referenced this pull request Sep 20, 2025
Summary:
Pull Request resolved: #429

Pull Request resolved: #421

Now, for each model manager, it has an OSS implementation in `reagent.model_manager` and internal implementation in `reagent.model_manager.fb`. The internal version mostly inherits from the OSS counterpart with just a few methods overridden for internal usage. So the code has minimal duplication.

Reviewed By: MisterTea

Differential Revision: D27073406

fbshipit-source-id: e6192960b8e132f5680adc2222993d9ff18216ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants