Error - model contains "custom code"
Hey all,
I am trying to run the model within LM Studio, and I get the following error:
-- Error when loading model: ValueError: The repository/path/to/the/model contains custom code which must be executed to correctly load the model. Please pass the argument trust_remote_code=True to allow custom code to be run.
If I try to run it with mlx-lm, I get this error:
-- TypeError: uniform(): incompatible function arguments. The following argument types are supported:
1. uniform(low: Union[scalar, array] = 0, high: Union[scalar, array] = 1, shape: Sequence[int] = [], dtype: Optional[Dtype] = float32, key: Optional[array] = None, stream: Union[None, Stream, Device] = None) -> array
Invoked with types: kwargs = { low: float, high: float, shape: tuple }
Any advice?
Thanks!