IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
98482a4
verified
{ | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "0aac0108c378c328492774ddb431ea89a3c2b507", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.421952, | |
"max_global_vram": 841.777152, | |
"max_process_vram": 43467.32544, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.74962451171875, | |
"mean": 6.74962451171875, | |
"stdev": 0.0, | |
"p50": 6.74962451171875, | |
"p90": 6.74962451171875, | |
"p95": 6.74962451171875, | |
"p99": 6.74962451171875, | |
"values": [ | |
6.74962451171875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.110528, | |
"max_global_vram": 896.954368, | |
"max_process_vram": 203915.01824, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 0.9962065167427067, | |
"mean": 0.006511153704200694, | |
"stdev": 0.0011453048293105898, | |
"p50": 0.006315719127655029, | |
"p90": 0.006934795856475831, | |
"p95": 0.007300749301910401, | |
"p99": 0.00789020582199096, | |
"values": [ | |
0.007069324016571045, | |
0.007275084972381592, | |
0.007410766124725342, | |
0.007458927154541016, | |
0.0076347670555114745, | |
0.0074117259979248045, | |
0.007339245796203613, | |
0.007403086185455323, | |
0.0072664451599121094, | |
0.007178764820098877, | |
0.007101644039154053, | |
0.007014442920684814, | |
0.006953964233398438, | |
0.00688372278213501, | |
0.006794442176818847, | |
0.006775881767272949, | |
0.0066957221031188965, | |
0.006690921783447265, | |
0.006563401222229004, | |
0.006863883018493652, | |
0.006787722110748291, | |
0.006568520069122314, | |
0.006634440898895264, | |
0.006547400951385498, | |
0.006833162784576416, | |
0.00816693115234375, | |
0.006854123115539551, | |
0.006592680931091308, | |
0.006531081199645996, | |
0.0064586009979248045, | |
0.006451720237731933, | |
0.006530760765075683, | |
0.00648803997039795, | |
0.006547880172729492, | |
0.006555240154266357, | |
0.006438600063323975, | |
0.006367080211639405, | |
0.006554121017456054, | |
0.006462759971618652, | |
0.006486600875854493, | |
0.006416679859161377, | |
0.006569321155548096, | |
0.006301319122314453, | |
0.006282598972320557, | |
0.006305959224700928, | |
0.006294118881225586, | |
0.00629987907409668, | |
0.006290439128875732, | |
0.006332039833068848, | |
0.006437960147857666, | |
0.006309800148010254, | |
0.018761716842651367, | |
0.00232737398147583, | |
0.0023652949333190917, | |
0.006302440166473388, | |
0.006328999042510986, | |
0.006440680027008056, | |
0.006282598972320557, | |
0.006313959121704102, | |
0.00630259895324707, | |
0.006279879093170166, | |
0.006300039768218994, | |
0.0062718791961669925, | |
0.0063200387954711916, | |
0.006315719127655029, | |
0.0063224401473999025, | |
0.006297638893127441, | |
0.006295878887176514, | |
0.006288838863372803, | |
0.006281639099121094, | |
0.006286118984222412, | |
0.00638995885848999, | |
0.006593960762023926, | |
0.006473000049591064, | |
0.0063745989799499515, | |
0.006276360034942627, | |
0.006287559032440186, | |
0.006318919181823731, | |
0.006304678916931153, | |
0.006280519008636474, | |
0.006314119815826416, | |
0.006300038814544677, | |
0.006312039852142334, | |
0.00631027889251709, | |
0.006262598991394043, | |
0.006288838863372803, | |
0.006278119087219238, | |
0.006271238803863525, | |
0.00627203893661499, | |
0.006266599178314209, | |
0.006282759189605713, | |
0.006268359184265136, | |
0.006303079128265381, | |
0.006283558845520019, | |
0.006297318935394287, | |
0.006314599037170411, | |
0.006299239158630371, | |
0.0062865991592407225, | |
0.006274599075317383, | |
0.006285799026489258, | |
0.00627587890625, | |
0.006286919116973877, | |
0.006273159027099609, | |
0.006275719165802002, | |
0.0062989192008972164, | |
0.006254438877105713, | |
0.0063941187858581544, | |
0.006612360954284668, | |
0.006632360935211181, | |
0.006491399765014648, | |
0.006394919872283936, | |
0.006947564125061035, | |
0.006628520965576172, | |
0.006610920906066894, | |
0.006588840961456299, | |
0.0064966797828674315, | |
0.006440360069274903, | |
0.0065246810913085936, | |
0.00650275993347168, | |
0.006511559963226318, | |
0.006496040821075439, | |
0.006449800014495849, | |
0.006560841083526611, | |
0.006417640209197998, | |
0.006271718978881836, | |
0.006292358875274658, | |
0.006310440063476562, | |
0.006286919116973877, | |
0.006309799194335938, | |
0.0062693190574646, | |
0.006272199153900146, | |
0.0062749190330505375, | |
0.006282918930053711, | |
0.006280038833618164, | |
0.006259879112243652, | |
0.006280680179595947, | |
0.00627155876159668, | |
0.006328039169311524, | |
0.006326438903808594, | |
0.006299718856811524, | |
0.006295399188995361, | |
0.006274438858032226, | |
0.0062776398658752446, | |
0.006292839050292969, | |
0.0062725191116333005, | |
0.0062776398658752446, | |
0.00640291976928711, | |
0.00640772008895874, | |
0.0062729988098144535, | |
0.006300998210906982, | |
0.006299239158630371, | |
0.006294919013977051, | |
0.00631299877166748 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.5826130712974 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |