Skip to content

[Question] How to debug custom handlers? #711

Open
@veronikayurchuk

Description

@veronikayurchuk

Hi! I am very excited about torch serve, so thanks to all contributors to this awesome tool!
I have already run my custom model with custom postprocessing and here is a question that I am struggling to find an answer on. Any help would be very appreciated!

Question:
How to debug my custom handlers? In other words, how can I see what is happening with the data on each step (i.e initialize, preprocess, inference, postprocess, and my custom one) in my IDE while sending requests to running torchserve server? I was able to fix simple issues using the ts_log.log file and it was helpful. BUT it becomes not very comfortable for me once I want to do something more complicated.

Thanks for any help!

Metadata

Metadata

Labels

triaged_waitWaiting for the Reporter's resp

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions