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

Fix depreciated code #32

Closed
StellaAthena opened this issue Jan 4, 2021 · 1 comment · Fixed by #42
Closed

Fix depreciated code #32

StellaAthena opened this issue Jan 4, 2021 · 1 comment · Fixed by #42
Labels
bug Something isn't working

Comments

@StellaAthena
Copy link
Member

When you run GPT-3 Small, you get a depreciated code warning because of how we handle iterators.

@StellaAthena StellaAthena added the bug Something isn't working label Jan 4, 2021
@sdtblck
Copy link
Contributor

sdtblck commented Jan 4, 2021

to be more specific, it's tf.io.tfrecord_iterator here https://github.com/EleutherAI/gpt-neox/blob/main/gpt_neox/datasets.py#L83

I think we should just be able to use https://www.tensorflow.org/api_docs/python/tf/data/TFRecordDataset

@sdtblck sdtblck linked a pull request Jan 5, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants