pytorch
/
.lldbinit
17 строк · 785.0 Байт
1# automatically load the pytorch_lldb extension.
2#
3# lldb automatically tries to load this file whenever it is executed from the
4# root of the pytorch repo, but by default it is not allowed to do so due to
5# security reasons. If you want to use pytorch_lldb, please add the following
6# line to your ~/.lldbinit (i.e., the .lldbinit file which is in your home
7# directory, NOT this file):
8# settings set target.load-cwd-lldbinit true
9# setting set escape-non-printables false
10#
11# Alternatively, you can manually load the pytorch_lldb commands into your
12# existing lldb session by doing the following:
13# (lldb) command script import tools/lldb/pytorch_lldb.py
14
15command script import tools/lldb/pytorch_lldb.py
16setting set escape-non-printables false
17type category enable torch
18