Skip to content
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

Re-enable GPT-J unit tests and refactor inference tests #3618

Merged
merged 36 commits into from
Jun 28, 2023

Conversation

mrwyattii
Copy link
Contributor

@mrwyattii mrwyattii commented May 26, 2023

It appears the GPT-J model was renamed from EleutherAI/gpt-j-6B to EleutherAI/gpt-j-6b on Huggingface. This caused our unit tests to skip these model tests. It appears in that time our support for this model has also broken :(

TODO:

  • Add a check that the model name exists in the HF API
  • Add Pythia model unit tests (see comments on Fix gpt-j inference issue #3639)
  • Refactor how we generate inference tests model/task combinations to minimize # of skipped tests?
  • Consolidate fixtures into separate file (for re-use between test_*.py files and reducing length of test files) This was a bad idea. Shared fixtures should really be in conftest.py, but I think the current fixtures would interfere with non-inference tests (e.g., dtype is common param name). Reverted this change.

@jeffra

loadams and others added 24 commits June 7, 2023 11:36
* fix conv_flops_compute when padding is a str when stride=1

* fix error

* change type of paddings to tuple

* fix padding calculation

* apply formatting check

---------

Co-authored-by: Cheng Li <[email protected]>
Co-authored-by: Olatunji Ruwase <[email protected]>
* Update profiler.py

* pre-commit run --all-files

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

---------

Co-authored-by: Jeff Rasley <[email protected]>
Co-authored-by: Cheng Li <[email protected]>
* zeropp chinese blog

* try better quality images

* make title larger

* even larger...

* various fix

* center captions

* more fixes

* fix format
Co-authored-by: Stephen Youn <[email protected]>
Co-authored-by: Arash Bakhtiari <[email protected]>
Co-authored-by: Cheng Li <[email protected]>
Co-authored-by: Ethan Doe <[email protected]>
Co-authored-by: yidoe <[email protected]>
Co-authored-by: Jeff Rasley <[email protected]>
Co-authored-by: HeyangQin <[email protected]>
Co-authored-by: GuanhuaWang <[email protected]>
Co-authored-by: cmikeh2 <[email protected]>
Co-authored-by: Ammar Ahmad Awan <[email protected]>
Co-authored-by: Jeff Rasley <[email protected]>
Co-authored-by: Michael Wyatt <[email protected]>
Co-authored-by: Olatunji Ruwase <[email protected]>
Co-authored-by: Reza Yazdani <[email protected]>
* zeropp chinese blog

* try better quality images

* make title larger

* even larger...

* various fix

* center captions

* more fixes

* fix format

* add ZeRO++ Japanese blog

* add links

---------

Co-authored-by: HeyangQin <[email protected]>
Co-authored-by: Conglong Li <[email protected]>
* fix autotuner when backward is not called

* fix format

---------

Co-authored-by: Olatunji Ruwase <[email protected]>
Co-authored-by: Ammar Ahmad Awan <[email protected]>
Co-authored-by: Jeff Rasley <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
@mrwyattii mrwyattii changed the title Re-enable GPT-J unit tests Re-enable GPT-J unit tests and refactor inference tests Jun 23, 2023
rraminen and others added 2 commits June 23, 2023 19:03
@mrwyattii mrwyattii enabled auto-merge (squash) June 27, 2023 17:32
@loadams loadams self-requested a review June 27, 2023 22:21
@mrwyattii mrwyattii merged commit 78b7693 into master Jun 28, 2023
@mrwyattii mrwyattii deleted the mrwyattii/fix-broken-gptj-tests branch July 7, 2023 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.