
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2bef6ce
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.1", | |
"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": 787.013632, | |
"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.334158203125, | |
"mean": 7.334158203125, | |
"stdev": 0.0, | |
"p50": 7.334158203125, | |
"p90": 7.334158203125, | |
"p95": 7.334158203125, | |
"p99": 7.334158203125, | |
"values": [ | |
7.334158203125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.147629166670631e-07, | |
"ram": 4.856318971986962e-07, | |
"gpu": 1.7013902500000698e-06, | |
"total": 3.101785063865829e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.916864, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0004465932846065, | |
"mean": 0.00735622495062211, | |
"stdev": 0.00020041758641837655, | |
"p50": 0.007363583803176879, | |
"p90": 0.0074557440280914305, | |
"p95": 0.007614975929260254, | |
"p99": 0.00810934205055237, | |
"values": [ | |
0.008138719558715821, | |
0.008054783821105957, | |
0.00800767993927002, | |
0.00855446434020996, | |
0.007697408199310303, | |
0.0080250883102417, | |
0.007171072006225586, | |
0.007259136199951172, | |
0.007161856174468994, | |
0.007147520065307617, | |
0.007135231971740722, | |
0.007134208202362061, | |
0.0071526398658752445, | |
0.007163904190063477, | |
0.007137279987335205, | |
0.0071526398658752445, | |
0.00714137601852417, | |
0.0071413121223449704, | |
0.007162879943847656, | |
0.007171072006225586, | |
0.0071198720932006835, | |
0.0071526398658752445, | |
0.007139328002929687, | |
0.007135231971740722, | |
0.007136256217956543, | |
0.007124991893768311, | |
0.007138304233551026, | |
0.007168992042541504, | |
0.007154687881469727, | |
0.007123968124389648, | |
0.007110655784606934, | |
0.0071526398658752445, | |
0.007147520065307617, | |
0.007157760143280029, | |
0.007184383869171143, | |
0.007135200023651123, | |
0.007189504146575928, | |
0.007163904190063477, | |
0.0071485438346862796, | |
0.007146495819091797, | |
0.007121920108795166, | |
0.007134208202362061, | |
0.0072837119102478025, | |
0.00760319995880127, | |
0.00745472002029419, | |
0.007422976016998291, | |
0.007382976055145264, | |
0.007402495861053467, | |
0.007378943920135498, | |
0.007404543876647949, | |
0.007408639907836914, | |
0.007396351814270019, | |
0.007360511779785156, | |
0.007350272178649903, | |
0.007350272178649903, | |
0.007359488010406494, | |
0.007375872135162354, | |
0.007357439994812012, | |
0.007328767776489258, | |
0.007384064197540283, | |
0.007344128131866455, | |
0.007418879985809326, | |
0.007379968166351319, | |
0.007395328044891358, | |
0.00738099193572998, | |
0.00744755220413208, | |
0.007333856105804443, | |
0.007419904232025146, | |
0.007344128131866455, | |
0.007390207767486572, | |
0.007361536026000977, | |
0.007372799873352051, | |
0.007384064197540283, | |
0.00733900785446167, | |
0.007415808200836181, | |
0.007373824119567871, | |
0.00738099193572998, | |
0.007362559795379638, | |
0.007370751857757568, | |
0.007384064197540283, | |
0.007386047840118409, | |
0.007405632019042969, | |
0.007388160228729248, | |
0.007404543876647949, | |
0.007362559795379638, | |
0.007364607810974121, | |
0.007323647975921631, | |
0.007355391979217529, | |
0.00739737606048584, | |
0.007650303840637207, | |
0.00739628791809082, | |
0.007346176147460938, | |
0.007394271850585938, | |
0.00738099193572998, | |
0.007574528217315674, | |
0.0074741759300231934, | |
0.007459775924682617, | |
0.007456768035888672, | |
0.0075304961204528805, | |
0.007464992046356201, | |
0.007431168079376221, | |
0.00739737606048584, | |
0.0073820161819458, | |
0.007437312126159668, | |
0.007413760185241699, | |
0.007393280029296875, | |
0.007299071788787842, | |
0.007345151901245117, | |
0.007325695991516113, | |
0.007386112213134765, | |
0.007398399829864502, | |
0.007386112213134765, | |
0.007398399829864502, | |
0.007371776103973389, | |
0.007346176147460938, | |
0.00738099193572998, | |
0.007368703842163086, | |
0.00733900785446167, | |
0.007343167781829834, | |
0.007387135982513428, | |
0.007355391979217529, | |
0.007357439994812012, | |
0.007325695991516113, | |
0.007373824119567871, | |
0.007426047801971435, | |
0.007407616138458252, | |
0.007408607959747315, | |
0.007404543876647949, | |
0.007349247932434082, | |
0.007346176147460938, | |
0.007386112213134765, | |
0.007359488010406494, | |
0.007334911823272705, | |
0.0073400321006774905, | |
0.007373824119567871, | |
0.0073471999168395995 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.9392904257816 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.525528171962239e-08, | |
"ram": 4.657423002573633e-08, | |
"gpu": 1.6297175307913656e-07, | |
"total": 2.9480126482449525e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3392115.7041009725 | |
} | |
} | |
} | |
} |