-
Notifications
You must be signed in to change notification settings - Fork 124
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
does torchinfo support LLM models e.g. llama? if so, do you usage examples? #334
Comments
i have the same question...have you figure it out? 😄 |
Hi, I have the same question! 😸 |
i tried torchinfo.summary with gpt-2 and it works. |
Hi, maybe I find the best way to print the model structure with
Here is the output of this exmaple code.
You can adjust the The code is works on my device and the |
Really thanks for your code! My code is very similar with yours, and i used a random tensor as input and you used a tokenized-sentence as input. And thanks for your advice for 'depth', i'll try it later. |
does torchinfo support LLM models e.g. llama? if so, do you usage examples?
thanks!
The text was updated successfully, but these errors were encountered: