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

[Feature] do sample = False? #2508

Open
2 tasks done
boqiny opened this issue Dec 18, 2024 · 0 comments
Open
2 tasks done

[Feature] do sample = False? #2508

boqiny opened this issue Dec 18, 2024 · 0 comments

Comments

@boqiny
Copy link

boqiny commented Dec 18, 2024

Checklist

Motivation

I am testing the sglang with qwen2, but the output seems to be unstable even if I have set sampling params;

temp = 0,
top_k = 1

But I got inconsistent outputs, while naive HF implementation always gives me same output when set do_sample = False,
is there such feature in SGL? Is this due to some non-deterministic Cuda operations? Thanks

Related resources

No response

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