serve icon indicating copy to clipboard operation
serve copied to clipboard

Benchmark profiling for backend not working on staging_0_1_1

Open balachandrafb opened this issue 6 years ago • 1 comments

Followed instructions in https://github.com/pytorch/serve/blob/staging_0_1_1/benchmarks/README.md

In the profiling-> backend section, it talks about setting constant BENCHMARK to true. But this doesn’t seem to exist in the file ts/model_service_worker.py

Just adding this const on top of DEBUG into the file and running torchserve and benchmark.py didn’t generate /tmp/tsPythonProfile. Frontend profiling works fine via JProfiler

balachandrafb avatar May 26 '20 03:05 balachandrafb

Verified this has been fixed by PR #402

chauhang avatar May 31 '20 18:05 chauhang