You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
code-block afterYou should see logs with tag ‘PyTorchNativeApp’ that prints x, y, and the result of the model forward, which we print with log function in NativeApp/app/src/main/cpp/pytorch_nativeapp.cpp.
code-block afterAt this point, we should be able to build the application:, code-block afterAnd run it without passing a model just yet:, AND code-block afterIf we then pass this serialized model to our C++ application, we can run it straight away:
I'd like to fix those tutorials and pull request about this.
The text was updated successfully, but these errors were encountered:
Hi,
While tidy up reStructuredText syntax for translating tutorials into Korean, I found some
code-block
s are missing because of reST syntax error.For example, Extending dispatcher for a new backend in C++ tutorial, there's a code block after [To create a Tensor on
PrivateUse1
backend, you need to set dispatch key inTensorImpl
constructor.] sentence.There're also other unintended hidden code-blocks.
Here's a list I found:
To create a Tensor on PrivateUse1 backend, you need to set dispatch key in TensorImpl constructor.
You should see logs with tag ‘PyTorchNativeApp’ that prints x, y, and the result of the model forward, which we print with log function in NativeApp/app/src/main/cpp/pytorch_nativeapp.cpp.
The FX Graph Mode API looks like the following:
If you run the code, an example output could look like this:
Let’s use the profiler along with the Chrome trace export functionality to visualize the performance of our parallelized model:
At this point, we should be able to build the application:
, code-block afterAnd run it without passing a model just yet:
, AND code-block afterIf we then pass this serialized model to our C++ application, we can run it straight away:
I'd like to fix those tutorials and pull request about this.
The text was updated successfully, but these errors were encountered: