跳到正文
Skillpedia
通用编程5.7k · #14751

reproducible-github-issues

它能做什么

这项技能教智能体如何把 MLX-VLM 的问题整理为维护者能够处理的问题报告。它会收集版本信息、命令以及能够重现故障的最小示例。

适用场景

  • ✓当用户在 MLX-VLM 中遇到崩溃或输出错误,并想报告它的时候。
  • ✓当用户需要改进已有的缺陷报告,使其他人能够复现的时候。
  • ✓当用户想把性能退化问题清楚地记录下来的时候。

技能链接

https://github.com/Blaizzy/mlx-vlm/blob/main/skills/skills/reproducible-github-issues/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Blaizzy/mlx-vlm/blob/main/skills/skills/reproducible-github-issues/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我为 MLX-VLM 写一个 GitHub 问题报告。服务器在我输入图片时崩溃,我希望问题可以被复现。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会收集环境信息和准确的命令,把问题简化为一个小案例,并将问题报告写成 Markdown。除非用户明确要求,否则它不会提交问题。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Reproducible GitHub Issues

Use this workflow to turn a failure into a concise, actionable MLX-VLM issue. Do not open a GitHub issue unless the user explicitly asks; otherwise produce issue-ready Markdown.

Required Information

Collect or infer:

  • MLX-VLM version or git commit.
  • Install method: PyPI, editable checkout, branch, or wheel.
  • Python version, OS version, machine/chip, and whether MLX Metal or MLX CUDA is in use.
  • Exact model ID or local path.
  • Whether the model is from Hugging Face cache, a local conversion, or a custom checkpoint.
  • Exact uv run CLI command or server startup command.
  • Exact request body for server issues.
  • Input media facts: image dimensions, audio duration/sample rate, video duration/frame count, and whether the input can be shared.
  • Expected behavior, actual behavior, and full error/traceback.

Collect the Environment Automatically

Instead of hand-filling versions, run and paste the output into the Environment section:

uv run python - <<'PY'
import platform, mlx.core as mx
try:
    import mlx_vlm
    v = getattr(mlx_vlm, "__version__", "unknown")
except Exception as e:
    v = f"import failed: {e}"
print("mlx-vlm:", v)
print("mlx:", mx.__version__, "| default device:", mx.default_device())
print("python:", platform.python_version(), "| platform:", platform.platform())
PY

Repro Minimization

  1. Reduce to the smallest command or request that still fails.
  2. Remove private paths, tokens, and unrelated environment variables.
  3. Prefer curl over client SDKs for server repros.
  4. Prefer one image/audio/video file before multi-input repros.
  5. Use small public media or synthetic inputs when possible.
  6. State whether the bug reproduces with a public model or only a private/local checkpoint.

Issue Template

### Summary

<One sentence describing the failure.>

### Environment

- MLX-VLM:
- Python:
- OS:
- Hardware:
- Install method:

### Model

- Model:
- Source: <HF cache | local path | converted checkpoint>
- Trust remote code: <yes/no>

### Reproduction

```bash
uv run mlx_vlm.generate <args>
```

For server issues:

```bash
uv run mlx_vlm.server <args>
```

```bash
<curl request>
```

### Expected Behavior

<What should have happened.>

### Actual Behavior

<What happened instead.>

### Logs / Traceback

```text
<trimmed traceback or relevant logs>
```

### Inputs

<Describe attached or shareable inputs. Include dimensions/duration when relevant.>

Classification

  • CLI inference: use Skill("mlx-vlm-skills:cli-inference") if a repro command is still missing.
  • Server inference: use Skill("mlx-vlm-skills:server-inference") if a minimal request is still missing.
  • Model-specific failures: include config.json model_type, processor class, and whether the family has a README in mlx_vlm/models/.

Quality Bar

The issue is ready when a maintainer can run one command or one server command plus one request and see the same failure without asking for basic environment or model details.

常见问题

智能体会替我提交问题吗?

不会。这项技能说明,除非用户明确要求,否则不要提交 GitHub 问题。

需要哪些环境信息?

这项技能列出了 MLX-VLM 版本、Python 和操作系统版本、芯片型号以及模型 ID。

为什么要简化示例?

更小的示例更容易复现和理解故障。

详情

作者的原始描述

Use this skill when the user wants to create, improve, or triage a reproducible GitHub issue for MLX-VLM, including bug reports from CLI inference, server inference, model loading, processors, media inputs, dependency setup, crashes, wrong outputs, or performance regressions.

repo: Blaizzy/mlx-vlm

热度

GitHub 星标
5.7k
排名
#14751
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能