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

Number of sample runs for Llama-2 #1868

Open
mahmoodn opened this issue Oct 5, 2024 · 0 comments
Open

Number of sample runs for Llama-2 #1868

mahmoodn opened this issue Oct 5, 2024 · 0 comments

Comments

@mahmoodn
Copy link

mahmoodn commented Oct 5, 2024

For Llama-2 inference, I set the total sample count to 1024 to see how much time is needed and what is the final output. I see multiple sample runs:

Samples run: 2
	BatchMaker time: 0.556433916091919
	Inference time: 9502.616274356842
	Postprocess time: 0.36942481994628906
	==== Total time: 9503.54213309288
Saving outputs to run_outputs/q182_77.pkl
Samples run: 4
	BatchMaker time: 0.00017786026000976562
	Inference time: 13552.655136823654
	Postprocess time: 0.18449878692626953
	==== Total time: 13552.83981347084
Saving outputs to run_outputs/q257_571.pkl
Samples run: 6
	BatchMaker time: 0.0001952648162841797
	Inference time: 9649.980134010315
	Postprocess time: 0.10514378547668457
	==== Total time: 9650.085473060608
...

Questions are:
1- Why sample runs are even numbers? What does that mean?
2- How can I limit the total run number to 1? I didn't see any option in the command line for that.

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