premAI-io / benchmarks

🕹️ Performance Comparison of MLOps Engines, Frameworks, and Languages on Mainstream AI Models.
MIT License
130 stars 5 forks source link

Add `torch.inference_session` on runner function #180

Open Anindyadeep opened 5 months ago

Anindyadeep commented 5 months ago

There are two ways of doing this,

  1. either put a decorator on the base class function or inside each of the method
  2. Or use within the method using with