-
Notifications
You must be signed in to change notification settings - Fork 12
feat: add subinterpreters support #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
XuehaiPan
wants to merge
66
commits into
metaopt:main
Choose a base branch
from
XuehaiPan:subinterpreters
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+563
−51
Open
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
edc21c7
chore(pre-commit): update pre-commit hooks
XuehaiPan d5a1cc4
test: reorgainize test files
XuehaiPan 8bd5fde
test: add subinterpreters tests
XuehaiPan 23abd08
chore: reorder dependencies
XuehaiPan 65a8fce
test: add import tests
XuehaiPan 261729a
chore(workflows): update find options
XuehaiPan 6b9b38a
feat: set `py::multiple_interpreters::shared_gil()`
XuehaiPan e4f2019
feat: set `py::multiple_interpreters::per_interpreter_gil()`
XuehaiPan eec4602
chore: disable subinterpreters for pre-3.14
XuehaiPan fade81a
chore(pre-commit): [pre-commit.ci] autoupdate
pre-commit-ci[bot] e7a2a89
refactor: simplify per-interpreter registry
XuehaiPan 1fd07c8
fix: fix collections type for subinterpreters
XuehaiPan 209801d
style: add `[[nodiscard]]` attributes
XuehaiPan 02648ab
chore(pre-commit): update pre-commit hooks
XuehaiPan a32c672
chore: sync changes
XuehaiPan c026062
chore: sync changes
XuehaiPan 3ba5f29
chore: sync changes
XuehaiPan 278d920
Merge branch 'pre-commit-ci-update-config' into subinterpreters
XuehaiPan 51f6878
Merge branch 'main' into subinterpreters
XuehaiPan e276ec3
chore: set macro `OPTREE_HAS_SUBINTERPRETER_SUPPORT`
XuehaiPan 86aa6f6
fix: fix find command
XuehaiPan f955df0
refactor: change pointers to references
XuehaiPan e2463e2
test: add import tests
XuehaiPan be1fb8e
fix: do not use `py::gil_safe_call_once_and_store` for subinterpreters
XuehaiPan 8d5c8bf
Merge branch 'main' into subinterpreters
XuehaiPan 3495e72
chore: reorgainize code
XuehaiPan 2278070
feat: add function `get_main_interpreter_id()`
XuehaiPan 8c36df2
chore: reorgainize code
XuehaiPan b7d9173
fix: fix docs dependency resolving
XuehaiPan d25f6dc
fix(workflows/lint): fix docs dependency resolving
XuehaiPan af30820
Merge branch 'main' into subinterpreters
XuehaiPan 0801449
fix(workflows/lint): fix docs dependency resolving
XuehaiPan 8ac7a96
Merge branch 'main' into subinterpreters
XuehaiPan e119a2f
chore: update nightly pybind11 url
XuehaiPan 5dcc2f8
feat: improve sanity check error messages
XuehaiPan 1c43acc
revert
XuehaiPan 90afec2
update
XuehaiPan ce661a2
chore: split ci jobs
XuehaiPan afae64c
fix: fix repr for exception
XuehaiPan 5c3ba09
Merge branch 'main' into subinterpreters
XuehaiPan 5fb4769
test: skip failed tests
XuehaiPan e486981
test: set no-cov for subinterpreter tests
XuehaiPan d89e120
test: set env for subprocess
XuehaiPan 5efad7e
chore: split tests
XuehaiPan bb0a4d9
chore(pre-commit): update pre-commit hooks
XuehaiPan b7cb1cf
test: enable subinterpreter tests
XuehaiPan 3fb200e
Merge remote-tracking branch 'upstream/main' into subinterpreters
XuehaiPan f7abc85
chore: update nightly remote
XuehaiPan ea8cc2c
chore: add more build time meta
XuehaiPan 2935452
chore: update nightly remote
XuehaiPan fb08dec
chore: update test
XuehaiPan 0d18d19
chore: update test
XuehaiPan 3996bb0
chore: update macros
XuehaiPan c420862
chore: remove `Py_Get_ID`
XuehaiPan 56d991f
chore: cleanup dict order namespaces
XuehaiPan 2e5e53f
fix: fix concurrency issue
XuehaiPan e39789d
chore: add `[[likely]]` attribute
XuehaiPan 389e17c
fix: fix PyPy
XuehaiPan 302db6a
chore: use simple GIL
XuehaiPan 7084688
test: update test
XuehaiPan 1deda32
test: update test timeout
XuehaiPan 37f22d9
chore: update macros
XuehaiPan a708f32
refactor: move dict order registry to `PyTreeTypeRegistry`
XuehaiPan 99cc0b1
chore: handle refcount
XuehaiPan 60b5afc
docs(CHANGELOG): update CHANGELOG.md
XuehaiPan 0907ca9
Merge remote-tracking branch 'upstream/main' into subinterpreters
XuehaiPan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.