This PR fixes a critical bug when using pretrained models with AutoGGUFModels.
The file protocol is included in the path while trying to read the model. This has been (temporarily) fixed by removing the protocol from the path string. The file should be local at this point, as it as copied to a temporary local location if it was remote.
How Has This Been Tested?
Tests passing with pretrained models.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Code improvements with no or little impact
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
This PR fixes a critical bug when using pretrained models with AutoGGUFModels.
The file protocol is included in the path while trying to read the model. This has been (temporarily) fixed by removing the protocol from the path string. The file should be local at this point, as it as copied to a temporary local location if it was remote.
How Has This Been Tested?
Tests passing with pretrained models.
Types of changes