We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to run it on MPS backend on Mac M1 Max 64Gb modifying demo.ipynb like this:
Changes to notebook:
device = 'mps'
model = Mamba.from_pretrained(pretrained_model_name).to(device)
input_ids = tokenizer(prompt, return_tensors='pt').input_ids.to(device)
Getting gibberish and dead python kernel in dozen of tokens:
for t in generate(model, tokenizer, 'Mamba is the'): print(t, end='')
ocardial goal fibrobl ( triglycer ા judgement extraordinacebook CURIAM
and then it crashes.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to run it on MPS backend on Mac M1 Max 64Gb modifying demo.ipynb like this:
Changes to notebook:
device = 'mps'
model = Mamba.from_pretrained(pretrained_model_name).to(device)
input_ids = tokenizer(prompt, return_tensors='pt').input_ids.to(device)
Getting gibberish and dead python kernel in dozen of tokens:
for t in generate(model, tokenizer, 'Mamba is the'): print(t, end='')
ocardial goal fibrobl ( triglycer ા judgement extraordinacebook CURIAM
and then it crashes.
The text was updated successfully, but these errors were encountered: