Skip to content

Commit b26db1d

Browse files
Olivia-liufacebook-github-bot
authored andcommitted
Remove fb dependency by deleting sdk.py and replacing its usages with lib.py
Summary: The primary problem to solve is to remove fb dependencies from the executorch github repo: https://github.com/pytorch/executorch/blob/main/sdk/TARGETS. lib.py was created to replace sdk.py for some historical reasons. lib.py has been splitted into an external version and an internal version. This diff replaces usages of sdk.py with the appropriate version of lib.py. Reviewed By: Jack-Khuu, vmpuri Differential Revision: D48179314 fbshipit-source-id: f7500c9f16ef96e2d50e56085f064f9d807d7da8
1 parent db8303b commit b26db1d

File tree

2 files changed

+0
-225
lines changed

2 files changed

+0
-225
lines changed

sdk/TARGETS

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,3 @@ python_binary(
2626
"//executorch/sdk/etrecord:etrecord",
2727
],
2828
)
29-
30-
python_library(
31-
name = "sdk",
32-
srcs = [
33-
"sdk.py",
34-
],
35-
deps = [
36-
"//executorch/sdk/edir:et_schema",
37-
"//executorch/sdk/etdb:etdb",
38-
"//executorch/sdk/etrecord:etrecord",
39-
"//executorch/sdk/fb/visualizer:generator",
40-
"//manifold/clients/python:manifold_client",
41-
],
42-
)
43-
44-
python_binary(
45-
name = "sdk_main",
46-
main_src = "sdk.py",
47-
par_style = "xar",
48-
deps = [
49-
"//executorch/sdk/edir:et_schema",
50-
"//executorch/sdk/etdb:etdb",
51-
"//executorch/sdk/etrecord:etrecord",
52-
"//executorch/sdk/fb/visualizer:generator",
53-
"//manifold/clients/python:manifold_client",
54-
],
55-
)

sdk/sdk.py

Lines changed: 0 additions & 198 deletions
This file was deleted.

0 commit comments

Comments
 (0)