ClearML Auto_Scaler Incorrectly Calling spin_up_worker
Author: jjtj308Created Jul 23, 2026Updated Aug 9, 2026
Labelsbug
Describe the bug
When clearml/automation/auto_scaler.py calls clearml/automation/aws_driver.py's spin_up_worker function, it uses an incorrect parameter name.
Pretty sure the fix would just be changing resource=resource_conf to resource_conf=resource_conf in line 339 of auto_scaler.py, as aws_driver.py expects a resource_conf parameter. This appears to have been introduced in the last commit, as before the parameters were not explicitly named.
To reproduce
Attempt running an aws autoscaler on the current version of ClearML (7-23-2026)
Expected behaviour
When autoscaler attempts to spin up a worker, it should successfully do so.
Environment
- Server Type: self hosted
- ClearML SDK Version 2.1.10
- ClearML Server Version: 3.24.1
- Python Version: 3.12
- OS: Linux
Source: clearml/clearml