mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 17:31:18 +08:00
Update olmo.py (#419)
exit should be imported outside of interactive mode
This commit is contained in:
parent
8b77677c05
commit
2303238e44
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user