You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any reason why protobuf is pinned to less than 4? Some of the other packages I use require protobuf >=4, so I cannot install unsloth together with the other packages. Just trying to understand if there are any compatibility issues with protobuf >=4, since the dependencies specified by unsloth (e.g. the huggingface packages do not pin protobuf to <4)
So sorry on the delay! Just relocated to SF hence the delay.
You can try editing pyproject.toml and removing the version - the issue is for sentencepiece not really functioning correctly with manually editted tokenizers
Ah thanks, just wanted to confirm that it was "safe" to install a different version of protobuf. So it seems that as long as I don't manually edit a tokenizer, it would be okay. Will proceed to close this issue then.
Would it be possible to bump this at any point? This is a pretty old version of protobuf to be pinned to that is getting more and more compatibility issues. It would be nice to be able to use this in production without having to fork the repo with an edited pyproject.toml.
If this isn't a hard requirement it seems better to allow the flexibility, someone can still add that constraint downstream if it works with their other dependencies
Reacted by Shane Caldwell, Mira Kennard, Thomas Hourlier and dshi2
Activity
danielhanchen commentedon Jul 1, 2024
So sorry on the delay! Just relocated to SF hence the delay.
You can try editing
pyproject.tomland removing the version - the issue is forsentencepiecenot really functioning correctly with manually editted tokenizersjiewpeng commentedon Jul 1, 2024
Ah thanks, just wanted to confirm that it was "safe" to install a different version of
protobuf. So it seems that as long as I don't manually edit a tokenizer, it would be okay. Will proceed to close this issue then.danielhanchen commentedon Jul 1, 2024
Yep it should be safe!
MattGPT-ai commentedon Mar 18, 2025
Would it be possible to bump this at any point? This is a pretty old version of
protobufto be pinned to that is getting more and more compatibility issues. It would be nice to be able to use this in production without having to fork the repo with an editedpyproject.toml.If this isn't a hard requirement it seems better to allow the flexibility, someone can still add that constraint downstream if it works with their other dependencies