Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README - macOS installation, validating installation #385

Merged
merged 3 commits into from
May 29, 2023

Conversation

aguynamedben
Copy link
Contributor

The "manual installation" section of the README only has Linux and Windows examples, and I had to dig through issues to figure out how to get rust-bert working on macOS (Apple Silicon).

This adds "macOS + Homebrew" to the manual installation section. Most macOS users building in Rust would consider it fair to call installing pytorch via Homebrew "manual" installation" (trying to avoid pyenv, pip, etc.)

The "manual installation" section of the README only has Linux and Windows examples, and I had to dig through issues to figure out how to get rust-bert working on macOS (Apple Silicon).

This adds "macOS + Homebrew" to the manual installation section. Most macOS users building in Rust would consider it fair to call installing pytorch via Homebrew "manual" installation" (trying to avoid pyenv, pip, etc.)
@aguynamedben
Copy link
Contributor Author

Credit to @knpwrs in #326 (comment) for providing the actual code 🙏

Copy link
Owner

@guillaume-be guillaume-be left a comment

Choose a reason for hiding this comment

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

Thank you @aguynamedben for adding the instructions for macOS. I have added a small comment since we technically link to libtorch - please let me know what you think

README.md Outdated Show resolved Hide resolved
@guillaume-be guillaume-be merged commit 81cde55 into guillaume-be:master May 29, 2023
@aguynamedben
Copy link
Contributor Author

@guillaume-be lgtm, thank you for working on this great crate!

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.

2 participants