-
Notifications
You must be signed in to change notification settings - Fork 4.2k
introduction of intel extension for pytorch #1702
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
introduction of intel extension for pytorch #1702
Conversation
✔️ Deploy Preview for pytorch-tutorials-preview ready! 🔨 Explore the source changes: 7b0dc38 🔍 Inspect the deploy log: https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/615e9072f7792800074087b3 😎 Browse the preview: https://deploy-preview-1702--pytorch-tutorials-preview.netlify.app/recipes/recipes/intel_extension_for_pytorch |
@vitaly-fedyunin @gottbrath This is the IPEX tutorial. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two minor typos
Tested the inference examples (Imperative and Script modes; Float32 and BFloat16) with IPEX built from master and Traceback (most recent call last): File "inf_fp16.py", line 17, in model = ipex.optimize(model, dtype=torch.bfloat16) File "/home/ubuntu/anaconda3/envs/ipex/lib/python3.8/site-packages/intel_extension_for_pytorch/utils.py", line 141, in optimize assert optimizer is not None, "The optimizer should be given for training mode" AssertionError: The optimizer should be given for training mode Was curious why The build process generated |
Hi @yqhu , |
|
Hi @yqhu , I fixed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jingxu10.
Just wanted to chime in here and say that I think there is value in having this tutorial be part of the PyTorch tutorial set. |
* init for recipe for intel extension for pytorch * update intel_extension_for_pytorch.py * update intel_extension_for_pytorch.py for c++ part * update c++ so file name * Fix typos * fixed issue for inference sample codes Co-authored-by: michaelhsu <michaelhsu170@gmail.com> Co-authored-by: Nikita Shulga <nikita.shulga@gmail.com>
PR to add introduction of Intel Extension for PyTorch to PyTorch tutorials.