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

Error while split the model name #133

Open
neomi-tenenbaum-huawei opened this issue Mar 26, 2024 · 0 comments
Open

Error while split the model name #133

neomi-tenenbaum-huawei opened this issue Mar 26, 2024 · 0 comments

Comments

@neomi-tenenbaum-huawei
Copy link

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]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant