@Aaron Pham or @larme (shenyang) do you know anything about this^?
l
larme (shenyang)
03/27/2023, 7:26 AM
Hi Sangeon, currently our PyTorch runner only support tensor/ndarray inputs. You can create a custom runner and move the tensors inside dictionary manually. An custom runner example is at https://github.com/bentoml/BentoML/blob/main/examples/custom_model_runner/service.py . You should add codes to put tensors inside dictionary to GPU before line 38 (