-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gpt-j-6b model into torchbench #1702
base: main
Are you sure you want to change the base?
Conversation
b1d2f38
to
21fae60
Compare
21fae60
to
b58e062
Compare
|
||
class Model(HuggingFaceModel): | ||
task = NLP.LANGUAGE_MODELING | ||
DEFAULT_TRAIN_BSIZE = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the correct batch size? We should use the default batch size in the upstream code if possible.
train_deterministic: false | ||
not_implemented: | ||
# hf_GPTJ model doesn't support JIT | ||
- jit: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove jit
option since it has been deprecated in the default CI.
DEFAULT_TRAIN_BSIZE = 1 | ||
DEFAULT_EVAL_BSIZE = 1 | ||
|
||
def __init__(self, test, device, jit=False, batch_size=None, extra_args=[]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, remove the jit=False
and jit=jit
arguments.
Add HF model gpt-j-6b into torchbench
Work for roadmap #1293