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

Bug in reading some models off the file system #300

Open
charlesmartin14 opened this issue Jan 13, 2024 · 0 comments
Open

Bug in reading some models off the file system #300

charlesmartin14 opened this issue Jan 13, 2024 · 0 comments

Comments

@charlesmartin14
Copy link
Member

charlesmartin14 commented Jan 13, 2024

WW fails to detect the framework for

https://huggingface.co/bigcode/astraios-1b-adapterh

this fails

!git clone https://huggingface.co/bigcode/astraios-1b-adapterh
watcher = ww.WeightWatcher(log_level=logging.DEBUG)
details = watcher.describe(model="./astraios-1b-adapterh/")
details

this works

import torch

model = torch.load("./astraios-1b-adapterh/adapter_model.bin", map_location=torch.device('cpu'))
watcher = ww.WeightWatcher(model=model)
watcher.describe()

Need to add 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