def METHOD_NAME(  # pylint: disable=arguments-differ
    cls,
    payload: Payload,
    plasma_db: "ext.PlasmaClient" | None = Provide[BentoMLContainer.plasma_db],
) -> torch.Tensor:
    if payload.meta.get("plasma"):
        import pyarrow.plasma as plasma
        assert plasma_db
        ret = plasma_db.get(plasma.ObjectID(payload.data))
    else:
        ret = pickle.loads(payload.data)
    return torch.from_numpy(ret).requires_grad_(False)