LAVIS
LAVIS copied to clipboard
Error when always using model in cpu
https://github.com/salesforce/LAVIS/blob/3ac397aa075c3e60b9521b012dda3660e3e35f1e/lavis/runners/runner_base.py#L80
Hello, I get self.model
is None when I set 'cpu' as my device. I find that if my device is 'cpu', it won't move the model to device and returned self._wrapped_model
will be None.