mirror of
https://github.com/Comfy-Org/pyisolate.git
synced 2026-11-05 00:27:34 +00:00
[PR #7] [MERGED] feat: isolation serialization, CUDA IPC hardening, and CUDA wheel resolution (v0.9.2) #8
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/pyisolate#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/pyisolate/pull/7
Author: @pollockjj
Created: 3/12/2026
Status: ✅ Merged
Merged: 3/12/2026
Merged by: @pollockjj
Base:
main← Head:pr/0.9.2-isolation-support📝 Commits (4)
2641b45feat(cuda-wheels): resolve runtime-matched CUDA wheels from custom indexes3bd5249feat: isolation serialization improvements for custom node support62c8cfatest: unit tests for serialization registry, transport limits, and deserialization guard7e407d0chore: bump version to 0.9.2📊 Changes
18 files changed (+1223 additions, -140 deletions)
View changed files
📝
benchmarks/benchmark.py(+64 -57)📝
benchmarks/benchmark_harness.py(+30 -45)📝
benchmarks/memory_benchmark.py(+10 -15)📝
benchmarks/simple_benchmark.py(+1 -0)➕
pyisolate/_internal/cuda_wheels.py(+272 -0)📝
pyisolate/_internal/environment.py(+58 -4)📝
pyisolate/_internal/model_serialization.py(+7 -3)📝
pyisolate/_internal/rpc_protocol.py(+2 -1)📝
pyisolate/_internal/rpc_transports.py(+6 -1)📝
pyisolate/_internal/serialization_registry.py(+23 -2)📝
pyisolate/_internal/tensor_serializer.py(+9 -5)📝
pyisolate/config.py(+22 -0)📝
pyisolate/interfaces.py(+5 -0)📝
pyproject.toml(+5 -2)➕
tests/test_cuda_wheels.py(+317 -0)➕
tests/test_model_serialization.py(+121 -0)➕
tests/test_rpc_transports.py(+178 -0)📝
tests/test_serialization_registry.py(+93 -5)📄 Description
Summary
purge_orphan_sender_shm_filesracing the C++RefcountedMapAllocatordestructor — SIGKILL'd child peers leave the IPC refcount file at count > 1, so the host's C++close()decrements but does not unlink;purge_orphanthen unlinks the file while the C++ mmap is still open, causing a double-unlink → ENOENT → SIGABRTTest plan
pytest tests/test_*.py --ignore=tests/test_sandbox_integration.pypytest tests/integration_v2/test_tensors.pyruff check,ruff format --check,mypy pyisolate🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.