Villarrubia Elvira, JorgeCostero Valero, Luis MaríaIgual Peña, Francisco DanielOlcoz Herrero, Katzalin2025-11-172025-11-172026-03Álvarez-Domínguez, Álvaro, et al. «No Black Holes from Light». Physical Review Letters, vol. 133, n.º 4, julio de 2024, p. 041401. DOI.org (Crossref), https://doi.org/10.1103/PhysRevLett.133.041401.0167-739X10.1016/j.future.2025.108145https://hdl.handle.net/20.500.14352/126143© 2025 The Author(s).Recent advances in dynamic GPU partitioning, such as NVIDIA's Multi-Instance GPU (MIG) technology, have enhanced resource utilization by enabling task co-execution without contention. However, existing MIG schedulers remain limited to static or task-agnostic methods that sacrifice optimality for tractability. This paper presents a Deep Reinforcement Learning framework that seeks to minimize the completion time of a task queue by holistically addressing the dimensions of the problem: task molding, GPU reconfiguration and execution order. To manage the vast solution space, we apply optimizations such as discrete and canonical representation of states, unification of equivalent configurations, action masking, or promoting the exploration of reconfigurations; this offers insights for similar resource management scenarios. The proposed models are extensively evaluated with widely used benchmarks of the Rodinia and Altis suites, and synthetic workloads generated to emulate a wide range of plausible real situations. The final model improves to the state-of-the-art, especially in workloads that clearly contradict the assumptions of previous proposals, achieving a difference of less than 20% to the optimum. Additionally, two different approaches to the problem are faced (offline vs. online), discussing their theoretical advantages and disadvantages, and evaluating them experimentally for the final model.engAttribution-NonCommercial 4.0 Internationalhttp://creativecommons.org/licenses/by-nc/4.0/Solving the task scheduling and GPU reconfiguration problem on MIG devices via deep reinforcement learningjournal article1872-7115https://dx.doi.org/10.1016/j.future.2025.108145https://www.sciencedirect.com/science/article/pii/S0167739X2500439X?via%3Dihubopen access004Multi-Instance GPU (MIG)Moldable resource managementDeep reinforcement learningTask schedulingInformática (Informática)1203.17 Informática