
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7785472
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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.872, | |
"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.18045166015625, | |
"mean": 7.18045166015625, | |
"stdev": 0.0, | |
"p50": 7.18045166015625, | |
"p90": 7.18045166015625, | |
"p95": 7.18045166015625, | |
"p99": 7.18045166015625, | |
"values": [ | |
7.18045166015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.63415002822876e-07, | |
"ram": 4.576482501745242e-07, | |
"gpu": 1.7733347520000435e-06, | |
"total": 3.094398004997444e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.691264, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 0.9982257928848262, | |
"mean": 0.007130184234891619, | |
"stdev": 0.00020583981962876138, | |
"p50": 0.0070891518592834475, | |
"p90": 0.007225036764144897, | |
"p95": 0.00772014091014862, | |
"p99": 0.007907111897468566, | |
"values": [ | |
0.007871488094329833, | |
0.007929887771606445, | |
0.007779327869415284, | |
0.00785920000076294, | |
0.007718912124633789, | |
0.00774348783493042, | |
0.007825407981872558, | |
0.008042495727539062, | |
0.007019519805908203, | |
0.0068392958641052244, | |
0.0068249602317810056, | |
0.006802432060241699, | |
0.007004159927368164, | |
0.006882239818572998, | |
0.0070266880989074704, | |
0.00693452787399292, | |
0.006974463939666748, | |
0.006905856132507324, | |
0.006856704235076904, | |
0.007688159942626953, | |
0.007124959945678711, | |
0.007196671962738037, | |
0.007176191806793213, | |
0.007158783912658692, | |
0.007259136199951172, | |
0.007088128089904785, | |
0.007161856174468994, | |
0.007170048236846924, | |
0.007203839778900147, | |
0.007156735897064209, | |
0.007177152156829834, | |
0.007155712127685547, | |
0.007260159969329834, | |
0.007172095775604248, | |
0.007152607917785644, | |
0.007111743927001953, | |
0.007160831928253173, | |
0.007142335891723633, | |
0.007175168037414551, | |
0.007161856174468994, | |
0.007112703800201416, | |
0.007160831928253173, | |
0.007160831928253173, | |
0.007176191806793213, | |
0.007028736114501953, | |
0.007036928176879883, | |
0.007068672180175781, | |
0.007053311824798584, | |
0.007070720195770264, | |
0.007000063896179199, | |
0.00704307222366333, | |
0.0070553598403930665, | |
0.007023615837097168, | |
0.0069928960800170895, | |
0.007166975975036621, | |
0.0071485438346862796, | |
0.0071495680809020995, | |
0.007208960056304932, | |
0.0071198720932006835, | |
0.0071485438346862796, | |
0.007147520065307617, | |
0.007155712127685547, | |
0.007166975975036621, | |
0.0070860800743103025, | |
0.007180287837982178, | |
0.0071495680809020995, | |
0.007157760143280029, | |
0.007097343921661377, | |
0.007023615837097168, | |
0.007060480117797851, | |
0.007060480117797851, | |
0.007039999961853028, | |
0.0069959678649902345, | |
0.007047167778015137, | |
0.007073791980743408, | |
0.00722431993484497, | |
0.007231488227844239, | |
0.007195648193359375, | |
0.007072768211364746, | |
0.007113728046417236, | |
0.007030784130096435, | |
0.007003232002258301, | |
0.0070563840866088865, | |
0.0070891518592834475, | |
0.007018496036529541, | |
0.007036928176879883, | |
0.007018496036529541, | |
0.007036928176879883, | |
0.007036928176879883, | |
0.007217152118682861, | |
0.007066624164581299, | |
0.007126016139984131, | |
0.007173056125640869, | |
0.007153664112091064, | |
0.007168032169342041, | |
0.00709939193725586, | |
0.007147520065307617, | |
0.0072765440940856935, | |
0.007203839778900147, | |
0.007104512214660645, | |
0.007087103843688965, | |
0.007126016139984131, | |
0.0071188478469848635, | |
0.007135231971740722, | |
0.0069959678649902345, | |
0.006980607986450196, | |
0.007039999961853028, | |
0.007005184173583984, | |
0.006945792198181152, | |
0.007004159927368164, | |
0.0070266880989074704, | |
0.007050240039825439, | |
0.0070522880554199216, | |
0.0070891518592834475, | |
0.007000063896179199, | |
0.007004159927368164, | |
0.007135263919830322, | |
0.007088128089904785, | |
0.007096320152282715, | |
0.007105535984039306, | |
0.007124991893768311, | |
0.007067647933959961, | |
0.007096320152282715, | |
0.007024640083312988, | |
0.007024640083312988, | |
0.0070256638526916505, | |
0.006939648151397705, | |
0.007002111911773682, | |
0.007001023769378662, | |
0.006988800048828125, | |
0.007031807899475098, | |
0.007035903930664063, | |
0.0069918718338012695, | |
0.0069918718338012695, | |
0.006973440170288086, | |
0.007011328220367432, | |
0.007035903930664063, | |
0.00738918399810791, | |
0.007135231971740722, | |
0.007080992221832275 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.2488304729198 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.340891398174662e-08, | |
"ram": 4.560126348917732e-08, | |
"gpu": 1.701096822535214e-07, | |
"total": 2.991198597244454e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3343141.4447747404 | |
} | |
} | |
} | |
} |