We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c312099 commit d5f94d6Copy full SHA for d5f94d6
tests/profiling/test_main.py
@@ -43,6 +43,8 @@ def test_call_script_gevent(monkeypatch):
43
def test_call_script_pytorch_gpu(tmp_path, monkeypatch):
44
filename = str(tmp_path / "pprof")
45
monkeypatch.setenv("DD_PROFILING_OUTPUT_PPROF", filename)
46
+ monkeypatch.setenv("DD_PROFILING_ENABLED", "1")
47
+ monkeypatch.setenv("DD_PROFILING_PYTORCH_ENABLED", "1")
48
stdout, stderr, exitcode, pid = call_program(
49
"ddtrace-run", sys.executable, os.path.join(os.path.dirname(__file__), "simple_program_pytorch_gpu.py")
50
)
0 commit comments