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

0.7.2.x: layer ids not being updated when iterating over safetensor files #268

Open
charlesmartin14 opened this issue Jun 16, 2023 · 3 comments

Comments

@charlesmartin14
Copy link
Member

charlesmartin14 commented Jun 16, 2023

In the new verison 0.7.2.x

INFO:weightwatcher:Layer id 129  unknown type unknown layer  <class 'weightwatcher.weightwatcher.PyStateDictLayer'>
INFO:weightwatcher:Layer id 133  unknown type unknown layer  <class 'weightwatcher.weightwatcher.PyStateDictLayer'>
INFO:weightwatcher:loading /content/drive/MyDrive/WW/LLAMA-base/llama-13b-hf-transformers-4.29/model-**00002**-of-00003.safetensors
INFO:weightwatcher:Layer id 0  unknown type unknown layer  <class 'weightwatcher.weightwatcher.PyStateDictLayer'>
INFO:weightwatcher:Layer id 4  unknown type unknown layer  <class 'weightwatcher.weightwatcher.PyStateDictLayer'>
@charlesmartin14
Copy link
Member Author

and the layer ids being logged are not the same as the ones in the dataframe

Screenshot 2023-06-16 at 2 10 11 PM

@charlesmartin14
Copy link
Member Author

fixed

@charlesmartin14
Copy link
Member Author

Need a unit test for this

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

No branches or pull requests

1 participant