Skip to content

Conversation

@electroglyph
Copy link

@electroglyph electroglyph commented May 18, 2025

I haven't been using Fastembed lately, but decided to replace my little ONNX wrapper with Fastembed just to tidy it up.

that's when I noticed that Fastembed silently dies on import in Python 3.13t, so here's the fix I'm currently using.

this PR:

  • moves Fastembed closer to Python 3.13t compatibility

  • updates pyo3 dependency to support Python 3.13t

  • slightly updates Rust code

  • updates (unused?) test

tested on Python 3.12 and Python 3.13.3+ free-threaded.

closes #4

edit: I haven't tested the workflow, but I looked at the Github actions before I updated the workflow, and my changes should be fine.

@electroglyph
Copy link
Author

there's an open PR (huggingface/tokenizers#1774) for tokenizers which adds 3.13t support. after that gets merged this PR will make fastembed 3.13t compatible

@ArthurZucker
Copy link

Merged!

@generall generall requested a review from joein October 2, 2025 16:02
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.

incompatible with Python 3.13t

2 participants