You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Setting adaptive SamplingParams is not allowed when the model is loaded from the torch backend. #5780
@bobboli
When I run quickstart_advanced.py for qwen2&3, only modifing the sampling_params as following:
sampling_params = SamplingParams(
temperature=1.0,
top_p=0.7,
max_tokens=args.max_tokens,
n = 32,
)
Errors come like following figure. And setting "enable_trtllm_sampler=True " does not work.
Information
The official example scripts
My own modified scripts
Tasks
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
change the sampling_params in quickstart_advanced.py to: sampling_params = SamplingParams(
temperature=1.0,
top_p=0.7,
max_tokens=args.max_tokens,
n = 32,
)
@ccys-a11y ,
It seems the issue has been resolved in #5997, could you try the latest version to see if the issue persists?
I'm closing this issue, please feel free to open another one if you find any issues~
Activity
bobboli commentedon Jul 7, 2025
There is an ongoing PR #5415 by @jaedeok-nvidia
karljang commentedon Oct 29, 2025
@ccys-a11y , apologies for the very delayed response.
Could you please try the latest version to see if the issue still remains?
jaedeok-nvidia commentedon Oct 29, 2025
Hi @karljang @ccys-a11y, apologies for missing this issue. As I mentioned in #5415 to @ccys-a11y, #5997 should resolve it.
karljang commentedon Nov 12, 2025
@ccys-a11y ,
It seems the issue has been resolved in #5997, could you try the latest version to see if the issue persists?
I'm closing this issue, please feel free to open another one if you find any issues~