[Sampler] Introduce logprobs mode for logging (#21398)
Signed-off-by: Lu Fang <lufang@fb.com>
This commit is contained in:
@@ -389,7 +389,7 @@ class InputBatch:
|
||||
|
||||
def remove_request(self, req_id: str) -> Optional[int]:
|
||||
"""This method must always be followed by a call to condense().
|
||||
|
||||
|
||||
Args:
|
||||
req_id: request to remove
|
||||
|
||||
@@ -590,7 +590,7 @@ class InputBatch:
|
||||
|
||||
def refresh_metadata(self):
|
||||
"""Apply batch updates, reset input batch at end of step
|
||||
|
||||
|
||||
* Apply batch add/remove/permute to logits procs' states
|
||||
* If batch state is modified, update sampling metadata
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user