
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
18402bc
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.225-213.878.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.312192, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.2004838409423828 | |
], | |
"count": 1, | |
"total": 0.2004838409423828, | |
"mean": 0.2004838409423828, | |
"p50": 0.2004838409423828, | |
"p90": 0.2004838409423828, | |
"p95": 0.2004838409423828, | |
"p99": 0.2004838409423828, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1088.913408, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006273024082183838, | |
0.006172671794891358, | |
0.006362112045288086, | |
0.006140960216522217, | |
0.0062197761535644535, | |
0.006112256050109863, | |
0.00617574405670166, | |
0.006328256130218506, | |
0.006427648067474365, | |
0.006362112045288086, | |
0.0063201279640197755, | |
0.006415359973907471, | |
0.006395904064178467, | |
0.0063805441856384275, | |
0.006509568214416504, | |
0.006213632106781006, | |
0.00624128007888794, | |
0.006171648025512695, | |
0.006348832130432129, | |
0.006758399963378906, | |
0.0062740478515625, | |
0.006330368041992188, | |
0.00632422399520874, | |
0.006466559886932373, | |
0.006461376190185547, | |
0.006445055961608887, | |
0.006408192157745361, | |
0.006482912063598633, | |
0.00638156795501709, | |
0.006467584133148193, | |
0.00637440013885498, | |
0.006412288188934326, | |
0.0066119680404663084, | |
0.006301695823669433, | |
0.006545407772064209, | |
0.006791168212890625, | |
0.0073471999168395995, | |
0.006450175762176514, | |
0.006456319808959961, | |
0.0065413122177124024, | |
0.006419456005096436, | |
0.0063498239517211915, | |
0.006210559844970703, | |
0.006418432235717773, | |
0.006331391811370849, | |
0.006304768085479737, | |
0.006311935901641846, | |
0.006455296039581298, | |
0.007525375843048096, | |
0.006337600231170654, | |
0.006266848087310791, | |
0.006398975849151611, | |
0.006309855937957764, | |
0.006499328136444092, | |
0.006322175979614258, | |
0.006304768085479737, | |
0.006379519939422608, | |
0.006306816101074219, | |
0.006449088096618653, | |
0.006631423950195312, | |
0.006529024124145508, | |
0.006500351905822754, | |
0.006431839942932129, | |
0.006452223777770996, | |
0.006448128223419189, | |
0.006376448154449463, | |
0.0064245758056640625, | |
0.006409215927124024, | |
0.00623308801651001, | |
0.006316031932830811, | |
0.0063907837867736815, | |
0.0063211522102355954, | |
0.006223872184753418, | |
0.00624128007888794, | |
0.006174719810485839, | |
0.006118400096893311, | |
0.006342656135559082, | |
0.0062341117858886715, | |
0.006074368000030517, | |
0.006061056137084961, | |
0.0059770879745483394, | |
0.005915647983551026, | |
0.006061056137084961, | |
0.006049791812896729, | |
0.006107135772705078, | |
0.0065710082054138185, | |
0.006140927791595459, | |
0.0062791681289672855, | |
0.0064245758056640625, | |
0.007137279987335205, | |
0.006960127830505371, | |
0.007038976192474365, | |
0.006999040126800537, | |
0.006043647766113281, | |
0.005982207775115967, | |
0.00602623987197876, | |
0.006048768043518066, | |
0.005996543884277344, | |
0.005914624214172363, | |
0.005941247940063477, | |
0.0059064321517944334, | |
0.005979135990142822, | |
0.005859327793121338, | |
0.005929984092712402, | |
0.006076416015625, | |
0.005915647983551026, | |
0.005897215843200684, | |
0.005974016189575195, | |
0.005916672229766846, | |
0.005953536033630371, | |
0.00586137580871582, | |
0.005889023780822754, | |
0.005843967914581299, | |
0.005874688148498535, | |
0.005854207992553711, | |
0.005904384136199951, | |
0.005834752082824707, | |
0.005904384136199951, | |
0.005915647983551026, | |
0.005943295955657959, | |
0.005834752082824707, | |
0.006091775894165039, | |
0.005859327793121338, | |
0.005866528034210205, | |
0.0058501439094543455, | |
0.005889023780822754, | |
0.005888000011444092, | |
0.0058787841796875, | |
0.00588595199584961, | |
0.005851136207580566, | |
0.005868544101715088, | |
0.005874688148498535, | |
0.005892096042633056, | |
0.005888000011444092, | |
0.0058787841796875, | |
0.0059658241271972655, | |
0.0059064640998840335, | |
0.005904384136199951, | |
0.006271999835968017, | |
0.0059054079055786135, | |
0.005900288105010986, | |
0.005876736164093017, | |
0.005909503936767578, | |
0.005846015930175781, | |
0.005914624214172363, | |
0.005880832195281982, | |
0.005916672229766846, | |
0.005844992160797119, | |
0.005883903980255127, | |
0.00587775993347168, | |
0.005884928226470947, | |
0.0058419198989868165, | |
0.005962751865386963, | |
0.00586240005493164, | |
0.00586137580871582, | |
0.0058757119178771975, | |
0.005883903980255127, | |
0.005862368106842041, | |
0.005904384136199951, | |
0.005933055877685547, | |
0.005863423824310303 | |
], | |
"count": 161, | |
"total": 0.9967288341522221, | |
"mean": 0.006190862323926844, | |
"p50": 0.006174719810485839, | |
"p90": 0.006499328136444092, | |
"p95": 0.006631423950195312, | |
"p99": 0.0072212479591369635, | |
"stdev": 0.00031224845983573703, | |
"stdev_": 5.043698979202607 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 161.5283861401885 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.064913434192905e-08, | |
"ram": 3.853177095586492e-08, | |
"gpu": 1.4101201757142825e-07, | |
"total": 2.501929228692222e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3996915.6142866113 | |
} | |
} | |
} | |
} |