IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5b94e4f verified
raw
history blame
10.2 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": "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.2.1",
"optimum_benchmark_commit": "0d561969d04a7091baf8691bc894eb753a189d4f",
"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": 1010.225152,
"max_global_vram": 897.130496,
"max_process_vram": 192743.665664,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9973882236480713,
"mean": 0.007555971391273268,
"stdev": 0.0005203442910328864,
"p50": 0.00755397629737854,
"p90": 0.00802848606109619,
"p95": 0.008038270330429077,
"p99": 0.008286185541152954,
"values": [
0.007580296993255615,
0.007772136211395264,
0.007873414993286133,
0.008037095069885253,
0.00829997444152832,
0.007769576072692871,
0.007927975177764893,
0.007867175102233887,
0.007757894992828369,
0.007756135940551758,
0.00785501480102539,
0.00758957576751709,
0.007477575778961181,
0.007381737232208252,
0.007401576995849609,
0.007413576126098633,
0.00737149715423584,
0.007399816989898681,
0.00736461591720581,
0.007401257038116455,
0.00749021577835083,
0.007447176933288574,
0.007524456024169922,
0.007584936141967773,
0.007585576057434082,
0.007673895835876464,
0.007817255020141602,
0.007771174907684326,
0.007670375823974609,
0.007440617084503174,
0.00771613597869873,
0.007879815101623534,
0.0077540559768676754,
0.007571656227111817,
0.007868774890899658,
0.007982375144958496,
0.007948454856872558,
0.007749896049499511,
0.011377723693847656,
0.008255494117736817,
0.00794349479675293,
0.008010375022888183,
0.007988295078277589,
0.00803037452697754,
0.008038054466247559,
0.008009414672851562,
0.008017094612121582,
0.008028614044189452,
0.00803405475616455,
0.008033414840698243,
0.008027334213256836,
0.008029254913330078,
0.007980134963989258,
0.00798493480682373,
0.008010214805603027,
0.008003814697265625,
0.007978694915771484,
0.00803853416442871,
0.008005894660949708,
0.008017575263977051,
0.008009895324707032,
0.008039335250854492,
0.007979175090789796,
0.008055014610290527,
0.00808045482635498,
0.00801229476928711,
0.00734365701675415,
0.00742877721786499,
0.007309096813201904,
0.007096138000488281,
0.006887817859649658,
0.007074697971343994,
0.00714557695388794,
0.007283337116241455,
0.007280457019805908,
0.007534215927124024,
0.007556615829467773,
0.007551336765289306,
0.007549416065216064,
0.007061418056488037,
0.007239977836608887,
0.006955018043518066,
0.007376296997070313,
0.007093418121337891,
0.007086058139801025,
0.0070926170349121095,
0.006972137928009033,
0.007157577991485596,
0.007130376815795899,
0.0069726181030273435,
0.006716458797454834,
0.007082697868347168,
0.00691005802154541,
0.007302377223968506,
0.0075919761657714845,
0.007592135906219482,
0.007510056018829345,
0.0070863780975341795,
0.007387977123260498,
0.007687496185302734,
0.007276937961578369,
0.007273258209228516,
0.007453735828399658,
0.007546855926513672,
0.007631175994873047,
0.00753277587890625,
0.007460297107696533,
0.007287977218627929,
0.0075386958122253414,
0.007529736042022705,
0.0075868558883667,
0.007565896034240723,
0.00759165620803833,
0.0075783758163452146,
0.007570857048034668,
0.00746589708328247,
0.006710379123687744,
0.006839818000793457,
0.007002058029174804,
0.007624775886535645,
0.007594215869903565,
0.007396137237548828,
0.007285417079925537,
0.007118056774139405,
0.00705197811126709,
0.006867018222808838,
0.006653738975524902,
0.006651179790496826,
0.006898378849029541,
0.006656939029693603,
0.0066697378158569335,
0.0066374192237854
]
},
"throughput": {
"unit": "samples/s",
"value": 132.34565725790665
},
"energy": null,
"efficiency": null
}
}
}