
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dab202b
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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"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.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.822848, | |
"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.25087109375, | |
"mean": 7.25087109375, | |
"stdev": 0.0, | |
"p50": 7.25087109375, | |
"p90": 7.25087109375, | |
"p95": 7.25087109375, | |
"p99": 7.25087109375, | |
"values": [ | |
7.25087109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.133189916610719e-07, | |
"ram": 4.66483206129548e-07, | |
"gpu": 1.8394459159985777e-06, | |
"total": 3.2192481137891975e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.617536, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9973944358825682, | |
"mean": 0.006974786264913066, | |
"stdev": 0.00027905181645499107, | |
"p50": 0.006876095771789551, | |
"p90": 0.007228415966033935, | |
"p95": 0.007504281616210938, | |
"p99": 0.007852769231796265, | |
"values": [ | |
0.007823359966278077, | |
0.007867392063140868, | |
0.007832575798034667, | |
0.007580480098724365, | |
0.00757862377166748, | |
0.0077844481468200685, | |
0.008472576141357421, | |
0.007263232231140137, | |
0.00687820816040039, | |
0.0068249602317810056, | |
0.006871039867401123, | |
0.006952960014343262, | |
0.006930431842803955, | |
0.006797311782836914, | |
0.006846464157104492, | |
0.006840320110321045, | |
0.006719488143920899, | |
0.006751232147216797, | |
0.0068280320167541505, | |
0.006773759841918945, | |
0.006903808116912841, | |
0.006762495994567871, | |
0.006894656181335449, | |
0.006916959762573242, | |
0.006776832103729248, | |
0.006751232147216797, | |
0.006747136116027832, | |
0.0067645440101623535, | |
0.006737919807434082, | |
0.00675219202041626, | |
0.006731776237487793, | |
0.006882304191589355, | |
0.006816768169403077, | |
0.0068884482383728025, | |
0.006843391895294189, | |
0.0068249602317810056, | |
0.0068321280479431154, | |
0.006797311782836914, | |
0.006939648151397705, | |
0.006937600135803222, | |
0.006793216228485107, | |
0.006804480075836182, | |
0.006737823963165283, | |
0.006767615795135498, | |
0.00675328016281128, | |
0.0068392958641052244, | |
0.006766592025756836, | |
0.006822912216186523, | |
0.006763519763946534, | |
0.006716415882110595, | |
0.006700032234191895, | |
0.006724639892578125, | |
0.00672870397567749, | |
0.006702079772949219, | |
0.006937600135803222, | |
0.006920191764831543, | |
0.006732800006866455, | |
0.006723584175109864, | |
0.006729728221893311, | |
0.00676966381072998, | |
0.006749184131622315, | |
0.0067645440101623535, | |
0.006749184131622315, | |
0.006749184131622315, | |
0.006717440128326416, | |
0.006751232147216797, | |
0.006761472225189209, | |
0.006876095771789551, | |
0.006952960014343262, | |
0.007024608135223389, | |
0.0069918718338012695, | |
0.0067983360290527345, | |
0.00681279993057251, | |
0.006812479972839356, | |
0.006796288013458252, | |
0.006907904148101806, | |
0.006860799789428711, | |
0.0067922878265380855, | |
0.0067983360290527345, | |
0.00679423999786377, | |
0.0068392958641052244, | |
0.00678384017944336, | |
0.006823935985565186, | |
0.006796288013458252, | |
0.006830143928527832, | |
0.006933504104614257, | |
0.007001088142395019, | |
0.006790143966674805, | |
0.006767615795135498, | |
0.006788095951080322, | |
0.006829055786132812, | |
0.006776800155639648, | |
0.0067717118263244626, | |
0.006895552158355713, | |
0.006707200050354004, | |
0.006711296081542969, | |
0.00673689603805542, | |
0.006711296081542969, | |
0.0067042880058288574, | |
0.007105535984039306, | |
0.007321599960327148, | |
0.007198719978332519, | |
0.00732041597366333, | |
0.0072202239036560055, | |
0.007171072006225586, | |
0.007178239822387696, | |
0.007154496192932129, | |
0.007211008071899414, | |
0.007113728046417236, | |
0.007138304233551026, | |
0.0071782078742980955, | |
0.007093152046203613, | |
0.007160831928253173, | |
0.00713318395614624, | |
0.007198719978332519, | |
0.007230463981628418, | |
0.007415808200836181, | |
0.007126048088073731, | |
0.007070720195770264, | |
0.007171072006225586, | |
0.007514111995697022, | |
0.00709222412109375, | |
0.0073348798751831056, | |
0.007104576110839844, | |
0.007104512214660645, | |
0.007187456130981445, | |
0.007088128089904785, | |
0.007085055828094483, | |
0.007086912155151367, | |
0.007117824077606201, | |
0.007215104103088379, | |
0.00721724796295166, | |
0.007090303897857666, | |
0.007041024208068848, | |
0.007079808235168457, | |
0.007098368167877197, | |
0.007361536026000977, | |
0.007132160186767578, | |
0.007088128089904785, | |
0.007180287837982178, | |
0.007150591850280762, | |
0.007192575931549072, | |
0.007107583999633789 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.37356902684445 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.289243884112545e-08, | |
"ram": 4.531651757282128e-08, | |
"gpu": 1.6240883233566334e-07, | |
"total": 2.906177887496101e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3440945.5949084316 | |
} | |
} | |
} | |
} |