unilab.base.process_device.bind_backend_process_device¶
- unilab.base.process_device.bind_backend_process_device(resolved)[source]¶
Bind a resolved backend process device in the current process.
Top-level on purpose: uni_rl’s off-policy collectors receive this as the injected
backend_device_binderand pickle it by reference into spawn-based subprocesses. The mjwarp import stays lazy so the binder is importable without themjwarpextra installed.