mlx-swift-examples icon indicating copy to clipboard operation
mlx-swift-examples copied to clipboard

`generate` silently fails on OpenELM 3B after latest commit

Open DePasqualeOrg opened this issue 1 year ago • 3 comments

[Original comment removed, see below]

import Foundation
import MLXLLM

extension ModelConfiguration {
  static let openelm3b = ModelConfiguration(
    id: "mlx-community/OpenELM-3B"
  ) { prompt in
    "\(prompt)"
  }
}

DePasqualeOrg avatar May 09 '24 09:05 DePasqualeOrg

[Original comment removed, see below]

DePasqualeOrg avatar May 09 '24 09:05 DePasqualeOrg

The silent failing of OpenELM 3B seems to be caused by commit https://github.com/ml-explore/mlx-swift-examples/commit/ff7610d522a57e403140e8431ebd6d032dcdb86c. It doesn't happen when checking out the commit before that.

DePasqualeOrg avatar May 09 '24 13:05 DePasqualeOrg

OK, #53 should address this

davidkoski avatar May 20 '24 23:05 davidkoski

#76 should fix this

davidkoski avatar May 28 '24 23:05 davidkoski