IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1e91be2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": false, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "2d3261cf9b992810a685ce736f41254a91cd091e", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1005.867008, | |
"max_global_vram": 898.47808, | |
"max_process_vram": 218933.284864, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9991743364334102, | |
"mean": 0.007512588995739929, | |
"stdev": 0.0003207846587929703, | |
"p50": 0.007383348941802978, | |
"p90": 0.00788853187561035, | |
"p95": 0.00823525161743164, | |
"p99": 0.008366124954223633, | |
"values": [ | |
0.007864148139953613, | |
0.0074025487899780276, | |
0.007426389217376709, | |
0.007471028804779053, | |
0.007604628086090088, | |
0.00754750919342041, | |
0.007544628143310547, | |
0.007523348808288574, | |
0.007529748916625977, | |
0.007440468788146973, | |
0.007399028778076172, | |
0.007434069156646728, | |
0.0074454288482666015, | |
0.00738398790359497, | |
0.007416308879852295, | |
0.007322868824005127, | |
0.007299028873443604, | |
0.007541429042816162, | |
0.007322709083557129, | |
0.007327668190002442, | |
0.007355188846588135, | |
0.007377589225769043, | |
0.0073507089614868164, | |
0.007509909152984619, | |
0.00743582820892334, | |
0.007391829013824463, | |
0.007398068904876709, | |
0.007324628829956055, | |
0.008200307846069337, | |
0.009608466148376465, | |
0.007309908866882324, | |
0.007427029132843018, | |
0.007235349178314209, | |
0.007300148963928223, | |
0.007340788841247559, | |
0.00733790922164917, | |
0.007352309226989746, | |
0.007592948913574218, | |
0.0073459091186523435, | |
0.007322709083557129, | |
0.007298708915710449, | |
0.007339669227600098, | |
0.007357268810272217, | |
0.007337109088897705, | |
0.007375349044799804, | |
0.007324628829956055, | |
0.007375188827514648, | |
0.007324789047241211, | |
0.007515509128570557, | |
0.007329588890075684, | |
0.007327029228210449, | |
0.007357109069824219, | |
0.007318229198455811, | |
0.007333428859710694, | |
0.007320629119873047, | |
0.007268788814544677, | |
0.007351189136505127, | |
0.007389109134674072, | |
0.007321428775787353, | |
0.007313748836517334, | |
0.007359669208526611, | |
0.0073102288246154785, | |
0.00734830904006958, | |
0.007323348999023437, | |
0.007827668190002442, | |
0.008315667152404786, | |
0.008324148178100586, | |
0.008355027198791503, | |
0.007858707904815673, | |
0.007389429092407226, | |
0.007378549098968506, | |
0.0073335890769958495, | |
0.007348789215087891, | |
0.007342389106750488, | |
0.0073662281036376955, | |
0.007346068859100342, | |
0.007329109191894531, | |
0.007338869094848633, | |
0.007419508934020996, | |
0.007401109218597412, | |
0.007402547836303711, | |
0.007378708839416504, | |
0.007356948852539062, | |
0.007383988857269287, | |
0.007412629127502441, | |
0.007367029190063477, | |
0.007411027908325195, | |
0.007383348941802978, | |
0.007605908870697021, | |
0.00760126781463623, | |
0.007392148971557617, | |
0.00735870885848999, | |
0.007385428905487061, | |
0.007335669040679932, | |
0.007379188060760498, | |
0.007363829135894775, | |
0.007375988960266113, | |
0.007335349082946778, | |
0.007362709045410156, | |
0.0073617491722106935, | |
0.007352309226989746, | |
0.007332949161529541, | |
0.007377267837524414, | |
0.007369268894195557, | |
0.00733246898651123, | |
0.007397109031677246, | |
0.008050228118896484, | |
0.008300626754760742, | |
0.0081115083694458, | |
0.007626388072967529, | |
0.007740468978881836, | |
0.007899669170379639, | |
0.007881107807159424, | |
0.007889907836914062, | |
0.008287667274475097, | |
0.008371347427368165, | |
0.008131987571716308, | |
0.007883028030395508, | |
0.007894067764282227, | |
0.007843987941741943, | |
0.007831668853759766, | |
0.007756467819213867, | |
0.007754067897796631, | |
0.007639029026031494, | |
0.007387349128723145, | |
0.007381109237670899, | |
0.007404308795928955, | |
0.007370549201965332, | |
0.007364949226379394, | |
0.007338708877563477, | |
0.007425908088684082, | |
0.007412468910217285, | |
0.007420787811279297 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.10990399808344 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |