"...composable_kernel_onnxruntime.git" did not exist on "b79df7712e1917d0e697fac7b701338af5c08814"
Commit f0d20ad3 authored by Lysandre's avatar Lysandre
Browse files

Fix-copies

parent 59824318
...@@ -931,6 +931,15 @@ class GPT2DoubleHeadsModel: ...@@ -931,6 +931,15 @@ class GPT2DoubleHeadsModel:
requires_pytorch(self) requires_pytorch(self)
class GPT2ForSequenceClassification:
def __init__(self, *args, **kwargs):
requires_pytorch(self)
@classmethod
def from_pretrained(self, *args, **kwargs):
requires_pytorch(self)
class GPT2LMHeadModel: class GPT2LMHeadModel:
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
requires_pytorch(self) requires_pytorch(self)
......
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