
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4eed32a
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.2.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.365248, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 121, | |
"total": 0.9978018250465396, | |
"mean": 0.008246296074764787, | |
"stdev": 0.00015243157637053918, | |
"p50": 0.008186880111694337, | |
"p90": 0.008475647926330567, | |
"p95": 0.008537023544311524, | |
"p99": 0.008726732444763184, | |
"values": [ | |
0.008739839553833008, | |
0.008469504356384277, | |
0.008509440422058106, | |
0.008475647926330567, | |
0.008450048446655273, | |
0.008424448013305665, | |
0.00831488037109375, | |
0.008257535934448243, | |
0.008347583770751952, | |
0.008181759834289551, | |
0.00813158416748047, | |
0.00848793601989746, | |
0.008467455863952637, | |
0.008488960266113281, | |
0.008537023544311524, | |
0.008407039642333984, | |
0.008432640075683593, | |
0.008560640335083008, | |
0.008267775535583496, | |
0.00880947208404541, | |
0.008507391929626466, | |
0.008443903923034669, | |
0.008443903923034669, | |
0.008384511947631837, | |
0.008364031791687012, | |
0.008233951568603516, | |
0.008195072174072266, | |
0.008196096420288086, | |
0.008315903663635254, | |
0.008349696159362792, | |
0.008283136367797851, | |
0.008229887962341309, | |
0.008197152137756347, | |
0.008217599868774414, | |
0.008209407806396484, | |
0.008224767684936523, | |
0.008158207893371582, | |
0.008160256385803222, | |
0.008176639556884765, | |
0.008309760093688966, | |
0.008153087615966797, | |
0.008165375709533691, | |
0.008195072174072266, | |
0.008161279678344726, | |
0.008168448448181152, | |
0.008248319625854492, | |
0.008292351722717285, | |
0.008259584426879883, | |
0.008194047927856446, | |
0.008179712295532226, | |
0.008145919799804687, | |
0.008245247840881348, | |
0.008137727737426758, | |
0.0080250883102417, | |
0.00796569585800171, | |
0.008130559921264649, | |
0.008564736366271973, | |
0.008262656211853027, | |
0.008285183906555176, | |
0.00829030418395996, | |
0.008328191757202149, | |
0.008570879936218261, | |
0.008482815742492676, | |
0.008674304008483886, | |
0.008432640075683593, | |
0.008231936454772949, | |
0.008276991844177246, | |
0.00830361557006836, | |
0.00832102394104004, | |
0.00825449562072754, | |
0.008210432052612305, | |
0.008152064323425292, | |
0.008168448448181152, | |
0.008154111862182617, | |
0.008251392364501953, | |
0.008202176094055175, | |
0.00813158416748047, | |
0.008141823768615723, | |
0.008136704444885253, | |
0.008161279678344726, | |
0.008152064323425292, | |
0.008122367858886719, | |
0.008110079765319824, | |
0.008142848014831543, | |
0.008140800476074218, | |
0.008122367858886719, | |
0.00811520004272461, | |
0.008095744132995606, | |
0.008130559921264649, | |
0.008119296073913575, | |
0.008125439643859863, | |
0.008137727737426758, | |
0.008156160354614257, | |
0.008101887702941894, | |
0.0081080322265625, | |
0.008186880111694337, | |
0.008156160354614257, | |
0.008132608413696289, | |
0.00813158416748047, | |
0.008176639556884765, | |
0.008175616264343261, | |
0.008179712295532226, | |
0.008142848014831543, | |
0.00841215991973877, | |
0.008142848014831543, | |
0.008145919799804687, | |
0.008088576316833495, | |
0.00808448028564453, | |
0.008102911949157715, | |
0.0081080322265625, | |
0.008195136070251465, | |
0.008132543563842774, | |
0.008151040077209473, | |
0.008151040077209473, | |
0.008120320320129394, | |
0.00813158416748047, | |
0.008129535675048828, | |
0.008118271827697754, | |
0.008150015830993652, | |
0.008155136108398438, | |
0.008099840164184571 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 121.26656512615253 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.655850554977114e-08, | |
"ram": 5.2790875160376844e-08, | |
"gpu": 1.765584068292697e-07, | |
"total": 3.259077875394177e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3068352.577733518 | |
} | |
} | |
} | |
} |