Skip to content

Increase code robustness #519

Closed
Closed
@HanYang1385

Description

@HanYang1385

'hf_bin_files = glob.glob(os.path.join(hf_folder, "*.bin"))' in the define 'hf_model_weights_iterator' in file '/vllm/model_executor/weight_utils.py' joins all '.bin', however, pytorch_model.bin and training_args.bin merged together in some checkpoint, which leads to error when start api_server.py. Therefore, avoiding joining training_args.bin increases code robustness

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions