Skip to content

Commit

Permalink
Add function call tracing argument. Implement HPU Graph class DeviceR…
Browse files Browse the repository at this point in the history
…unner. Add code to setup model to leverage HPU Graphs when HPU present.
  • Loading branch information
ctodd committed Nov 23, 2023
1 parent c76aa1f commit 914333d
Show file tree
Hide file tree
Showing 6 changed files with 35,408 additions and 1 deletion.
4 changes: 4 additions & 0 deletions launch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from modules import launch_utils
import sys

args = launch_utils.args
python = launch_utils.python
Expand All @@ -25,6 +26,9 @@


def main():
if args.enable_trace:
sys.setprofile(tracefunc)

if args.dump_sysinfo:
filename = launch_utils.dump_sysinfo()

Expand Down
Loading

0 comments on commit 914333d

Please sign in to comment.