Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

mlx: remove noisy error output from dynamic library loading (#14346)

Jeffrey Morgan8b4e5a82a8dc
diff --git a/x/mlxrunner/mlx/dynamic.c b/x/mlxrunner/mlx/dynamic.c
index d3c4e6e6c..3420139a9 100644
--- a/x/mlxrunner/mlx/dynamic.c
+++ b/x/mlxrunner/mlx/dynamic.c
@@ -18,7 +18,9 @@
static int mlx_dynamic_open(mlx_dynamic_handle* handle, const char* path) {
handle->ctx = (void*) DLOPEN(path);
- CHECK(handle->ctx != NULL);
+ if (handle->ctx == NULL) {
+ return 1;
+ }
return 0;
}