forked from pytorch/TensorRT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
26 lines (24 loc) · 707 Bytes
/
BUILD
File metadata and controls
26 lines (24 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
load("@rules_python//python:defs.bzl", "py_library")
load("@torch_tensorrt_py_deps//:requirements.bzl", "requirement")
package(default_visibility = ["//visibility:public"])
# Exposes the library for testing
py_library(
name = "torch_tensorrt",
srcs = [
"torch_tensorrt/__init__.py",
"torch_tensorrt/_compile_spec.py",
"torch_tensorrt/_compiler.py",
"torch_tensorrt/_types.py",
"torch_tensorrt/_version.py",
"torch_tensorrt/logging.py",
"torch_tensorrt/ptq.py",
],
data = [
"torch_tensorrt/lib/libtrtorch.so",
] + glob([
"torch_tensorrt/_C.cpython*.so",
]),
deps = [
requirement("torch"),
],
)