mlx-swift-examples
mlx-swift-examples copied to clipboard
Errors while building MLXChatExample
I use MLX for the first time and I wanted to test MLXChatExample. Here are the steps I have done :
- clone the swift example repo and install dependancies
- during building the project I had this first issue :
- Project/Services/MLXService.swift:32:66 Type 'LLMRegistry' has no member 'acereason_7b_4bit' ==> So I commented this line
- Project/ViewModels/ChatViewModel.swift:92:23 Type 'Generation' has no member 'toolCall' ==> I commented the case/brake also
- I was finally able to build the code but then this error occurred : ViewBridge to RemoteViewService Terminated: Error Domain=com.apple.ViewBridge Code=18 "(null)" UserInfo={com.apple.ViewBridge.error.hint=this process disconnected remote view controller -- benign unless unexpected, com.apple.ViewBridge.error.description=NSViewBridgeErrorCanceled}
On the app window I have this issue :