Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microsoft-phi2:max() arg is an empty sequence #95

Open
zazaji opened this issue Dec 30, 2023 · 1 comment
Open

microsoft-phi2:max() arg is an empty sequence #95

zazaji opened this issue Dec 30, 2023 · 1 comment

Comments

@zazaji
Copy link

zazaji commented Dec 30, 2023

我用以下的代码来加载microsoft-phi2,
from airllm import AutoModel
报错:

270, in split_and_save_layers
   if max(shards) > shard:
      ^^^^^^^^^^^
ValueError: max() arg is an empty sequence
@lyogavin
Copy link
Owner

lyogavin commented Jan 3, 2024

This is on Mac, right?

On Mac microsoft-phi2 is not supported yet, Mac versoin only support llama series models now. we'll support it later.

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

No branches or pull requests

2 participants