mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
mlx_lm: Add Streaming Capability to Generate Function (#807)
* Add streaming feature to text generation function * separate stream and regular functions --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright © 2023-2024 Apple Inc.
|
||||
|
||||
from .utils import convert, generate, load
|
||||
from .utils import convert, generate, load, stream_generate
|
||||
from .version import __version__
|
||||
|
Reference in New Issue
Block a user