Commit 14cdeee7 authored by Aryansh Omray's avatar Aryansh Omray Committed by Julien Chaumond
Browse files

Tanh torch warnings

parent 16469fed
...@@ -47,7 +47,7 @@ ACT2FN = { ...@@ -47,7 +47,7 @@ ACT2FN = {
"relu": F.relu, "relu": F.relu,
"swish": swish, "swish": swish,
"gelu": gelu, "gelu": gelu,
"tanh": F.tanh, "tanh": torch.tanh,
"gelu_new": gelu_new, "gelu_new": gelu_new,
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment