Skip to content

Commit 977db17

Browse files
committed
attempt to fix build
1 parent 6041be2 commit 977db17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Libraries/MLXEmbedders/ModelFactory.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ public struct EmbedderModelContext {
128128
/// progressHandler: logProgress(modelId)
129129
/// )
130130
/// ```
131-
public final class EmbedderModelFactory: GenericModelFactory<
132-
EmbedderModelContext, EmbedderModelContainer
133-
>
134-
{
131+
public final class EmbedderModelFactory: GenericModelFactory {
132+
133+
public typealias ContextType = EmbedderModelContext
134+
public typealias ContainerType = EmbedderModelContainer
135135

136136
public init(
137137
typeRegistry: ModelTypeRegistry<EmbeddingModel>,

0 commit comments

Comments
 (0)