mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 19:21:31 +06:00
Make the hyperlink of NVIDIA Apex clickable
This commit is contained in:
parent
7cc35c3104
commit
f91ce0b803
@ -217,7 +217,7 @@ class BertConfig(object):
|
||||
try:
|
||||
from apex.normalization.fused_layer_norm import FusedLayerNorm as BertLayerNorm
|
||||
except ImportError:
|
||||
logger.info("Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex.")
|
||||
logger.info("Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex .")
|
||||
class BertLayerNorm(nn.Module):
|
||||
def __init__(self, hidden_size, eps=1e-12):
|
||||
"""Construct a layernorm module in the TF style (epsilon inside the square root).
|
||||
|
Loading…
Reference in New Issue
Block a user