Validation loss is nan while fine tuning curie after 1 step

I was fine tuning curie model for specific domain but the validation loss was nan after the first epoch
How to resolve this