Closed yasyf closed 3 months ago
Throws an error currently if you specify a torch_dtype in the model_config.
torch_dtype
model_config
TypeError: transformers.models.auto.auto_factory._BaseAutoModelClass.from_pretrained() got multiple values for keyword argument 'torch_dtype'
cc: @iofu728, @QianhuiWu, @XufangLuo, @mydmdm
Thank you for @yasyf's help. It's merged now.
Throws an error currently if you specify a
torch_dtype
in themodel_config
.cc: @iofu728, @QianhuiWu, @XufangLuo, @mydmdm