Skip to content

Move ETDB to fb/ #543

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions sdk/TARGETS

This file was deleted.

4 changes: 0 additions & 4 deletions sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@
parse_etrecord,
)

from executorch.sdk.lib import debug_etrecord, debug_etrecord_path

__all__ = [
"ETRecord",
"generate_etrecord",
"parse_etrecord",
"debug_etrecord",
"debug_etrecord_path",
]
24 changes: 0 additions & 24 deletions sdk/etdb/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,6 @@ load("@fbcode_macros//build_defs:python_library.bzl", "python_library")

oncall("executorch")

python_library(
name = "row_schema",
srcs = [
"row_schema.py",
],
deps = [
"//executorch/sdk/edir:base_schema",
"//executorch/sdk/edir:et_schema",
],
)

python_library(
name = "etdb",
srcs = [
"etdb.py",
],
deps = [
"fbsource//third-party/pypi/tabulate:tabulate",
":row_schema",
"//executorch/sdk/edir:base_schema",
"//executorch/sdk/edir:et_schema",
],
)

python_library(
name = "inspector",
srcs = [
Expand Down
8 changes: 2 additions & 6 deletions sdk/etdb/etdb.py → sdk/fb/etdb.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.

from typing import (
Any,
Expand All @@ -19,7 +15,7 @@

from executorch.sdk.edir.base_schema import Node, OperatorGraph, OperatorNode, ValueNode
from executorch.sdk.edir.et_schema import PROFILE_STAT_HEADER, RESERVED_METADATA_ARG
from executorch.sdk.etdb.row_schema import (
from executorch.sdk.fb.row_schema import (
AbstractNodeInstanceRow,
GraphInstanceRow,
OpInstanceRow,
Expand Down
6 changes: 1 addition & 5 deletions sdk/etdb/row_schema.py → sdk/fb/row_schema.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.

from dataclasses import dataclass, field
from typing import Any, Dict, List, Optional, Tuple
Expand Down
118 changes: 0 additions & 118 deletions sdk/lib.py

This file was deleted.