[PR #15566] mlx: Support NVIDIA TensorRT Model Optimizer import #20432

Open
opened 2026-04-16 07:37:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15566
Author: @dhiltgen
Created: 4/14/2026
Status: 🔄 Open

Base: mainHead: mlx-nvidia-modelopt


📝 Commits (1)

  • a27ade9 mlx: Support NVIDIA TensorRT Model Optimizer import

📊 Changes

6 files changed (+221 additions, -15 deletions)

View changed files

📝 x/create/create.go (+152 -0)
📝 x/create/dtype.go (+4 -0)
📝 x/imagegen/safetensors/safetensors.go (+2 -0)
📝 x/mlxrunner/mlx/ops_extra.go (+27 -0)
📝 x/mlxrunner/model/linear.go (+16 -7)
📝 x/models/nn/nn.go (+20 -8)

📄 Description

Follow up from #15244


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/15566 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 4/14/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `mlx-nvidia-modelopt` --- ### 📝 Commits (1) - [`a27ade9`](https://github.com/ollama/ollama/commit/a27ade9595b395295abf692654f5c6a88b3efb37) mlx: Support NVIDIA TensorRT Model Optimizer import ### 📊 Changes **6 files changed** (+221 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `x/create/create.go` (+152 -0) 📝 `x/create/dtype.go` (+4 -0) 📝 `x/imagegen/safetensors/safetensors.go` (+2 -0) 📝 `x/mlxrunner/mlx/ops_extra.go` (+27 -0) 📝 `x/mlxrunner/model/linear.go` (+16 -7) 📝 `x/models/nn/nn.go` (+20 -8) </details> ### 📄 Description Follow up from #15244 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 07:37:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#20432