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

Cant run hybrid model #143

Open
usamacloudops opened this issue Feb 20, 2025 · 1 comment
Open

Cant run hybrid model #143

usamacloudops opened this issue Feb 20, 2025 · 1 comment

Comments

@usamacloudops
Copy link

AssertionError Traceback (most recent call last)
in <cell line: 0>()
7
8 model = Zonos.from_pretrained("Zyphra/Zonos-v0.1-transformer", device=device)
----> 9 model2 = Zonos.from_pretrained("Zyphra/Zonos-v0.1-hybrid", device=device)

3 frames
/content/Zonos/zonos/backbone/_torch.py in init(self, config)
55
56 def init(self, config: BackboneConfig):
---> 57 assert not config.ssm_cfg, "This backbone implementation only supports the Transformer model."
58 super().init()
59 self.config = config

AssertionError: This backbone implementation only supports the Transformer model.

Trying to run the Zyphra/Zonos-v0.1-hybrid but getting above error, any idea how to solve it

@sekstini
Copy link
Collaborator

Hey, if you have a recent Nvidia GPU (3000-series or newer) you can install the optional dependencies as shown here. This will enable you to run the Hybrid model.

If not then you will only be able to run the Transformer variant.

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

No branches or pull requests

2 participants