Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Trigger CI#33

Open
blackboxprogramming wants to merge 2 commits intomasterfrom
feat/transformers-mps-cpu
Open

Trigger CI#33
blackboxprogramming wants to merge 2 commits intomasterfrom
feat/transformers-mps-cpu

Conversation

@blackboxprogramming
Copy link

Description

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

mudler added 2 commits August 24, 2025 16:47
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Copilot AI review requested due to automatic review settings January 4, 2026 11:35
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for CPU and Metal (MPS) transformers backends to the LocalAI build system. The changes enable building transformer-based backends for macOS (Metal/MPS acceleration) and CPU-only environments, expanding platform support beyond the existing CUDA, Intel, and ROCm backends.

  • Adds new requirements-mps.txt for MPS/Metal backend dependencies
  • Updates backend registry (index.yaml) with CPU and Metal transformer backend configurations
  • Adds GitHub workflow jobs for building CPU and Metal transformer backends

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
backend/python/transformers/requirements-mps.txt New requirements file defining Python dependencies for Metal/MPS backend
backend/python/transformers/requirements-cpu.txt Adds PyTorch CPU index URL for CPU-only installations
backend/index.yaml Registers new CPU and Metal transformer backend variants with container URIs and mappings
.github/workflows/backend.yml Adds CI jobs for building CPU transformers backend (Linux) and Metal transformers backend (macOS)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2 to +7
accelerate
llvmlite==0.43.0
numba==0.60.0
transformers
bitsandbytes
outetts
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requirements file installs several third-party packages (accelerate, transformers, bitsandbytes, outetts) without any version pinning, which creates a supply chain risk because each build or deployment will pull the latest code from the package index. If any of these packages or their upstream distribution channel is compromised, an attacker can ship a malicious update that will be automatically installed and executed in your backend environment. To reduce this risk, pin each of these dependencies to vetted versions (or immutable hashes) and manage upgrades explicitly through your dependency management process.

Copilot uses AI. Check for mistakes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants