
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f701f89
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.18496, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 1.000391453266144, | |
"mean": 0.00685199625524756, | |
"stdev": 0.00022519576510861026, | |
"p50": 0.006905855894088745, | |
"p90": 0.0071121759414672844, | |
"p95": 0.007173120021820068, | |
"p99": 0.007429683113098145, | |
"values": [ | |
0.007387135982513428, | |
0.007117824077606201, | |
0.007131135940551757, | |
0.007139328002929687, | |
0.007223296165466309, | |
0.007235583782196045, | |
0.007201791763305664, | |
0.00714035177230835, | |
0.007116767883300781, | |
0.007005184173583984, | |
0.007035903930664063, | |
0.007053376197814942, | |
0.0069324798583984375, | |
0.006866943836212158, | |
0.006904831886291504, | |
0.006973440170288086, | |
0.007028736114501953, | |
0.007016448020935059, | |
0.0070266880989074704, | |
0.007020544052124023, | |
0.00693452787399292, | |
0.0070225920677185055, | |
0.00704307222366333, | |
0.0070563840866088865, | |
0.007023615837097168, | |
0.007145472049713135, | |
0.007023615837097168, | |
0.0070266880989074704, | |
0.006998015880584717, | |
0.006960127830505371, | |
0.006958079814910889, | |
0.006956031799316406, | |
0.007051263809204102, | |
0.006951935768127441, | |
0.0069918398857116695, | |
0.0069959678649902345, | |
0.007054336071014404, | |
0.0071485438346862796, | |
0.007074816226959229, | |
0.007053311824798584, | |
0.007181312084197998, | |
0.007007232189178467, | |
0.007086175918579102, | |
0.007031807899475098, | |
0.007019519805908203, | |
0.00692633581161499, | |
0.006938623905181885, | |
0.007012415885925293, | |
0.006990848064422607, | |
0.007107583999633789, | |
0.006910975933074951, | |
0.007020544052124023, | |
0.006944767951965332, | |
0.006949888229370117, | |
0.006956031799316406, | |
0.006978559970855713, | |
0.0069550080299377445, | |
0.007069695949554444, | |
0.007027711868286133, | |
0.007098368167877197, | |
0.006985727787017822, | |
0.007012351989746094, | |
0.006896575927734375, | |
0.00704204797744751, | |
0.006986752033233643, | |
0.007016448020935059, | |
0.006866943836212158, | |
0.006755328178405762, | |
0.006891456127166748, | |
0.006906879901885986, | |
0.0066406397819519045, | |
0.006626304149627686, | |
0.006638527870178223, | |
0.00669593620300293, | |
0.006781951904296875, | |
0.0068351998329162595, | |
0.006667263984680176, | |
0.006834176063537598, | |
0.007008255958557129, | |
0.007028736114501953, | |
0.007457791805267334, | |
0.006825984001159668, | |
0.006720448017120361, | |
0.006680575847625733, | |
0.006676479816436768, | |
0.006668288230895996, | |
0.006656000137329102, | |
0.0066078720092773435, | |
0.0066713600158691405, | |
0.006667263984680176, | |
0.006620160102844238, | |
0.006672383785247803, | |
0.0066293439865112306, | |
0.0066273918151855465, | |
0.006621183872222901, | |
0.006638591766357422, | |
0.006617087841033936, | |
0.006622208118438721, | |
0.0066304001808166506, | |
0.006628352165222168, | |
0.0074997758865356446, | |
0.00703385591506958, | |
0.006680575847625733, | |
0.006657023906707763, | |
0.006665215969085693, | |
0.0066641921997070315, | |
0.006560768127441406, | |
0.0065669121742248536, | |
0.006603775978088379, | |
0.006576128005981445, | |
0.006706111907958985, | |
0.00657919979095459, | |
0.00657203197479248, | |
0.006560768127441406, | |
0.006715392112731934, | |
0.006645760059356689, | |
0.006650847911834717, | |
0.007395328044891358, | |
0.00702675199508667, | |
0.0067092800140380856, | |
0.00656876802444458, | |
0.006526976108551025, | |
0.006913119792938232, | |
0.006952960014343262, | |
0.006661119937896728, | |
0.006592512130737305, | |
0.006684671878814697, | |
0.006614016056060791, | |
0.006608895778656006, | |
0.006616064071655273, | |
0.006612991809844971, | |
0.006515711784362793, | |
0.006582272052764892, | |
0.006562816143035889, | |
0.0065710082054138185, | |
0.006590464115142822, | |
0.006585343837738037, | |
0.006600639820098877, | |
0.006624256134033203, | |
0.00657203197479248, | |
0.006560768127441406, | |
0.006545407772064209, | |
0.006562816143035889, | |
0.006592512130737305, | |
0.006575104236602783, | |
0.0066304001808166506 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.94287018679498 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.742184172633063e-08, | |
"ram": 4.2251795691429704e-08, | |
"gpu": 1.3506504311688168e-07, | |
"total": 2.54738680534642e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3925591.503815651 | |
} | |
} | |
} | |
} |