
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
743460e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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-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.34.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 799.834112, | |
"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.8667509765625, | |
"mean": 7.8667509765625, | |
"stdev": 0.0, | |
"p50": 7.8667509765625, | |
"p90": 7.8667509765625, | |
"p95": 7.8667509765625, | |
"p99": 7.8667509765625, | |
"values": [ | |
7.8667509765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.238619541668985e-07, | |
"ram": 4.6324608645141225e-07, | |
"gpu": 1.548056794000146e-06, | |
"total": 2.935164834618457e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.564736, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.002677695274353, | |
"mean": 0.007596043146017826, | |
"stdev": 0.0004537093049689842, | |
"p50": 0.007549952030181885, | |
"p90": 0.00763105297088623, | |
"p95": 0.007710315227508545, | |
"p99": 0.010351206302642822, | |
"values": [ | |
0.010590208053588868, | |
0.010363903999328614, | |
0.010322943687438964, | |
0.008053759574890136, | |
0.00770249605178833, | |
0.007675903797149658, | |
0.007605247974395752, | |
0.008141823768615723, | |
0.007363552093505859, | |
0.007332863807678222, | |
0.007366591930389404, | |
0.007448575973510742, | |
0.007341055870056152, | |
0.007160799980163574, | |
0.007520256042480469, | |
0.007193600177764893, | |
0.007187456130981445, | |
0.0071905279159545895, | |
0.007120895862579346, | |
0.007132160186767578, | |
0.007173120021820068, | |
0.007227392196655274, | |
0.0071485438346862796, | |
0.00714137601852417, | |
0.007576608180999756, | |
0.007681951999664306, | |
0.007584767818450928, | |
0.007606272220611572, | |
0.0075980801582336424, | |
0.007600128173828125, | |
0.007589888095855713, | |
0.00759603214263916, | |
0.007520256042480469, | |
0.007556096076965332, | |
0.007549952030181885, | |
0.007599103927612305, | |
0.007550975799560547, | |
0.007575551986694336, | |
0.007549952030181885, | |
0.007549952030181885, | |
0.007558144092559814, | |
0.007638016223907471, | |
0.007510975837707519, | |
0.007574528217315674, | |
0.007565311908721924, | |
0.007550975799560547, | |
0.007559167861938477, | |
0.007553023815155029, | |
0.007541759967803955, | |
0.007555071830749512, | |
0.007539711952209473, | |
0.007517183780670166, | |
0.007542784214019775, | |
0.007552000045776367, | |
0.007529471874237061, | |
0.007574495792388916, | |
0.007550975799560547, | |
0.007566336154937744, | |
0.0075673599243164065, | |
0.0075673599243164065, | |
0.007579648017883301, | |
0.007631872177124023, | |
0.007623680114746094, | |
0.007585792064666748, | |
0.007562240123748779, | |
0.00753766393661499, | |
0.007593023777008057, | |
0.007639039993286132, | |
0.007577600002288819, | |
0.0075673599243164065, | |
0.007525375843048096, | |
0.007621632099151611, | |
0.0075632638931274416, | |
0.007544832229614258, | |
0.007572480201721191, | |
0.007599103927612305, | |
0.007572415828704834, | |
0.007574528217315674, | |
0.00753868818283081, | |
0.007573503971099854, | |
0.0075560641288757325, | |
0.00753868818283081, | |
0.007582719802856445, | |
0.007565311908721924, | |
0.007527423858642578, | |
0.007535615921020508, | |
0.007528384208679199, | |
0.007535615921020508, | |
0.007519167900085449, | |
0.007561215877532959, | |
0.007506944179534912, | |
0.007719871997833252, | |
0.007556096076965332, | |
0.007559167861938477, | |
0.007511040210723877, | |
0.007656447887420655, | |
0.007552000045776367, | |
0.007619584083557129, | |
0.007526400089263916, | |
0.007524352073669433, | |
0.007493631839752197, | |
0.007531519889831543, | |
0.007502848148345947, | |
0.007560192108154297, | |
0.007525375843048096, | |
0.007532544136047363, | |
0.007535615921020508, | |
0.00753868818283081, | |
0.007555071830749512, | |
0.007520256042480469, | |
0.00749567985534668, | |
0.007507904052734375, | |
0.0074997758865356446, | |
0.0075008001327514645, | |
0.007502848148345947, | |
0.007555071830749512, | |
0.0075049281120300295, | |
0.007526400089263916, | |
0.007478271961212158, | |
0.007517183780670166, | |
0.007522304058074952, | |
0.007518208026885987, | |
0.007507967948913574, | |
0.007531519889831543, | |
0.007520256042480469, | |
0.007546879768371582, | |
0.007518208026885987, | |
0.0075008001327514645, | |
0.007526400089263916, | |
0.007521279811859131, | |
0.0074926080703735356, | |
0.007915520191192627 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.64748814311872 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.877624120542962e-08, | |
"ram": 4.854012163597355e-08, | |
"gpu": 1.5776339320895888e-07, | |
"total": 2.9507975605036207e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3388914.283327953 | |
} | |
} | |
} | |
} |