
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7353211
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_type": "roberta", | |
"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": {}, | |
"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, | |
"memory": true, | |
"latency": 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.43.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.88896, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.21167041015625, | |
"mean": 7.21167041015625, | |
"stdev": 0.0, | |
"p50": 7.21167041015625, | |
"p90": 7.21167041015625, | |
"p95": 7.21167041015625, | |
"p99": 7.21167041015625, | |
"values": [ | |
7.21167041015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.722952670521207e-07, | |
"ram": 4.6252467688551255e-07, | |
"gpu": 1.8230570139991797e-06, | |
"total": 3.1578769579368125e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.58944, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 1.0021221742630009, | |
"mean": 0.0070078473724685345, | |
"stdev": 0.00028890716388032866, | |
"p50": 0.007017471790313721, | |
"p90": 0.007202816009521484, | |
"p95": 0.007644979095458985, | |
"p99": 0.008005447425842286, | |
"values": [ | |
0.007988224029541016, | |
0.008017919540405273, | |
0.008132608413696289, | |
0.007942143917083741, | |
0.007889920234680176, | |
0.007841792106628418, | |
0.007012351989746094, | |
0.006879231929779053, | |
0.0068577280044555666, | |
0.006818816184997558, | |
0.0068055038452148435, | |
0.006838272094726563, | |
0.006790143966674805, | |
0.006822912216186523, | |
0.006811647891998291, | |
0.006821887969970703, | |
0.006778880119323731, | |
0.006822912216186523, | |
0.006813727855682373, | |
0.006759424209594727, | |
0.0067870721817016606, | |
0.006808544158935547, | |
0.006804480075836182, | |
0.006790143966674805, | |
0.006800384044647217, | |
0.006793216228485107, | |
0.006763519763946534, | |
0.006802432060241699, | |
0.006803423881530762, | |
0.006740992069244385, | |
0.0067717118263244626, | |
0.006773759841918945, | |
0.006838272094726563, | |
0.006897664070129395, | |
0.00679423999786377, | |
0.007986176013946533, | |
0.007658495903015137, | |
0.007523327827453613, | |
0.007161856174468994, | |
0.007099455833435059, | |
0.007142399787902832, | |
0.007096320152282715, | |
0.007226367950439453, | |
0.00709939193725586, | |
0.007097343921661377, | |
0.007101439952850342, | |
0.007096320152282715, | |
0.007124991893768311, | |
0.007068672180175781, | |
0.007095359802246094, | |
0.007090176105499267, | |
0.007164927959442138, | |
0.007144447803497315, | |
0.007110655784606934, | |
0.007135231971740722, | |
0.007106560230255127, | |
0.007186431884765625, | |
0.007109632015228271, | |
0.007111680030822754, | |
0.0073768959045410155, | |
0.007155712127685547, | |
0.007142399787902832, | |
0.00714137601852417, | |
0.007265279769897461, | |
0.007108607769012451, | |
0.007095295906066895, | |
0.007102464199066162, | |
0.007074816226959229, | |
0.007098368167877197, | |
0.007086048126220703, | |
0.007091135978698731, | |
0.007098368167877197, | |
0.007067647933959961, | |
0.007111680030822754, | |
0.007087103843688965, | |
0.007093279838562012, | |
0.007061503887176514, | |
0.007073791980743408, | |
0.00714243221282959, | |
0.007102464199066162, | |
0.007158783912658692, | |
0.007131135940551757, | |
0.007108575820922851, | |
0.007120895862579346, | |
0.007206912040710449, | |
0.007095295906066895, | |
0.007062528133392334, | |
0.007098368167877197, | |
0.007085055828094483, | |
0.007065599918365479, | |
0.007014400005340577, | |
0.007299071788787842, | |
0.007051263809204102, | |
0.007034815788269043, | |
0.007024640083312988, | |
0.007009280204772949, | |
0.007027711868286133, | |
0.007047167778015137, | |
0.007012351989746094, | |
0.006960127830505371, | |
0.007017471790313721, | |
0.006989823818206787, | |
0.007019519805908203, | |
0.006965248107910156, | |
0.007000063896179199, | |
0.006971392154693603, | |
0.006923264026641846, | |
0.006744063854217529, | |
0.006744063854217529, | |
0.006754335880279541, | |
0.006729728221893311, | |
0.006748159885406494, | |
0.006723584175109864, | |
0.006708223819732666, | |
0.006724607944488525, | |
0.0067420158386230465, | |
0.0067041277885437015, | |
0.006876160144805908, | |
0.0067358717918396, | |
0.006726655960083008, | |
0.007243775844573975, | |
0.006747136116027832, | |
0.006822912216186523, | |
0.0068249602317810056, | |
0.007130112171173096, | |
0.00704204797744751, | |
0.00689356803894043, | |
0.00693452787399292, | |
0.006949888229370117, | |
0.006718463897705078, | |
0.0067358717918396, | |
0.006703104019165039, | |
0.006711296081542969, | |
0.006730751991271973, | |
0.006702079772949219, | |
0.006732800006866455, | |
0.00675219202041626, | |
0.006631423950195312, | |
0.0066416640281677245, | |
0.006636544227600098, | |
0.006614016056060791, | |
0.0066713600158691405, | |
0.006659071922302246 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.69717173474157 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.4828357138331e-08, | |
"ram": 4.637669789314221e-08, | |
"gpu": 1.7178585171428313e-07, | |
"total": 3.0299090674575633e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3300429.081322606 | |
} | |
} | |
} | |
} |