Skip to content

Conversation

@xta0
Copy link
Contributor

@xta0 xta0 commented Oct 22, 2019

Stack from ghstack:

Summary

As described here, This PR is the second one that contains scripts for setting up the benchmark projects.

Test Plan

Don't break CI jobs unless they are flaky.

Differential Revision: D18097248

@xta0 xta0 requested review from AshkanAliabadi and ljk53 October 22, 2019 22:22
### Summary

As described [here](#28405), This PR is the second one that contains scripts for setting up the benchmark projects.

### Test Plan

Don't break CI jobs unless they are flaky.
### Summary

As described [here](#28405), This PR is the second one that contains scripts for setting up the benchmark projects.

### Test Plan

Don't break CI jobs unless they are flaky.
xta0 added a commit that referenced this pull request Oct 23, 2019
ghstack-source-id: dfcb15a
Pull Request resolved: #28469
Comment on lines 31 to 36
model_path_src = File.expand_path("./model.pt")
model_path_dst = File.expand_path("../model.pt")
if not File.exist?(model_path_src)
raise "no model can be found!"
end
FileUtils.cp(model_path_src, model_path_dst)
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need copy model.pt around? seems a bit confusing to have the same file at both "./" and "../".
can we directly use "TestApp/benchmark/model.pt" from the project? or make "trace_model.py" to save to "TestApp/model.pt" directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's keep the model in TestApp/benchmark

@ljk53 ljk53 self-requested a review October 23, 2019 07:17
### Summary

As described [here](#28405), This PR is the second one that contains scripts for setting up the benchmark projects.

### Test Plan

Don't break CI jobs unless they are flaky.
xta0 added a commit that referenced this pull request Oct 23, 2019
ghstack-source-id: 04980fa
Pull Request resolved: #28469
@xta0 xta0 added the module: ios Related to iOS support - build, API, Continuous Integration, document label Oct 23, 2019
@facebook-github-bot
Copy link
Contributor

@xta0 merged this pull request in 896b5d9.

@facebook-github-bot facebook-github-bot deleted the gh/xta0/35/head branch October 28, 2019 22:22
thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
Summary:
Pull Request resolved: pytorch#28469

### Summary

As described [here](pytorch#28405), This PR is the second one that contains scripts for setting up the benchmark projects.

### Test Plan

Don't break CI jobs unless they are flaky.

Test Plan: Imported from OSS

Differential Revision: D18097248

Pulled By: xta0

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

Labels

Merged module: ios Related to iOS support - build, API, Continuous Integration, document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants