Skip to content

Errors while building MLXChatExample #345

@valentinptr

Description

@valentinptr

I use MLX for the first time and I wanted to test MLXChatExample. Here are the steps I have done :

  1. clone the swift example repo and install dependancies
  2. during building the project I had this first issue :
    1. Project/Services/MLXService.swift:32:66 Type 'LLMRegistry' has no member 'acereason_7b_4bit' ==> So I commented this line
    2. Project/ViewModels/ChatViewModel.swift:92:23 Type 'Generation' has no member 'toolCall' ==> I commented the case/brake also
  3. 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 :
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions