IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5ca7d31 verified
raw
history blame
10.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 907.763712,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9997497258186342,
"mean": 0.007573861559232075,
"stdev": 0.00033069520154639653,
"p50": 0.007522272109985352,
"p90": 0.007881318330764771,
"p95": 0.0080316415309906,
"p99": 0.009041049671173095,
"values": [
0.008201215744018555,
0.008005663871765137,
0.00809062385559082,
0.008049663543701171,
0.007959551811218261,
0.00789404821395874,
0.007678976058959961,
0.007592959880828858,
0.0075049281120300295,
0.007522304058074952,
0.007478271961212158,
0.007493631839752197,
0.0075008001327514645,
0.007555071830749512,
0.007555103778839111,
0.007589888095855713,
0.007493631839752197,
0.007501823902130127,
0.007532544136047363,
0.007581696033477783,
0.00769536018371582,
0.007827455997467042,
0.007779295921325684,
0.007825407981872558,
0.007945216178894043,
0.007748608112335205,
0.0076902399063110355,
0.007980031967163086,
0.007501823902130127,
0.0075642881393432615,
0.007478271961212158,
0.0075673599243164065,
0.007570432186126709,
0.007569407939910889,
0.00801689624786377,
0.007775231838226319,
0.00783462381362915,
0.007786496162414551,
0.0077506561279296875,
0.007674880027770996,
0.0076912641525268555,
0.0075345921516418455,
0.007519231796264648,
0.007502848148345947,
0.007426047801971435,
0.007476223945617676,
0.00745472002029419,
0.007484416007995606,
0.007663616180419922,
0.007785408020019531,
0.007868415832519531,
0.007882751941680909,
0.00783462381362915,
0.007749631881713868,
0.007514111995697022,
0.0074926080703735356,
0.007419904232025146,
0.0074106879234313965,
0.007300127983093261,
0.007303167819976806,
0.007434239864349365,
0.007280640125274658,
0.007088128089904785,
0.007238656044006348,
0.00732371187210083,
0.008509440422058106,
0.009115648269653321,
0.009159680366516113,
0.008875007629394532,
0.0077844481468200685,
0.007610367774963379,
0.007516160011291504,
0.007436287879943848,
0.007497727870941162,
0.007409664154052734,
0.00738099193572998,
0.007368703842163086,
0.007365632057189942,
0.007422976016998291,
0.007128064155578613,
0.007069695949554444,
0.007114751815795899,
0.007117824077606201,
0.007143424034118652,
0.007069695949554444,
0.007113728046417236,
0.007077888011932373,
0.007107583999633789,
0.007135231971740722,
0.00709939193725586,
0.007109632015228271,
0.007169023990631103,
0.007145472049713135,
0.0073820161819458,
0.007868415832519531,
0.0076277761459350585,
0.007547904014587403,
0.007572480201721191,
0.007571455955505371,
0.007560192108154297,
0.007605247974395752,
0.007606272220611572,
0.00758681583404541,
0.007573503971099854,
0.007548927783966064,
0.007501855850219726,
0.007522240161895752,
0.007515135765075683,
0.007552000045776367,
0.00753766393661499,
0.0075335679054260255,
0.00753766393661499,
0.007472127914428711,
0.007437312126159668,
0.0074670081138610836,
0.00743833589553833,
0.007420928001403809,
0.007514143943786621,
0.007461887836456299,
0.00743833589553833,
0.007459839820861816,
0.007465983867645264,
0.007502816200256348,
0.007514111995697022,
0.007510015964508057,
0.007550975799560547,
0.007515135765075683,
0.007553023815155029,
0.007532544136047363,
0.00757862377166748,
0.007552000045776367,
0.007515135765075683
]
},
"throughput": {
"unit": "samples/s",
"value": 132.03304446211604
},
"energy": {
"unit": "kWh",
"cpu": 8.49436377249067e-08,
"ram": 4.630778680231222e-08,
"gpu": 1.556429816571437e-07,
"total": 2.8689440618436264e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3485602.9899634398
}
}
}
}