Skip to content

Commit 522114e

Browse files
committed
Release version 2.3.1
1 parent 20892ee commit 522114e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 2.3.1 (2026-04-01)
4+
5+
### Fixed
6+
7+
- **Executor affinity for numpy/torch** - Workers are now assigned a fixed executor
8+
thread at creation. All calls from the same worker go to the same executor,
9+
preventing thread state corruption in libraries like numpy and PyTorch that
10+
have thread-local state. Fixes segfaults when using sentence-transformers
11+
or other ML libraries.
12+
313
## 2.3.0 (2026-03-29)
414

515
### Removed

src/erlang_python.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{application, erlang_python, [
22
{description, "Execute Python applications from Erlang using dirty NIFs"},
3-
{vsn, "2.3.0"},
3+
{vsn, "2.3.1"},
44
{registered, [py_pool]},
55
{mod, {erlang_python_app, []}},
66
{applications, [

0 commit comments

Comments
 (0)