Skip to content

Tensor sizes are printed while running .generate function #211

Description

@chopra-anuj

When I run .generate function of any of the 3b/7b/12b model, I get continuously tensor sizes printed which looks like torch.Size([1, 510])
torch.Size([1, 40, 509, 128])
torch.Size([1, 1])
torch.Size([1, 511])
torch.Size([1, 40, 510, 128])
torch.Size([1, 1])
.........

I think in code somewhere print( X.shape ) is written which is creating problem. I tried using Huggingface pipeline also but same problem.
I do not encounter this problem while using any other LLM model

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions