Skip to content

HIGH: 15 services use invalid gpu_backends values ("none" or empty array) #79

@yasinBursali

Description

@yasinBursali

Bug Report: 15 services use invalid gpu_backends values

Severity: High
Category: Manifest/Schema
Scope: resources/dev/extensions-library
Platform: All
Confidence: Confirmed
Branch: resources/dev — fix PRs must target resources/dev, NOT main

Description

14 services use gpu_backends: [none] but "none" is not a valid enum value — schema only allows amd, nvidia, apple, all. Additionally, gitea uses gpu_backends: [] which violates the minItems: 1 constraint. Any schema validator will reject these manifests.

Affected File(s)

Services using gpu_backends: [none] (14):

  • services/aider/manifest.yaml
  • services/baserow/manifest.yaml
  • services/chromadb/manifest.yaml
  • services/crewai/manifest.yaml
  • services/flowise/manifest.yaml
  • services/label-studio/manifest.yaml
  • services/langflow/manifest.yaml
  • services/librechat/manifest.yaml
  • services/milvus/manifest.yaml
  • services/open-interpreter/manifest.yaml
  • services/paperless-ngx/manifest.yaml
  • services/piper-audio/manifest.yaml
  • services/sillytavern/manifest.yaml
  • services/weaviate/manifest.yaml

Service using gpu_backends: [] (1):

  • services/gitea/manifest.yaml

Root Cause

Schema enum for gpu_backends does not include a "no GPU" option. Services that don't need a GPU used [none] or [] as workarounds.

Evidence

# 14 services:
gpu_backends: [none]    # "none" not in enum [amd, nvidia, apple, all]

# gitea:
gpu_backends: []        # violates minItems: 1

Schema definition:

"gpu_backends": {
  "type": "array",
  "items": { "type": "string", "enum": ["amd", "nvidia", "apple", "all"] },
  "minItems": 1
}

Reproduction

  1. Run any JSON schema validator against these manifest.yaml files
  2. Expected: valid
  3. Actual: validation error on gpu_backends

Impact

Schema validation fails for 15 out of 34 services. Automated tooling that validates manifests will flag nearly half the library as invalid.

Suggested Approach

For services that don't need a GPU, omit the gpu_backends field entirely. Alternatively, add "none" or "cpu" to the schema enum if there's a need to explicitly declare "no GPU required."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions