IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
452f62a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.0", | |
"optimum_benchmark_commit": "2a75c0bc0d007cc875fa0f75ca41d02e46f917be", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.384256, | |
"max_global_vram": 898.486272, | |
"max_process_vram": 200689.958912, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9991010742187496, | |
"mean": 0.00839580734637605, | |
"stdev": 0.0005026137789401673, | |
"p50": 0.008358707427978515, | |
"p90": 0.008833650970458984, | |
"p95": 0.009058433723449706, | |
"p99": 0.009747294559478759, | |
"values": [ | |
0.008812787055969239, | |
0.009042866706848144, | |
0.00836126708984375, | |
0.008697266578674317, | |
0.00883022689819336, | |
0.00881646728515625, | |
0.008869747161865234, | |
0.009599824905395508, | |
0.009073266983032227, | |
0.008847347259521484, | |
0.008983345985412597, | |
0.00831038761138916, | |
0.009056785583496093, | |
0.008201587677001953, | |
0.00823822784423828, | |
0.008279827117919922, | |
0.008644307136535644, | |
0.009039346694946288, | |
0.009092466354370117, | |
0.009153906822204589, | |
0.008589587211608886, | |
0.008672627449035644, | |
0.012228462219238281, | |
0.008627026557922364, | |
0.008368626594543457, | |
0.008355507850646973, | |
0.00834590721130371, | |
0.008354388236999511, | |
0.008410226821899415, | |
0.00839982795715332, | |
0.008357267379760742, | |
0.008395828247070313, | |
0.008325587272644043, | |
0.008339187622070313, | |
0.00835694694519043, | |
0.00832766819000244, | |
0.00835790729522705, | |
0.008335827827453613, | |
0.008331506729125977, | |
0.008327828407287598, | |
0.008283666610717774, | |
0.00830750846862793, | |
0.008365107536315917, | |
0.008328627586364747, | |
0.008363348007202148, | |
0.008369426727294921, | |
0.008362868309020995, | |
0.008333746910095214, | |
0.00840910816192627, | |
0.008337427139282226, | |
0.008293428421020509, | |
0.00829678726196289, | |
0.008268788337707519, | |
0.008338228225708007, | |
0.007617268085479736, | |
0.0078177490234375, | |
0.007638868808746338, | |
0.007815988063812255, | |
0.007918229103088379, | |
0.007661268234252929, | |
0.007821268081665039, | |
0.008273588180541993, | |
0.008361268043518066, | |
0.008364147186279296, | |
0.00832222843170166, | |
0.00845950698852539, | |
0.008381587982177734, | |
0.00804270839691162, | |
0.008068147659301758, | |
0.008088308334350586, | |
0.007950708866119385, | |
0.008092307090759277, | |
0.008368947982788085, | |
0.008351187705993652, | |
0.008359188079833985, | |
0.008330548286437988, | |
0.008358707427978515, | |
0.00835182762145996, | |
0.008415987014770508, | |
0.008100148200988769, | |
0.007650228977203369, | |
0.007685268878936767, | |
0.007617588996887207, | |
0.008360466957092284, | |
0.008371667861938476, | |
0.008376947402954102, | |
0.00836606788635254, | |
0.008382387161254883, | |
0.008580307006835937, | |
0.008364788055419922, | |
0.008341426849365235, | |
0.008331188201904297, | |
0.00781198787689209, | |
0.007510708808898926, | |
0.008290388107299805, | |
0.008382387161254883, | |
0.008420948028564454, | |
0.008390867233276367, | |
0.008374387741088868, | |
0.008369426727294921, | |
0.00837918758392334, | |
0.008399348258972168, | |
0.008442867279052734, | |
0.008419668197631836, | |
0.008329266548156739, | |
0.00977966594696045, | |
0.008498706817626954, | |
0.0084119873046875, | |
0.008668466567993164, | |
0.008316147804260253, | |
0.008372146606445313, | |
0.008405587196350098, | |
0.008348627090454102, | |
0.008331027984619141, | |
0.008405266761779785, | |
0.008026867866516114, | |
0.00793182897567749, | |
0.007958548069000244, | |
0.007947668075561524 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.10706841452694 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |