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

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions