From 7af7671140fbd05380f4032c010d68f4b887fdb5 Mon Sep 17 00:00:00 2001 From: Aleksandr Borzunov Date: Tue, 25 Oct 2022 22:49:37 +0000 Subject: [PATCH] Update hivemind to 1.1.2, mark `model` argument as required --- cli/run_server.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/run_server.py b/cli/run_server.py index 80598a0..e94d2e3 100644 --- a/cli/run_server.py +++ b/cli/run_server.py @@ -15,7 +15,7 @@ def main(): parser = configargparse.ArgParser(default_config_files=["config.yml"]) parser.add('-c', '--config', required=False, is_config_file=True, help='config file path') - group = parser.add_mutually_exclusive_group() + group = parser.add_mutually_exclusive_group(required=True) group.add_argument('--converted_model_name_or_path', type=str, default=None, help="path or name of a pretrained model, converted with cli/convert_model.py") group.add_argument('model', nargs='?', type=str, help="same as --converted_model_name_or_path") diff --git a/requirements.txt b/requirements.txt index 3b74915..68d63e1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ accelerate==0.10.0 huggingface-hub==0.7.0 transformers==4.21.3 protobuf>=3.12.2,<4.0.0 -hivemind==1.1.1 +hivemind==1.1.2 humanfriendly