Skip to content

added CPU optimization guide part into tuning_guide #1512

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

Merged
merged 8 commits into from
Jun 2, 2021

Conversation

jingxu10
Copy link
Contributor

@jingxu10 jingxu10 commented May 7, 2021

Added Intel CPU optimization guide part into the tuning_guide

@facebook-github-bot
Copy link
Contributor

Hi @jingxu10!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@netlify
Copy link

netlify bot commented May 7, 2021

✔️ Deploy Preview for pytorch-tutorials-preview ready!

🔨 Explore the source changes: 6cc04a0

🔍 Inspect the deploy log: https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/60b7c5c6bc7169000882241b

😎 Browse the preview: https://deploy-preview-1512--pytorch-tutorials-preview.netlify.app/recipes/recipes/tuning_guide

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@brianjo
Copy link
Contributor

brianjo commented May 13, 2021

Hi @jingxu10, your PR seems to have broken the page. Can you take a look at the preview? Thanks!
https://deploy-preview-1512--pytorch-tutorials-preview.netlify.app/recipes/recipes/tuning_guide.html

@jingxu10
Copy link
Contributor Author

Hi @brianjo , I fixed the issue by changing bash command to python comments.

@Jianhui-Li
Copy link

Jianhui-Li commented May 19, 2021

@brianjo Anything block this PR from merged in? Could you please help see whether this PR can be merged in if everything looks good? The PR contains good information which should help Pytorch running faster on CPU in general. @gottbrath

