Skip to content

Commit

Permalink
remove add_executors_list definition as it is already imported from e…
Browse files Browse the repository at this point in the history
…xtend.add_executors_list (#779)
  • Loading branch information
kshitij12345 authored Jul 16, 2024
1 parent dcfd5e2 commit 1790399
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions thunder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,19 +232,6 @@ def _get_cache_info():
return _cache_info_ctx.get()


def add_executor_lists(
exc_list: None | Sequence[Executor | str], other_exc_list: None | Sequence[Executor | str]
) -> Sequence[Executor]:
new_exc_list = []
exc_list = resolve_executors(exc_list)
other_exc_list = resolve_executors(other_exc_list)
for exc in itertools.chain(exc_list, other_exc_list):
if not exc in new_exc_list:
new_exc_list.append(exc)

return new_exc_list


@run_once
def _recursive_jit_call_warning() -> None:
warnings.warn(
Expand Down

0 comments on commit 1790399

Please sign in to comment.