Skip to content

Accept new data format passed from the binary#63

Merged
sf-wind merged 12 commits intofacebook:masterfrom
sf-wind:data_api
Jul 19, 2018
Merged

Accept new data format passed from the binary#63
sf-wind merged 12 commits intofacebook:masterfrom
sf-wind:data_api

Conversation

@sf-wind
Copy link
Contributor

@sf-wind sf-wind commented Jul 18, 2018

The data format is updated to be very general. After this change, multiple binaries can generate the same data format and use the same method to parse the data.

…ifferent mechanism to calculate the number of collected runs
getLogger().info(
"No new items collected, finish collecting...")
return False
return valid_runs
Copy link
Contributor

Choose a reason for hiding this comment

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

You may return "total_num" to stop the loop.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, should return total_num

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, should return total_num

@sf-wind sf-wind merged commit 4987d01 into facebook:master Jul 19, 2018
@sf-wind sf-wind deleted the data_api branch July 19, 2018 15:02
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Jul 23, 2018
#9555)

Summary:
This is to simplify the data format during benchmarking. After this change, we can use the same benchmarking harness data conversion method to parse data from multiple binaries.

This change should be coordinated with the PR: facebook/FAI-PEP#63
Pull Request resolved: #9555

Reviewed By: pjh5

Differential Revision: D8903024

Pulled By: sf-wind

fbshipit-source-id: 61cabcff99f0873729142ec6cb6dc230c685d13a
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
pytorch#9555)

Summary:
This is to simplify the data format during benchmarking. After this change, we can use the same benchmarking harness data conversion method to parse data from multiple binaries.

This change should be coordinated with the PR: facebook/FAI-PEP#63
Pull Request resolved: pytorch#9555

Reviewed By: pjh5

Differential Revision: D8903024

Pulled By: sf-wind

fbshipit-source-id: 61cabcff99f0873729142ec6cb6dc230c685d13a
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
pytorch#9555)

Summary:
This is to simplify the data format during benchmarking. After this change, we can use the same benchmarking harness data conversion method to parse data from multiple binaries.

This change should be coordinated with the PR: facebook/FAI-PEP#63
Pull Request resolved: pytorch#9555

Reviewed By: pjh5

Differential Revision: D8903024

Pulled By: sf-wind

fbshipit-source-id: 61cabcff99f0873729142ec6cb6dc230c685d13a
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