@brianjo brianjo merged commit 07fc674 into pytorch:master Jun 2, 2021
brianjo added a commit that referenced this pull request Jun 14, 2021
* reduce (#1546)

* Update seq2seq_translation_tutorial.py (#1532)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* added CPU optimization guide part into tuning_guide (#1512)

* added CPU optimization guide part into tuning_guide

* changed non-python command to python comments in CPU specific optimization section

* Update tuning_guide.py

Changed comment of bash commands to double quote.

* Update tuning_guide.py

Co-authored-by: Brian Johnson <brianjo@fb.com>

* Typo fix (#1538)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* Typo fix in text sentiment tutorial (#1543)

Trivial typo fix in docs

* Update dcgan_faces_tutorial.py (#1550)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* updated pipeline tutorial

Co-authored-by: define_liuyi <793753866@qq.com>
Co-authored-by: dhayeah <57786651+dhayeah@users.noreply.github.com>
Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
Co-authored-by: Jing Xu <jing.xu@intel.com>
Co-authored-by: Brian Johnson <brianjo@fb.com>
Co-authored-by: Andrew C. Freeman <andrew.freeman@cawb.com>
Co-authored-by: Davide Fiocco <davidefiocco@users.noreply.github.com>
Co-authored-by: universuen <52519513+universuen@users.noreply.github.com>
brianjo added a commit that referenced this pull request Jun 15, 2021
* Update build.sh

Picks up 1.9 build from test.

* Update build.sh

* Update lite interpreter tutorial to beta (#1549)

* Update lite interpreter tutorial to beta

* Update lite interpreter to beta

* update model export script

* address comment and update documentation

* add custome build in first paragraph

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* replace file name

* update ios part

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Revert "Update lite interpreter tutorial to beta (#1549)" (#1569)

This reverts commit a702ca0.

* Update build.sh

* Update build.sh

* updated pipeline tutorial (#1562)

* reduce (#1546)

* Update seq2seq_translation_tutorial.py (#1532)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* added CPU optimization guide part into tuning_guide (#1512)

* added CPU optimization guide part into tuning_guide

* changed non-python command to python comments in CPU specific optimization section

* Update tuning_guide.py

Changed comment of bash commands to double quote.

* Update tuning_guide.py

Co-authored-by: Brian Johnson <brianjo@fb.com>

* Typo fix (#1538)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* Typo fix in text sentiment tutorial (#1543)

Trivial typo fix in docs

* Update dcgan_faces_tutorial.py (#1550)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* updated pipeline tutorial

Co-authored-by: define_liuyi <793753866@qq.com>
Co-authored-by: dhayeah <57786651+dhayeah@users.noreply.github.com>
Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
Co-authored-by: Jing Xu <jing.xu@intel.com>
Co-authored-by: Brian Johnson <brianjo@fb.com>
Co-authored-by: Andrew C. Freeman <andrew.freeman@cawb.com>
Co-authored-by: Davide Fiocco <davidefiocco@users.noreply.github.com>
Co-authored-by: universuen <52519513+universuen@users.noreply.github.com>

* Update audio manipulation tutorial  (#1566)

* add resampling tutorial

* update benchmarking and sectioning

* remove np import

* Update torchaudio tutorial

* update resample dtype initialization

Co-authored-by: moto <855818+mthrok@users.noreply.github.com>

* updated text sentiment tutorial (#1563)

* updated transformer tutorial (#1565)

* Update numeric_suite_tutorial.py

s/Logger=/logger_cls=/

* Update profiler recipe doc (1.9) (#1528)

Summary:
Update the profiler recipe to use the new API and features

Test Plan:
make html-noplot

Co-authored-by: Brian Johnson <brianjo@fb.com>

* Update build.sh

Co-authored-by: cccclai <chenlai@fb.com>
Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>
Co-authored-by: parmeet <parmeetbhatia@fb.com>
Co-authored-by: define_liuyi <793753866@qq.com>
Co-authored-by: dhayeah <57786651+dhayeah@users.noreply.github.com>
Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
Co-authored-by: Jing Xu <jing.xu@intel.com>
Co-authored-by: Andrew C. Freeman <andrew.freeman@cawb.com>
Co-authored-by: Davide Fiocco <davidefiocco@users.noreply.github.com>
Co-authored-by: universuen <52519513+universuen@users.noreply.github.com>
Co-authored-by: Caroline Chen <carolinechen@fb.com>
Co-authored-by: moto <855818+mthrok@users.noreply.github.com>
Co-authored-by: Nikita Shulga <nshulga@fb.com>
Co-authored-by: ilia-cher <30845429+ilia-cher@users.noreply.github.com>
@jingxu10 jingxu10 deleted the jingxu10 branch October 4, 2021 02:55
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
* added CPU optimization guide part into tuning_guide

* changed non-python command to python comments in CPU specific optimization section

* Update tuning_guide.py

Changed comment of bash commands to double quote.

* Update tuning_guide.py

Co-authored-by: Brian Johnson <brianjo@fb.com>
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
* Update build.sh

Picks up 1.9 build from test.

* Update build.sh

* Update lite interpreter tutorial to beta (pytorch#1549)

* Update lite interpreter tutorial to beta

* Update lite interpreter to beta

* update model export script

* address comment and update documentation

* add custome build in first paragraph

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Update prototype_source/lite_interpreter.rst

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* replace file name

* update ios part

Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>

* Revert "Update lite interpreter tutorial to beta (pytorch#1549)" (pytorch#1569)

This reverts commit a702ca0.

* Update build.sh

* Update build.sh

* updated pipeline tutorial (pytorch#1562)

* reduce (pytorch#1546)

* Update seq2seq_translation_tutorial.py (pytorch#1532)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* added CPU optimization guide part into tuning_guide (pytorch#1512)

* added CPU optimization guide part into tuning_guide

* changed non-python command to python comments in CPU specific optimization section

* Update tuning_guide.py

Changed comment of bash commands to double quote.

* Update tuning_guide.py

Co-authored-by: Brian Johnson <brianjo@fb.com>

* Typo fix (pytorch#1538)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* Typo fix in text sentiment tutorial (pytorch#1543)

Trivial typo fix in docs

* Update dcgan_faces_tutorial.py (pytorch#1550)

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>

* updated pipeline tutorial

Co-authored-by: define_liuyi <793753866@qq.com>
Co-authored-by: dhayeah <57786651+dhayeah@users.noreply.github.com>
Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
Co-authored-by: Jing Xu <jing.xu@intel.com>
Co-authored-by: Brian Johnson <brianjo@fb.com>
Co-authored-by: Andrew C. Freeman <andrew.freeman@cawb.com>
Co-authored-by: Davide Fiocco <davidefiocco@users.noreply.github.com>
Co-authored-by: universuen <52519513+universuen@users.noreply.github.com>

* Update audio manipulation tutorial  (pytorch#1566)

* add resampling tutorial

* update benchmarking and sectioning

* remove np import

* Update torchaudio tutorial

* update resample dtype initialization

Co-authored-by: moto <855818+mthrok@users.noreply.github.com>

* updated text sentiment tutorial (pytorch#1563)

* updated transformer tutorial (pytorch#1565)

* Update numeric_suite_tutorial.py

s/Logger=/logger_cls=/

* Update profiler recipe doc (1.9) (pytorch#1528)

Summary:
Update the profiler recipe to use the new API and features

Test Plan:
make html-noplot

Co-authored-by: Brian Johnson <brianjo@fb.com>

* Update build.sh

Co-authored-by: cccclai <chenlai@fb.com>
Co-authored-by: Raziel <129535+raziel@users.noreply.github.com>
Co-authored-by: parmeet <parmeetbhatia@fb.com>
Co-authored-by: define_liuyi <793753866@qq.com>
Co-authored-by: dhayeah <57786651+dhayeah@users.noreply.github.com>
Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
Co-authored-by: Jing Xu <jing.xu@intel.com>
Co-authored-by: Andrew C. Freeman <andrew.freeman@cawb.com>
Co-authored-by: Davide Fiocco <davidefiocco@users.noreply.github.com>
Co-authored-by: universuen <52519513+universuen@users.noreply.github.com>
Co-authored-by: Caroline Chen <carolinechen@fb.com>
Co-authored-by: moto <855818+mthrok@users.noreply.github.com>
Co-authored-by: Nikita Shulga <nshulga@fb.com>
Co-authored-by: ilia-cher <30845429+ilia-cher@users.noreply.github.com>
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.

4 participants