Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[bot] Instrument mlx-lm (136,095 weekly downloads)

Fechada
#852 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
52/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
ai, machine-learning

Direção de pesquisa

Start by reading the existing HuggingFace Transformers integration under py/src/braintrust/integrations/ and inspect the integration matrix in py/pyproject.toml and sessions in py/noxfile.py. Review mlx_lm.generate.generate(), mlx_lm.generate.stream_generate(), and the mlx_lm.chat/server entry points. Done means native instrumentation exists, its package and test coverage are wired into the repository, and README.md documents the integration.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

new-integration python

What's missing

mlx-lm (Apple's MLX-based LLM generation/serving library for Apple Silicon) has no native instrumentation in the Braintrust Python SDK. There is no py/src/braintrust/integrations/mlx_lm/ directory, no entry in py/pyproject.toml [tool.braintrust.matrix], and no nox session in py/noxfile.py. The library provides execution-oriented generation APIs (mlx_lm.generate.generate(), mlx_lm.generate.stream_generate(), and the mlx_lm.chat/mlx_lm.server OpenAI-compatible serving entry points) that run local text-generation inference — directly analogous to the HuggingFace Transformers integration Braintrust already auto-instruments.

Weekly downloads

136,095 (as of 2026-10-05; https://pypistats.org/api/packages/mlx-lm/recent)

Braintrust docs status

not_found — searched site:braintrust.dev docs mlx-lm OR "MLX LM"; no dedicated Braintrust integration page or mention of MLX/mlx-lm exists in the Braintrust docs (https://www.braintrust.dev/docs).

Upstream sources

Local repo files inspected

  • README.md (root) — "Integrations included in braintrust" table, no MLX entry
  • py/pyproject.toml — grepped for mlx, no matches in [tool.braintrust.matrix] or dependency groups
  • py/noxfile.py — grepped for mlx, no matching session
  • py/src/braintrust/integrations/ — no mlx_lm subdirectory
  • repo-wide grep for mlx — no source-code references found outside this audit

Filed by an automated library-gap audit. Please verify before prioritizing.

Linguagem predominante
Python
Estrelas
22
Forks
27
Merge médio
14h 49min
PRs com merge (30d)
126

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de braintrustdata/braintrust-sdk-python

Todas as issues de braintrustdata/braintrust-sdk-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.