This pull request updates the model loading process in the llava-onevision implementation to match the official method provided by Hugging Face. The key changes include setting the device_map to 'auto' during model loading and removing the manual tying of model weights. This ensures compatibility and consistency with the official loading procedure, as outlined here.
This pull request updates the model loading process in the
llava-onevision
implementation to match the official method provided by Hugging Face. The key changes include setting thedevice_map
to 'auto' during model loading and removing the manual tying of model weights. This ensures compatibility and consistency with the official loading procedure, as outlined here.