mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +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 sys import exit
|
||||
|
||||
try:
|
||||
import hf_olmo
|
||||
except ImportError:
|
||||
|
Reference in New Issue
Block a user