mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-08 19:04:52 +00:00
Change batch size sort in Neuron config
Fixing https://github.com/huggingface/text-generation-inference/issues/3299
This commit is contained in:
parent
24c2bff659
commit
3c55c053ee
@ -112,7 +112,7 @@ def neuron_config_to_env(neuron_config):
|
||||
|
||||
|
||||
def sort_neuron_configs(dictionary):
|
||||
return -dictionary["tp_degree"], -dictionary["batch_size"]
|
||||
return -dictionary["tp_degree"], dictionary["batch_size"]
|
||||
|
||||
|
||||
def lookup_compatible_cached_model(
|
||||
|
Loading…
Reference in New Issue
Block a user