Force use_cache to be False in PyTorch #15385
ydshieh
changed the title Remove inputs["use_cache"] = False Remove use_cache=False in TFxxxForForConditionalGeneration 3 years ago
ydshieh
changed the title Remove use_cache=False in TFxxxForForConditionalGeneration Remove use_cache=False in TFxxxForConditionalGeneration 3 years ago
use_cache = False for PT models if labels is passed
43c8452a
ydshieh
force pushed
to
43c8452a
3 years ago
Fix for BigBirdPegasusForConditionalGeneration
aee4e7aa
ydshieh
changed the title Remove use_cache=False in TFxxxForConditionalGeneration Force use_cache to be False in PyTorch 3 years ago
add warning if users specify use_cache=True
2c04ac41
Use logger.warning instead of warnings.warn
26f17e84
ydshieh
deleted the fix_missing_cache_in_tf_models branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub