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
Remove stray uses of torch::executor:: from examples/... (#5512)
Summary:
Example code should use the new `executorch::` namespace wherever possible, and should not define code under the `torch::` namespace.
Pull Request resolved: #5512
Test Plan: - Built llava changes with `bash .ci/scripts/test_llava.sh`
Reviewed By: JacobSzwejbka, larryliu0820
Differential Revision: D63133181
Pulled By: dbort
fbshipit-source-id: 5796b85eef053f3b3e4ba0e27a3a26ae48747b5a
Copy file name to clipboardExpand all lines: examples/devtools/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Once an `ETDump` has been generated, it can be viewed using the CLI inspector. T
64
64
ETDump profiling can also be used in a custom C++ program. `ETDumpGen` is an implementation of the abstract `EventTracer` class. Include the header file located at `devtools/etdump/etdump_flatcc.h`. To initialize the ETDump generator, construct it before loading the method from the program.
Copy file name to clipboardExpand all lines: examples/models/llava/main.cpp
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ DEFINE_int32(
48
48
-1,
49
49
"Number of CPU threads for inference. Defaults to -1, which implies we'll use a heuristic to derive the # of performant cores for a specific device.");
0 commit comments