Skip to content

Commit f3067e5

Browse files
authored
juliacall now starts julia with one thread by default (#750)
Co-authored-by: Christopher Rowley <github.com/cjdoris>
1 parent bcddcb6 commit f3067e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44
* Added `juliacall.TypeValue.__numpy_dtype__` attribute to allow converting Julia types
55
to the corresponding NumPy dtype, like `numpy.dtype(jl.Int)`.
6+
* JuliaCall now launches Julia with 1 thread by default.
67
* Bug fixes.
78

89
## 0.9.31 (2025-12-17)

pysrc/juliacall/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def args_from_config(config):
152152
CONFIG['opt_optimize'] = choice('optimize', ['0', '1', '2', '3'])[0]
153153
CONFIG['opt_procs'] = int_option('procs', accept_auto=True)[0]
154154
CONFIG['opt_sysimage'] = sysimg = path_option('sysimage', check_exists=True)[0]
155-
CONFIG['opt_threads'] = int_option('threads', accept_auto=True)[0]
155+
CONFIG['opt_threads'] = option('threads', default='1')[0]
156156
CONFIG['opt_warn_overwrite'] = choice('warn_overwrite', ['yes', 'no'])[0]
157157
CONFIG['opt_handle_signals'] = choice('handle_signals', ['yes', 'no'])[0]
158158
CONFIG['opt_startup_file'] = choice('startup_file', ['yes', 'no'])[0]

0 commit comments

Comments
 (0)