
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3decafb
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.139456, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3811669921875, | |
"mean": 7.3811669921875, | |
"stdev": 0.0, | |
"p50": 7.3811669921875, | |
"p90": 7.3811669921875, | |
"p95": 7.3811669921875, | |
"p99": 7.3811669921875, | |
"values": [ | |
7.3811669921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0473713458332492e-06, | |
"ram": 5.58446824692091e-07, | |
"gpu": 1.7758347539997311e-06, | |
"total": 3.3816529245250716e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.349248, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9992037110328673, | |
"mean": 0.007086551142077074, | |
"stdev": 0.00027929967217216385, | |
"p50": 0.0071526398658752445, | |
"p90": 0.007324672222137451, | |
"p95": 0.007432191848754883, | |
"p99": 0.008040435409545896, | |
"values": [ | |
0.007432191848754883, | |
0.007461887836456299, | |
0.007344128131866455, | |
0.007324672222137451, | |
0.007279615879058838, | |
0.007299071788787842, | |
0.007442431926727295, | |
0.00764415979385376, | |
0.007515135765075683, | |
0.007269375801086426, | |
0.007268352031707764, | |
0.007326720237731933, | |
0.007214079856872559, | |
0.007342080116271973, | |
0.007256063938140869, | |
0.007387135982513428, | |
0.0072837119102478025, | |
0.006949888229370117, | |
0.006896639823913574, | |
0.006922239780426025, | |
0.006855743885040283, | |
0.006906879901885986, | |
0.006966271877288818, | |
0.007326720237731933, | |
0.007819231986999511, | |
0.007311359882354736, | |
0.007266304016113281, | |
0.007324672222137451, | |
0.007187456130981445, | |
0.007227392196655274, | |
0.007206912040710449, | |
0.007237631797790528, | |
0.007194623947143554, | |
0.007164927959442138, | |
0.007112703800201416, | |
0.007194623947143554, | |
0.0071905279159545895, | |
0.007214079856872559, | |
0.007216127872467041, | |
0.007162879943847656, | |
0.007214079856872559, | |
0.007275519847869873, | |
0.0072427520751953125, | |
0.0072325119972229, | |
0.007223296165466309, | |
0.00719974422454834, | |
0.007207935810089112, | |
0.007231488227844239, | |
0.007287807941436767, | |
0.007259071826934815, | |
0.007192575931549072, | |
0.007221248149871826, | |
0.007196671962738037, | |
0.007163904190063477, | |
0.007219200134277344, | |
0.007187456130981445, | |
0.007243775844573975, | |
0.007288832187652588, | |
0.008514559745788575, | |
0.008187904357910156, | |
0.0072130560874938965, | |
0.007196671962738037, | |
0.007247871875762939, | |
0.007238656044006348, | |
0.007287807941436767, | |
0.007285759925842285, | |
0.007367616176605225, | |
0.007282688140869141, | |
0.007274496078491211, | |
0.007264256000518799, | |
0.0072130560874938965, | |
0.007233535766601563, | |
0.007222271919250488, | |
0.007154687881469727, | |
0.007223296165466309, | |
0.0071526398658752445, | |
0.007160831928253173, | |
0.007130112171173096, | |
0.0070266880989074704, | |
0.00714035177230835, | |
0.007069695949554444, | |
0.00693452787399292, | |
0.006854656219482422, | |
0.006959136009216309, | |
0.006966271877288818, | |
0.007073791980743408, | |
0.007066624164581299, | |
0.007038976192474365, | |
0.007049215793609619, | |
0.007207935810089112, | |
0.007047167778015137, | |
0.006689792156219483, | |
0.00662937593460083, | |
0.006998015880584717, | |
0.006995935916900634, | |
0.006924287796020508, | |
0.006924287796020508, | |
0.006918144226074219, | |
0.0068392958641052244, | |
0.006846464157104492, | |
0.007073791980743408, | |
0.007123968124389648, | |
0.006906879901885986, | |
0.006889472007751465, | |
0.0068915200233459475, | |
0.006790143966674805, | |
0.006864895820617676, | |
0.006812672138214112, | |
0.006812672138214112, | |
0.006854656219482422, | |
0.006851583957672119, | |
0.00682700777053833, | |
0.006823935985565186, | |
0.006801407814025879, | |
0.006779903888702392, | |
0.0068321280479431154, | |
0.006829055786132812, | |
0.006820864200592041, | |
0.006847487926483154, | |
0.006830080032348633, | |
0.0068351998329162595, | |
0.0069212160110473635, | |
0.006806528091430664, | |
0.006806528091430664, | |
0.006808576107025147, | |
0.006848512172698974, | |
0.006822912216186523, | |
0.00683619213104248, | |
0.006751232147216797, | |
0.006778880119323731, | |
0.006429696083068847, | |
0.006481919765472412, | |
0.00677785587310791, | |
0.006717440128326416, | |
0.006723584175109864, | |
0.006719488143920899, | |
0.006718463897705078, | |
0.006750207901000976, | |
0.006719488143920899, | |
0.006792191982269287, | |
0.006806528091430664 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.11236622034724 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.027537439001165e-08, | |
"ram": 4.388655988092651e-08, | |
"gpu": 1.542193425945914e-07, | |
"total": 2.7838127686552956e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3592195.6076199915 | |
} | |
} | |
} | |
} |