mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-10-24 14:38:09 +08:00
Update olmo.py (#419)
exit should be imported outside of interactive mode
This commit is contained in:
@@ -6,6 +6,8 @@ import mlx.nn as nn
|
|||||||
|
|
||||||
from .base import BaseModelArgs
|
from .base import BaseModelArgs
|
||||||
|
|
||||||
|
from sys import exit
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import hf_olmo
|
import hf_olmo
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|||||||
Reference in New Issue
Block a user