IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a0d14ca verified
raw
history blame
11.3 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": {},
"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": 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": "034e40c3ab573ad44343a7fcce8e83f9a39327de",
"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": 902.496256,
"max_global_vram": 1126.514688,
"max_process_vram": 40197.718016,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.0463916015625,
"mean": 7.0463916015625,
"stdev": 0.0,
"p50": 7.0463916015625,
"p90": 7.0463916015625,
"p95": 7.0463916015625,
"p99": 7.0463916015625,
"values": [
7.0463916015625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.659968,
"max_global_vram": 1181.831168,
"max_process_vram": 209083.641856,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9967100434303285,
"mean": 0.00732875031934065,
"stdev": 0.00023185130147254535,
"p50": 0.007288356065750122,
"p90": 0.007622357845306397,
"p95": 0.007765238165855407,
"p99": 0.008015895795822145,
"values": [
0.008167240142822265,
0.007958599090576172,
0.007475077152252197,
0.0072493162155151366,
0.007437157154083252,
0.007602597236633301,
0.0072333159446716306,
0.00730979585647583,
0.007660996913909912,
0.007501156806945801,
0.007212194919586181,
0.007479556083679199,
0.007224355220794678,
0.007171395778656006,
0.00744275712966919,
0.007139235019683838,
0.0071667561531066895,
0.007123875141143799,
0.0073073959350585934,
0.007469797134399414,
0.007206116199493408,
0.007342916011810302,
0.0071886758804321285,
0.0073681960105896,
0.007720037937164307,
0.007138595104217529,
0.0071737961769104,
0.007191555023193359,
0.007371235847473145,
0.0073539562225341795,
0.008001958847045899,
0.007594758033752441,
0.007491557121276855,
0.007589477062225342,
0.0073091559410095215,
0.007427237033843994,
0.00711843490600586,
0.007121315002441406,
0.007164196014404297,
0.0073019561767578125,
0.007245955944061279,
0.007136034965515137,
0.007116515159606934,
0.007180515766143799,
0.007127715110778809,
0.007068834781646729,
0.007330437183380127,
0.007309956073760986,
0.007152995109558105,
0.007375236988067627,
0.007398276805877685,
0.0070880351066589355,
0.0071253151893615726,
0.007301315784454345,
0.007126755237579345,
0.007105955123901367,
0.007281795978546142,
0.007333315849304199,
0.0073829169273376466,
0.007092354774475097,
0.007128835201263428,
0.0071598758697509765,
0.007128514766693115,
0.007277316093444825,
0.007076994895935058,
0.007126595973968506,
0.007365635871887207,
0.007131235122680664,
0.007139235019683838,
0.007106114864349365,
0.007112834930419922,
0.007112034797668457,
0.00712323522567749,
0.00730755615234375,
0.0072094759941101075,
0.007263236045837403,
0.007115395069122315,
0.007074914932250977,
0.007165956020355225,
0.0071161952018737795,
0.007112995147705078,
0.007155075073242188,
0.00715763521194458,
0.007133316040039062,
0.0071552348136901854,
0.007093315124511719,
0.007136516094207764,
0.007294916152954102,
0.007143555164337158,
0.007126756191253662,
0.00709651517868042,
0.007060675144195556,
0.007203235149383545,
0.007224195003509522,
0.007158276081085205,
0.00772963809967041,
0.007329795837402344,
0.0073110761642456055,
0.0073869161605834965,
0.007401795864105225,
0.007458597183227539,
0.0074379568099975585,
0.00746179723739624,
0.007273476123809814,
0.007430595874786377,
0.007425315856933594,
0.007464197158813477,
0.007066114902496338,
0.00703155517578125,
0.007028194904327392,
0.0072363557815551755,
0.007366436004638672,
0.0071075549125671385,
0.007067714214324951,
0.007401956081390381,
0.007605157852172852,
0.007420677185058594,
0.0075805168151855465,
0.007540358066558838,
0.007780037879943848,
0.007965799808502197,
0.0077337980270385746,
0.007590437889099121,
0.0077606778144836425,
0.007778919219970703,
0.00764835786819458,
0.00751475715637207,
0.007635397911071777,
0.007314596176147461,
0.007429316997528076,
0.007609317779541016,
0.00754867696762085,
0.00802340030670166,
0.007522117137908935,
0.007515077114105225,
0.00749427604675293
]
},
"throughput": {
"unit": "samples/s",
"value": 136.44891099113985
},
"energy": null,
"efficiency": null
}
}
}