Skip to content

Write end-to-end workflow with new open-sourced workflow code#237

Closed
kaiwenw wants to merge 1 commit into
facebookresearch:masterfrom
kaiwenw:e2e-workflow
Closed

Write end-to-end workflow with new open-sourced workflow code#237
kaiwenw wants to merge 1 commit into
facebookresearch:masterfrom
kaiwenw:e2e-workflow

Conversation

@kaiwenw
Copy link
Copy Markdown
Contributor

@kaiwenw kaiwenw commented Apr 21, 2020

  • Use refactored gymrunner for making data batch
  • Implement train_and_evaluate_generic
  • (partially) fill out discrete_dqn_reporter
  • fill out model_manager.train_workflow
  • replace test_oss_workflow.py with new test.
  • simplify Preprocessor.scala and remove unused params in Timeline.scala

@kaiwenw kaiwenw force-pushed the e2e-workflow branch 4 times, most recently from 44eef59 to 57dc402 Compare April 22, 2020 18:11
Copy link
Copy Markdown

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaiwenw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Copy Markdown

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaiwenw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@kaiwenw kaiwenw force-pushed the e2e-workflow branch 2 times, most recently from 74716ed to 48755e7 Compare April 22, 2020 21:58
@codecov-io
Copy link
Copy Markdown

codecov-io commented Apr 22, 2020

Codecov Report

Merging #237 into master will increase coverage by 0.93%.
The diff coverage is 82.16%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
+ Coverage   84.02%   84.95%   +0.93%     
==========================================
  Files         193      210      +17     
  Lines       14050    14242     +192     
  Branches       52       42      -10     
==========================================
+ Hits        11805    12099     +294     
+ Misses       2221     2119     -102     
  Partials       24       24              
Impacted Files Coverage Δ
...cala/com/facebook/spark/rl/MultiStepTimeline.scala 92.98% <ø> (-0.36%) ⬇️
...rc/main/scala/com/facebook/spark/rl/Timeline.scala 86.90% <0.00%> (-3.40%) ⬇️
reagent/gym/policies/samplers/discrete_sampler.py 39.13% <0.00%> (ø)
reagent/gym/runners/gymrunner.py 94.44% <ø> (ø)
reagent/gym/types.py 85.71% <ø> (ø)
...t/workflow/model_managers/discrete/discrete_dqn.py 100.00% <ø> (ø)
...agent/workflow/model_managers/discrete_dqn_base.py 100.00% <ø> (ø)
reagent/gym/policies/random_policies.py 34.04% <31.03%> (ø)
reagent/gym/agents/post_step.py 70.17% <33.33%> (ø)
reagent/workflow/gym_batch_rl.py 70.51% <70.51%> (ø)
... and 81 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 de10f79...cb499ce. Read the comment docs.

Copy link
Copy Markdown

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaiwenw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@kaiwenw kaiwenw force-pushed the e2e-workflow branch 3 times, most recently from 712474c to 68eecdd Compare April 23, 2020 23:17
Copy link
Copy Markdown

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaiwenw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Copy Markdown

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaiwenw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

kaiwenw added a commit to kaiwenw/ReAgent that referenced this pull request Apr 24, 2020
…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Differential Revision: D21181946

fbshipit-source-id: 496ea387aed3b3be6f8bff18194b01440119b848
@facebook-github-bot
Copy link
Copy Markdown

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

kaiwenw added a commit to kaiwenw/ReAgent that referenced this pull request Apr 24, 2020
…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Differential Revision: D21181946

fbshipit-source-id: 595545618cbdcdfb9fc960ed1fa27f0f168c8794
@facebook-github-bot
Copy link
Copy Markdown

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

kaiwenw added a commit to kaiwenw/ReAgent that referenced this pull request Apr 24, 2020
…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Differential Revision: D21181946

fbshipit-source-id: 2ee53b1251241e75f172b0d6a37f16c9b4733b91
@facebook-github-bot
Copy link
Copy Markdown

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

kaiwenw added a commit to kaiwenw/ReAgent that referenced this pull request Apr 24, 2020
…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Differential Revision: D21181946

fbshipit-source-id: 7a7f819945662afc683432b8707ad4ccf4bc9162
@facebook-github-bot
Copy link
Copy Markdown

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

kaiwenw added a commit to kaiwenw/ReAgent that referenced this pull request Apr 24, 2020
…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Differential Revision: D21181946

fbshipit-source-id: 06f073e933109116a4b63bc48451a0b065218da7
@facebook-github-bot
Copy link
Copy Markdown

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

kaiwenw added a commit to kaiwenw/ReAgent that referenced this pull request Apr 25, 2020
…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Test Plan: Run workflow in scripts/ci/run_end_to_end_test.sh.

Reviewed By: kittipatv

Differential Revision: D21181946

Pulled By: kittipatv

fbshipit-source-id: 1435bf31e75186bd179bf379410d9c6f8ad324f6
@facebook-github-bot
Copy link
Copy Markdown

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

kaiwenw added a commit to kaiwenw/ReAgent that referenced this pull request Apr 25, 2020
…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Test Plan: Run workflow in scripts/ci/run_end_to_end_test.sh.

Reviewed By: kittipatv

Differential Revision: D21181946

Pulled By: kittipatv

fbshipit-source-id: 57a10e64c597fd402d8052a10d726d0eae42a7d9
@facebook-github-bot
Copy link
Copy Markdown

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

…okresearch#237)

Summary:
- Use refactored gymrunner for making data batch
- Implement train_and_evaluate_generic
- (partially) fill out discrete_dqn_reporter
- fill out model_manager.train_workflow
- replace test_oss_workflow.py with new test.
- simplify Preprocessor.scala and remove unused params in Timeline.scala
Pull Request resolved: facebookresearch#237

Test Plan: Run workflow in scripts/ci/run_end_to_end_test.sh.

Reviewed By: kittipatv

Differential Revision: D21181946

Pulled By: kittipatv

fbshipit-source-id: b82e1f38aa600477138e6aadea72b5fa5bce9c4c
@facebook-github-bot
Copy link
Copy Markdown

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

@kaiwenw kaiwenw deleted the e2e-workflow branch April 25, 2020 05:56
@facebook-github-bot
Copy link
Copy Markdown

@kaiwenw merged this pull request in e7c7b26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants