unilab.base.process_device.bind_backend_process_device_for_backend¶
- unilab.base.process_device.bind_backend_process_device_for_backend(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 uni_rl’s spawn-based collectors while remaining pickleable by module reference.