Jack-ZC8

Results 2 issues of Jack-ZC8

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...

https://github.com/ZrrSkywalker/LLaMA-Adapter/blob/27b0a8e539782ca259ee33838421357015b96814/alpaca_finetuning_v1/engine_finetuning.py#L48 Thanks for your wonderful work. I wonder whether this line is necessary.