
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
00b006f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"latency": true, | |
"memory": true, | |
"energy": true, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 909.422592, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9987972168922419, | |
"mean": 0.007509753510467988, | |
"stdev": 0.00022510385072034792, | |
"p50": 0.007432191848754883, | |
"p90": 0.007788339138031006, | |
"p95": 0.007963238334655762, | |
"p99": 0.008163246002197266, | |
"values": [ | |
0.008229887962341309, | |
0.007968768119812012, | |
0.00811520004272461, | |
0.008017919540405273, | |
0.007897088050842285, | |
0.007732223987579345, | |
0.007783423900604248, | |
0.007808000087738037, | |
0.00785920000076294, | |
0.007739391803741455, | |
0.007621632099151611, | |
0.007602176189422607, | |
0.0074403839111328125, | |
0.00764518404006958, | |
0.0077506561279296875, | |
0.00769536018371582, | |
0.007614463806152344, | |
0.007527423858642578, | |
0.007685120105743408, | |
0.007667712211608887, | |
0.007789567947387695, | |
0.0076984319686889645, | |
0.007654399871826172, | |
0.007714816093444824, | |
0.007693312168121338, | |
0.00758784008026123, | |
0.007377920150756836, | |
0.007420928001403809, | |
0.00760319995880127, | |
0.007621632099151611, | |
0.007758848190307617, | |
0.007772160053253174, | |
0.007822336196899414, | |
0.007959551811218261, | |
0.007672832012176513, | |
0.007643136024475097, | |
0.007775231838226319, | |
0.007661568164825439, | |
0.007685120105743408, | |
0.007559167861938477, | |
0.007614463806152344, | |
0.007580671787261963, | |
0.008041472434997558, | |
0.00759500789642334, | |
0.007432191848754883, | |
0.007498752117156982, | |
0.007737343788146973, | |
0.0075038719177246095, | |
0.007396351814270019, | |
0.0074711041450500485, | |
0.007463935852050781, | |
0.007463935852050781, | |
0.007423999786376953, | |
0.007409664154052734, | |
0.007342080116271973, | |
0.007582719802856445, | |
0.007602176189422607, | |
0.007526400089263916, | |
0.007437312126159668, | |
0.007612448215484619, | |
0.007596096038818359, | |
0.007386112213134765, | |
0.007341055870056152, | |
0.007258111953735351, | |
0.0073144640922546385, | |
0.007505856037139893, | |
0.008185855865478516, | |
0.0075980801582336424, | |
0.007704576015472412, | |
0.00787660789489746, | |
0.007557087898254394, | |
0.008068096160888672, | |
0.007402495861053467, | |
0.007154687881469727, | |
0.007107583999633789, | |
0.007104512214660645, | |
0.007072768211364746, | |
0.007120895862579346, | |
0.007071680068969727, | |
0.007200767993927002, | |
0.00738099193572998, | |
0.00737171220779419, | |
0.00738099193572998, | |
0.00749567985534668, | |
0.007362624168395996, | |
0.007324672222137451, | |
0.007358463764190673, | |
0.007318528175354004, | |
0.007358463764190673, | |
0.007331840038299561, | |
0.007341055870056152, | |
0.007340991973876953, | |
0.007360511779785156, | |
0.007341055870056152, | |
0.007449600219726562, | |
0.007346176147460938, | |
0.007363584041595459, | |
0.00733900785446167, | |
0.007381984233856201, | |
0.007350272178649903, | |
0.00733900785446167, | |
0.007362527847290039, | |
0.007366655826568603, | |
0.007361536026000977, | |
0.007372799873352051, | |
0.007379968166351319, | |
0.0073994240760803225, | |
0.007328767776489258, | |
0.007355391979217529, | |
0.007352320194244385, | |
0.007351295948028564, | |
0.007336959838867187, | |
0.007341055870056152, | |
0.007290880203247071, | |
0.007355391979217529, | |
0.007360479831695557, | |
0.007393280029296875, | |
0.007377920150756836, | |
0.007374847888946533, | |
0.007346176147460938, | |
0.007352320194244385, | |
0.0073697280883789065, | |
0.0073820481300354, | |
0.007375872135162354, | |
0.007390207767486572, | |
0.007362559795379638, | |
0.0074414081573486324, | |
0.007372831821441651, | |
0.007388160228729248, | |
0.007342080116271973, | |
0.007435264110565186, | |
0.007425055980682373, | |
0.007478271961212158 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.1601627944354 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.5081033526905e-08, | |
"ram": 4.639237818240361e-08, | |
"gpu": 1.6363703567142808e-07, | |
"total": 2.951104473807367e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3388561.8380356766 | |
} | |
} | |
} | |
} |