unilab.base.process_device.bind_backend_process_device¶
- unilab.base.process_device.bind_backend_process_device(backend_type, resolved)[source]¶
Bind one backend’s process-global accelerator device.
This top-level callable is intentionally backend-aware and lazy. It can be wrapped with
functools.partial()and injected into the RL runtime’s spawn-based collectors while remaining pickleable by module reference.