Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Error while split the model name #133

@neomi-tenenbaum-huawei

Description

@neomi-tenenbaum-huawei

on file: flexgen/opt_config.py on func get_opt_config (~line 54)
name = name.split("/")[1]
if the model name is "foder_name/folder_name1/opt-125m" the code will return "folder_name1"
you have to change the code to:
name = name.split("/")[-1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions