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

To shield the annoying progress bar, we found a way #27

Open
snow-wind-001 opened this issue Apr 4, 2023 · 1 comment
Open

To shield the annoying progress bar, we found a way #27

snow-wind-001 opened this issue Apr 4, 2023 · 1 comment

Comments

@snow-wind-001
Copy link

To shield the annoying progress bar, we found a way:
/llama-chat/llama/model.py --261
for layer in tqdm(self.layers, desc="flayers",leave=Ture):
replace as :for layer in self.layers:
/llama-chat/llama/generation.py --60
for cur_pos in trange(start_pos, total_len, desc="forward"):
replace as :for cur_pos in range(start_pos, total_len):

@meeeo
Copy link

meeeo commented Apr 4, 2023

Thanks, but still seems... can we have a chat just like llama.cpp dose?
Screen Shot 2023-04-04 at 11 20 41 AM
Screen Shot 2023-04-04 at 11 22 22 AM

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

2 participants