
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
803635c
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"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": 788.127744, | |
"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.36315478515625, | |
"mean": 7.36315478515625, | |
"stdev": 0.0, | |
"p50": 7.36315478515625, | |
"p90": 7.36315478515625, | |
"p95": 7.36315478515625, | |
"p99": 7.36315478515625, | |
"values": [ | |
7.36315478515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.220628111112067e-07, | |
"ram": 4.605033291850878e-07, | |
"gpu": 1.6888902399998969e-06, | |
"total": 3.0714563802961912e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1083.772928, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.997318304538727, | |
"mean": 0.0074986338687122326, | |
"stdev": 0.0002554947089887334, | |
"p50": 0.007519328117370606, | |
"p90": 0.007877222347259521, | |
"p95": 0.00795750379562378, | |
"p99": 0.008155771980285645, | |
"values": [ | |
0.008013824462890624, | |
0.007839744091033935, | |
0.008195103645324707, | |
0.008057855606079101, | |
0.008072192192077637, | |
0.00788479995727539, | |
0.007878655910491944, | |
0.007900095939636231, | |
0.0076687359809875484, | |
0.00782643222808838, | |
0.007591936111450195, | |
0.007605247974395752, | |
0.007703551769256592, | |
0.007890944004058837, | |
0.00753766393661499, | |
0.007614463806152344, | |
0.007539711952209473, | |
0.00765231990814209, | |
0.0076360321044921875, | |
0.007507967948913574, | |
0.007579648017883301, | |
0.007589888095855713, | |
0.007571455955505371, | |
0.007614463806152344, | |
0.007575520038604736, | |
0.0077619199752807615, | |
0.0075345921516418455, | |
0.007522304058074952, | |
0.007591936111450195, | |
0.007624735832214355, | |
0.007541759967803955, | |
0.007473152160644531, | |
0.007463935852050781, | |
0.007541759967803955, | |
0.007568384170532226, | |
0.00753766393661499, | |
0.007539711952209473, | |
0.007548927783966064, | |
0.007584767818450928, | |
0.007641088008880615, | |
0.00764518404006958, | |
0.007616511821746826, | |
0.007532544136047363, | |
0.007497727870941162, | |
0.007546879768371582, | |
0.007600128173828125, | |
0.007574528217315674, | |
0.007522304058074952, | |
0.007574528217315674, | |
0.007524384021759033, | |
0.007505887985229492, | |
0.007497727870941162, | |
0.007494656085968018, | |
0.007629824161529541, | |
0.0074967041015625, | |
0.007488512039184571, | |
0.007498752117156982, | |
0.007518208026885987, | |
0.007520256042480469, | |
0.007505919933319092, | |
0.007506944179534912, | |
0.0075939841270446775, | |
0.007681024074554443, | |
0.0076451201438903806, | |
0.007613440036773681, | |
0.007642111778259277, | |
0.007480319976806641, | |
0.007540736198425293, | |
0.007519328117370606, | |
0.007489503860473633, | |
0.007572512149810791, | |
0.007442431926727295, | |
0.0074629120826721195, | |
0.0073431038856506346, | |
0.007301119804382325, | |
0.007457791805267334, | |
0.007355391979217529, | |
0.007144447803497315, | |
0.007158783912658692, | |
0.0076943359375, | |
0.007903232097625732, | |
0.007871488094329833, | |
0.007885824203491211, | |
0.00795750379562378, | |
0.00795750379562378, | |
0.007985151767730713, | |
0.008226816177368163, | |
0.0074280319213867185, | |
0.007180223941802979, | |
0.0072120318412780765, | |
0.007180287837982178, | |
0.007204864025115967, | |
0.007234560012817383, | |
0.007163904190063477, | |
0.007192575931549072, | |
0.007222271919250488, | |
0.007201791763305664, | |
0.007193600177764893, | |
0.007172095775604248, | |
0.007154687881469727, | |
0.007128064155578613, | |
0.007159776210784912, | |
0.007154687881469727, | |
0.007132160186767578, | |
0.007125984191894532, | |
0.007105535984039306, | |
0.007053311824798584, | |
0.007057407855987549, | |
0.007060480117797851, | |
0.007143424034118652, | |
0.007103424072265625, | |
0.0071495680809020995, | |
0.007103519916534424, | |
0.007138304233551026, | |
0.007121920108795166, | |
0.007130112171173096, | |
0.007137279987335205, | |
0.007091231822967529, | |
0.007126016139984131, | |
0.007530432224273681, | |
0.007504896163940429, | |
0.007492544174194336, | |
0.007476223945617676, | |
0.007502848148345947, | |
0.0074700798988342285, | |
0.007581632137298584, | |
0.007541759967803955, | |
0.007501823902130127, | |
0.007504896163940429, | |
0.00749567985534668, | |
0.007513088226318359, | |
0.007506944179534912, | |
0.007483391761779785 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.35762453644554 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.553599005795608e-08, | |
"ram": 4.675621152612215e-08, | |
"gpu": 1.6197055323741024e-07, | |
"total": 2.9426275482148847e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3398323.3814508393 | |
} | |
} | |
} | |
} |