Skip to content

Bump SentencePiece to 0.2.0#100

Open
andrusha wants to merge 1 commit into
deepseek-ai:mainfrom
andrusha:patch-1
Open

Bump SentencePiece to 0.2.0#100
andrusha wants to merge 1 commit into
deepseek-ai:mainfrom
andrusha:patch-1

Conversation

@andrusha
Copy link
Copy Markdown

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
Copy Markdown

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