Skip to content

fix: port AMD install-test fixes from Lighthouse-AI-Dev#80

Merged
Lightheartdevs merged 1 commit intomainfrom
fix/amd-install-test-port
Mar 9, 2026
Merged

fix: port AMD install-test fixes from Lighthouse-AI-Dev#80
Lightheartdevs merged 1 commit intomainfrom
fix/amd-install-test-port

Conversation

@Lightheartdevs
Copy link
Copy Markdown
Collaborator

Summary

Cherry-picked from parallel AMD Strix Halo install test (Ryzen AI MAX+ 395, ROCm, Ubuntu 24.04) that achieved 36/36 healthy containers.

  • resolve-compose-stack.sh: CPU-only extensions (gpu_backends: ["none"]) were excluded on GPU systems. Added "none" to the compatibility check so CPU-only services load on any backend. Also skip .disabled compose files.
  • docker-compose.base.yml: Extensions declaring networks: { dream-network: { external: true } } failed because only default was defined. Added explicit dream-network named network entry.
  • DIFY_SECRET_KEY: ${DIFY_SECRET_KEY:?} in Dify's compose.yaml crashes the entire compose stack if the key is missing. Added generation to both Linux (06-directories.sh with _env_get) and Windows (env-generator.ps1 with Get-EnvOrNew). Added to .env.schema.json.
  • Whisper VAD patch: The sed/perl replacement breaks Python syntax in newer speaches versions where transcribe() spans multiple lines. Disabled the patch, using upstream defaults.

Test plan

  • Linux install with CPU-only extensions enabled
  • Verify Dify extension starts (no missing secret crash)
  • Verify whisper starts cleanly without VAD patch errors
  • Docker compose validates with dream-network references

🤖 Generated with Claude Code

Cherry-picked from parallel AMD Strix Halo install test (36/36 healthy):

- resolve-compose-stack.sh: include CPU-only extensions (gpu_backends:
  ["none"]) on GPU systems, skip .disabled compose files
- docker-compose.base.yml: add explicit dream-network named network so
  extensions can reference it as external: true
- 06-directories.sh + env-generator.ps1: generate DIFY_SECRET_KEY
  (prevents ${DIFY_SECRET_KEY:?} from crashing compose stack)
- whisper entrypoint: disable fragile VAD sed/perl patch that breaks
  newer speaches where transcribe() spans multiple lines

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Lightheartdevs Lightheartdevs merged commit 6deefe8 into main Mar 9, 2026
4 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant