Skip to content

[Feature]: PyTorch workflow does not support bad words #7438

@tonyay163

Description

@tonyay163

🚀 The feature, motivation and pitch

SamplingParams.bad_token_ids seems to work with SamplingType = TRTLLMSampler but not TorchSampler

Alternatives

TRTLLMSampler, but it also doesn't support everything TorchSampler, namely some of the newer speculative decoding configs

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and checked the documentation and examples for answers to frequently asked questions.

Metadata

Metadata

Assignees

Labels

Pytorch<NV>Pytorch backend related issuesfeature requestNew feature or request. This includes new model, dtype, functionality supportstalewaiting for feedback

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions