Skip to content

Conversation

@andrusha
Copy link

This version has binary wheels for arm64 macOS.

Otherwise building SentencePiece wheel on Catalina is problematic due to them using implicit conversions disallowed in safemode libc++:

src/sentencepiece/sentencepiece_wrap.cxx:3658:38: error: no viable conversion from 'const vector<std::string>' to 'const vector<absl::string_view>

This version has binary wheels for arm64 macOS. 

Otherwise building SentencePiece wheel on Catalina is problematic due to them using implicit conversions disallowed in safemode libc++:

```
src/sentencepiece/sentencepiece_wrap.cxx:3658:38: error: no viable conversion from 'const vector<std::string>' to 'const vector<absl::string_view>
```
@davidpfarrell
Copy link

Applying this change appears to have worked for me on Mac OSX Sequioa | miniconda | python 3.12.9 | current Janus main (as of this post)

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