Fix model templates and use less than 119 chars (#9684)
* Fix model templates and use less than 119 chars * Missing new line
This commit is contained in:
@@ -484,7 +484,8 @@ class RobertaEncoder(nn.Module):
|
||||
|
||||
if use_cache:
|
||||
logger.warn(
|
||||
"`use_cache = True` is incompatible with `config.gradient_checkpointing = True`. Setting `use_cache = False`..."
|
||||
"`use_cache=True` is incompatible with `config.gradient_checkpointing=True`. Setting "
|
||||
"`use_cache=False`..."
|
||||
)
|
||||
use_cache = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user