mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 15:41:01 +08:00
relative import
This commit is contained in:
parent
b1a4ba0827
commit
47cbc418e2
@ -14,9 +14,9 @@ import mlx.nn as nn
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
from lm_eval.api.model import LM
|
from lm_eval.api.model import LM
|
||||||
from lm_eval.api.registry import register_model
|
from lm_eval.api.registry import register_model
|
||||||
from mlx_lm.models.cache import make_prompt_cache
|
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
|
from .models.cache import make_prompt_cache
|
||||||
from .utils import load, stream_generate
|
from .utils import load, stream_generate
|
||||||
|
|
||||||
PAD = 0
|
PAD = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user