IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cf661bd verified
raw
history blame
10.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": {},
"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.1",
"optimum_benchmark_commit": "674d8c572ada4aac26b730928ac88a3effc914de",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1014.018048,
"max_global_vram": 897.122304,
"max_process_vram": 204885.000192,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9954336857795718,
"mean": 0.007319365336614496,
"stdev": 0.00041136323650068745,
"p50": 0.007134056091308594,
"p90": 0.007977572679519655,
"p95": 0.008099492311477661,
"p99": 0.008140740251541137,
"values": [
0.007970692157745362,
0.007947012901306153,
0.007984453201293946,
0.008091812133789062,
0.008118371963500976,
0.008142532348632813,
0.008108451843261718,
0.008137412071228027,
0.008089092254638672,
0.008133252143859864,
0.008053253173828125,
0.00809901237487793,
0.008100932121276855,
0.008022212982177734,
0.007998692989349365,
0.007968451976776123,
0.007423654079437256,
0.007138696193695069,
0.007142214775085449,
0.007114695072174072,
0.007103815078735352,
0.007111656188964844,
0.007052774906158447,
0.007126855850219727,
0.007086056232452393,
0.007097255229949951,
0.007129415988922119,
0.007141096115112305,
0.007147174835205078,
0.007180294990539551,
0.007212775230407715,
0.0071554951667785645,
0.007120615005493164,
0.00710541582107544,
0.007067015171051025,
0.007095176219940186,
0.009810206413269042,
0.0073951749801635745,
0.00700941514968872,
0.006975016117095947,
0.007093894958496094,
0.007371815204620361,
0.007116136074066162,
0.007009895801544189,
0.0070138959884643555,
0.006997096061706543,
0.007009736061096191,
0.006982055187225342,
0.007180295944213867,
0.006977575778961182,
0.0069881358146667485,
0.006997255802154541,
0.0070417351722717285,
0.006982855796813965,
0.007050695896148681,
0.007022375106811523,
0.007059175968170166,
0.006999656200408936,
0.0069783759117126466,
0.0069711761474609375,
0.007006855964660644,
0.007030535221099854,
0.007205255031585693,
0.007111656188964844,
0.006973735809326172,
0.00696397590637207,
0.006978055953979492,
0.006981095790863037,
0.006982855796813965,
0.006999814987182617,
0.007014535903930664,
0.007021895885467529,
0.006989574909210205,
0.007311015129089355,
0.0071889348030090335,
0.007127015113830566,
0.00729661512374878,
0.007213254928588867,
0.007453254222869873,
0.007461574077606201,
0.007382374763488769,
0.007047814846038818,
0.007278695106506348,
0.007298695087432861,
0.007398534774780274,
0.00750749397277832,
0.007355013847351074,
0.007505894184112549,
0.007612934112548828,
0.007455334186553955,
0.007423813819885254,
0.007476294040679931,
0.00754189395904541,
0.007496774196624756,
0.0073401350975036625,
0.0071841349601745605,
0.007117895126342774,
0.007118854999542236,
0.007175495147705078,
0.00704637622833252,
0.00704429578781128,
0.007015336036682129,
0.007018375873565674,
0.0070260558128356935,
0.007077735900878906,
0.007969731807708741,
0.007916772842407226,
0.007590373992919922,
0.007344775199890137,
0.007810213088989258,
0.007898212909698487,
0.007576134204864502,
0.0074774141311645505,
0.007503173828125,
0.0074682941436767574,
0.007517414093017578,
0.007518854141235352,
0.007415493965148926,
0.0074657340049743654,
0.007509414196014404,
0.007509573936462403,
0.007493254184722901,
0.007012616157531739,
0.0070490951538085935,
0.007035975933074951,
0.006991496086120605,
0.007038695812225342,
0.007035655975341797,
0.007001094818115235,
0.006998216152191162,
0.007047175884246826,
0.007060295104980469,
0.007070375919342041,
0.007040773868560791,
0.007041736125946045,
0.007016455173492432
]
},
"throughput": {
"unit": "samples/s",
"value": 136.62386750905654
},
"energy": null,
"efficiency": null
}
}
}