from itertools import product

# ...

    # Generate all the possible rendering options (there's going to be a LOT)
    all_options = [NUM_THREADS, USE_COPY_PER_THREAD, NUM_SAMPLES, RAY_DEPTHS, RANDOM_SEEDS, SIZES]
    combinations = list(product(*all_options))