fetch_ml/internal/worker
Jeremie Fraeys de83300962
feat(worker): refactor GPU detection with macOS Metal support
GPU detection refactor:
- Major rewrite of gpu_detector.go with unified detection interface
- Support for NVIDIA (NVML), AMD (ROCm), and Apple Metal
- Runtime GPU capability querying for scheduler matching

macOS improvements:
- gpu_macos.go: native Metal device enumeration and memory queries
- Support for Apple Silicon (M1/M2/M3) unified memory reporting
- Fallback to system profiler for Intel Macs

Testing infrastructure:
- Add gpu_detector_mock.go for testing without hardware
- Update gpu_golden_test.go with platform-specific expectations
- Cross-platform GPU info validation
2026-03-12 12:02:41 -04:00
..
errors feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
execution refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
executor refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
integrity refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
interfaces feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
lifecycle refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
plugins feat(worker): add Jupyter/vLLM plugins and process isolation 2026-02-26 12:03:59 -05:00
process refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
tenant refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
artifacts.go feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
config.go refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
factory.go feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
gpu_detector.go feat(worker): refactor GPU detection with macOS Metal support 2026-03-12 12:02:41 -04:00
gpu_detector_mock.go feat(worker): refactor GPU detection with macOS Metal support 2026-03-12 12:02:41 -04:00
gpu_macos.go feat(worker): refactor GPU detection with macOS Metal support 2026-03-12 12:02:41 -04:00
gpu_macos_stub.go feat: native GPU detection and NVML bridge for macOS and Linux 2026-02-21 17:59:59 -05:00
gpu_nvml_native.go feat: native GPU detection and NVML bridge for macOS and Linux 2026-02-21 17:59:59 -05:00
gpu_nvml_stub.go feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
native_bridge.go refactor(worker): update worker tests and native bridge 2026-02-23 18:04:22 -05:00
native_bridge_libs.go feat(security): Artifact ingestion caps enforcement 2026-02-23 19:43:28 -05:00
native_bridge_nocgo.go refactor(worker): update worker tests and native bridge 2026-02-23 18:04:22 -05:00
snapshot_store.go refactor(worker): update worker tests and native bridge 2026-02-23 18:04:22 -05:00
worker.go refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00