Skip to content

Fix installation step for MacOS platform#15

Open
yyovil wants to merge 1 commit intoFireRedTeam:mainfrom
yyovil:fix/issue-8-apple-silicon
Open

Fix installation step for MacOS platform#15
yyovil wants to merge 1 commit intoFireRedTeam:mainfrom
yyovil:fix/issue-8-apple-silicon

Conversation

@yyovil
Copy link
Copy Markdown

@yyovil yyovil commented Mar 28, 2026

Problem faced

  • Installation Issue: Broken installation due to incompatible dependencies.
  • Dependency Conflicts: torch==2.1.0+cu118 requires Nvidia CUDA and kaldi_native_fbank lacks a native macOS arm64 wheel.

Before

image
  • pip install -r requirements.txt failed on MacOS platform

After

image
FireRedVAD-demo.mp4
  • pip install -r requirements-macos-arm64.txt resolves the installation error.

Closes #8.

Copilot AI review requested due to automatic review settings March 28, 2026 19:46
Copy link
Copy Markdown

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 updates the source-install dependency set to better support Apple Silicon and other CPU-only environments by removing CUDA-specific PyTorch constraints and loosening a problematic wheel pin, with a README note for CUDA users.

Changes:

  • Switch requirements.txt from a CUDA-suffixed Torch pin to a platform-neutral PyTorch spec.
  • Relax the kaldi_native_fbank version constraint to allow resolving Apple Silicon-compatible wheels.
  • Document in the README that CUDA users should install their preferred PyTorch build separately for source installs.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
requirements.txt Replaces CUDA-specific Torch pin with a generic Torch constraint; loosens kaldi_native_fbank pin.
README.md Adds guidance clarifying PyTorch installation expectations for CUDA users on the source-install path.

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

@yyovil yyovil marked this pull request as draft March 28, 2026 19:51
@kaituoxu
Copy link
Copy Markdown
Contributor

Thanks for you PR

@kaituoxu
Copy link
Copy Markdown
Contributor

I'll merge this PR if the code is ready

@kaituoxu kaituoxu marked this pull request as ready for review March 30, 2026 05:45
@kaituoxu kaituoxu marked this pull request as draft March 30, 2026 05:45
2. added the installation step FireRedTeam#3 for macos platform in README.md

Entire-Checkpoint: a5a8c0596310
@yyovil yyovil force-pushed the fix/issue-8-apple-silicon branch from 8022ebf to 890f4d0 Compare March 31, 2026 12:12
@yyovil yyovil marked this pull request as ready for review March 31, 2026 12:50
@yyovil yyovil changed the title Fix Apple Silicon source install requirements Fix installation step for MacOS platform Mar 31, 2026
@yyovil yyovil closed this Mar 31, 2026
@yyovil yyovil deleted the fix/issue-8-apple-silicon branch March 31, 2026 13:01
@yyovil yyovil restored the fix/issue-8-apple-silicon branch March 31, 2026 13:04
@yyovil yyovil reopened this Mar 31, 2026
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.

Improve Installation steps for MacOS users

3 participants