huggingface / huggingface/swift-chat

Cannot import Mistral7b

Open
#28 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
597
Forks
49
PR merge metrics
No merged PRs in 30d

Description

On my Macbook Air m3 with MacOS 15.1 (24B83) i cannot import the mistral model downloaded from this repo: https://huggingface.co/apple/mistral-coreml

I'm running the preview branch.
This is the XCode error i'm running in:

.bundle/main/main_mps_graph/main_mps_graph.mpsgraphpackage/model_0.mpsgraph":0:0): error: attempting to parse a byte at the end of the bytecode
Models/LanguageModel.swift:39: Fatal error: Cannot obtain shape information

Any idea?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.