Skip to content

Commit 894233a

Browse files
committed
remove debugging changes
1 parent 48a5772 commit 894233a

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

docs/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ dependencies = [
1616
"pefile",
1717
"pyelftools",
1818
"macholib",
19-
"torch",
2019
]

python/private/venv_runfiles.bzl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ def create_venv_app_files(ctx, deps, venv_dir_map):
4747
],
4848
).to_list()
4949

50-
for e in entries:
51-
if "nvidia/" in e.venv_path:
52-
print(e.venv_path, e.link_to_path)
53-
5450
link_map = build_link_map(ctx, entries)
5551
venv_files = []
5652
runfiles_symlinks = {}
@@ -59,8 +55,6 @@ def create_venv_app_files(ctx, deps, venv_dir_map):
5955
base = venv_dir_map[kind]
6056
for venv_path, link_to in kind_map.items():
6157
bin_venv_path = paths.join(base, venv_path)
62-
if "nvidia/__init__.py" in bin_venv_path:
63-
fail("hit", venv_path, link_to)
6458
if is_file(link_to):
6559
symlink_from = "{}/{}".format(ctx.label.package, bin_venv_path)
6660
runfiles_symlinks[symlink_from] = link_to
@@ -166,7 +160,6 @@ def _group_venv_path_entries(entries):
166160
# `foo foo/bar foo-bar`
167161
entries = sorted(entries, key = lambda e: tuple(e.venv_path.split("/")))
168162

169-
print("==== grouping entries")
170163
groups = []
171164
current_group = None
172165
current_group_prefix = None
@@ -180,12 +173,8 @@ def _group_venv_path_entries(entries):
180173
current_group_prefix = anchored_prefix
181174
current_group = [entry]
182175
groups.append(current_group)
183-
print("== start group:", current_group_prefix)
184-
print("start on file?", entry.link_to_file)
185-
print("add", entry.venv_path)
186176
else:
187177
current_group.append(entry)
188-
print("add", entry.venv_path)
189178

190179
return groups
191180

0 commit comments

Comments
 (0)