nextflow-io/nf-co2footprint

Missing chips / CPUs / GPUs

Aperta

#190 aperta il 30 apr 2025

 (4 commenti) (0 reazioni) (0 assegnatari)Groovy (12 fork)auto 404
good first issue💎 enhancement🪲 bug

Metriche repository

Star
 (27 stelle)
Metriche merge PR
 (Merge medio 17g 19h) (8 PR mergiate in 30 g)

Descrizione

Describe the bug

The chip was not automatically matched to a TDP value.

What happened?

I received an error and the value fell back to default.

What should have happened?

The correct TDP value should have been automatically inferred.

Reproduction of the problem

def 'Should match model' () {
        setup:
        String modelName = 'THE MODEL NAME'
        Matrix model = new TDPDataMatrix(
                [
                        [42, 10**3, 2*10**3],
                ],
                ['tdp (W)', 'cores', 'threads'] as LinkedHashSet,
                [modelName] as LinkedHashSet,
        )

        when:
        DataMatrix modelRes = df.matchModel(modelName)

        then:
        modelRes == model
        modelRes.get(0, "tdp (W)", true) == 42
    }

In what computing environment did the problem occur?

  • Plugin version: 1.0.0 onwards

Guida contributor