mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-08 19:04:52 +00:00
neuron: black
This commit is contained in:
parent
8834aaf46d
commit
2f4d576a4c
@ -56,6 +56,7 @@ def _test_prefill(config_name, generator, batch_size, do_sample):
|
||||
assert tokens.ids[0] == expectations[0]
|
||||
assert tokens.texts[0] == expectations[1]
|
||||
|
||||
|
||||
def test_prefill_truncate(neuron_model_config):
|
||||
config_name = neuron_model_config["name"]
|
||||
neuron_model_path = neuron_model_config["neuron_model_path"]
|
||||
|
Loading…
Reference in New Issue
Block a user