IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
491fd89 verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": true,
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 904.265728,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 148,
"total": 1.00163472032547,
"mean": 0.006767802164361284,
"stdev": 0.00020090693793547749,
"p50": 0.006718976020812988,
"p90": 0.0070174720287323,
"p95": 0.007048192024230957,
"p99": 0.0071990167999267584,
"values": [
0.0071485438346862796,
0.006850560188293457,
0.006949888229370117,
0.006866879940032959,
0.006973440170288086,
0.0068986878395080565,
0.006841343879699707,
0.00687718391418457,
0.00682700777053833,
0.006870016098022461,
0.0067041277885437015,
0.0066938881874084475,
0.006721536159515381,
0.006681600093841553,
0.006651904106140137,
0.006628352165222168,
0.00698367977142334,
0.006998015880584717,
0.007011328220367432,
0.006800384044647217,
0.006726655960083008,
0.006755328178405762,
0.006723584175109864,
0.006675392150878906,
0.006692863941192627,
0.0067348480224609375,
0.006760447978973389,
0.006972415924072266,
0.007065599918365479,
0.007037951946258545,
0.007006207942962647,
0.00698367977142334,
0.007024640083312988,
0.007038976192474365,
0.00704307222366333,
0.0068925762176513675,
0.006884352207183838,
0.0068689918518066405,
0.00693452787399292,
0.006913023948669434,
0.006967296123504638,
0.006980607986450196,
0.00698367977142334,
0.006966271877288818,
0.007061503887176514,
0.0069959678649902345,
0.0070011520385742185,
0.00694163179397583,
0.0069304962158203125,
0.006906879901885986,
0.007048192024230957,
0.006974463939666748,
0.006965248107910156,
0.006966271877288818,
0.00694374418258667,
0.006900735855102539,
0.00694374418258667,
0.006918144226074219,
0.006906879901885986,
0.006953983783721924,
0.007024640083312988,
0.006649856090545654,
0.0066375679969787596,
0.006665215969085693,
0.006749184131622315,
0.0069928960800170895,
0.007054336071014404,
0.007006207942962647,
0.00694271993637085,
0.007014400005340577,
0.007048192024230957,
0.007058432102203369,
0.006776832103729248,
0.006774784088134766,
0.006690815925598144,
0.006716415882110595,
0.006686719894409179,
0.00662937593460083,
0.00672160005569458,
0.006626304149627686,
0.006568960189819336,
0.006445055961608887,
0.0065146880149841305,
0.006666240215301514,
0.006501376152038574,
0.006302720069885254,
0.00638976001739502,
0.007243775844573975,
0.0075980801582336424,
0.006823935985565186,
0.006876160144805908,
0.006866943836212158,
0.006952960014343262,
0.007032832145690918,
0.006964223861694336,
0.006755328178405762,
0.006619135856628418,
0.006627327919006347,
0.006661119937896728,
0.00667852783203125,
0.006615039825439453,
0.006616064071655273,
0.00652288007736206,
0.006546432018280029,
0.006688767910003662,
0.006536191940307618,
0.006590464115142822,
0.006582272052764892,
0.006554624080657959,
0.00657203197479248,
0.006546432018280029,
0.006626304149627686,
0.00658739185333252,
0.006594560146331787,
0.006586368083953857,
0.006567840099334717,
0.006593535900115967,
0.006560768127441406,
0.006560768127441406,
0.00657919979095459,
0.006557695865631104,
0.0065669121742248536,
0.006597631931304931,
0.006546432018280029,
0.006582272052764892,
0.006561791896820069,
0.006584320068359375,
0.0065669121742248536,
0.006550528049468994,
0.0066109437942504885,
0.006598656177520752,
0.006666240215301514,
0.006642687797546387,
0.006612991809844971,
0.006627295970916748,
0.006642687797546387,
0.0066416640281677245,
0.00658022403717041,
0.006563839912414551,
0.006591487884521485,
0.006532095909118653,
0.00658739185333252,
0.00658841609954834,
0.006551551818847656,
0.006583295822143555,
0.006591487884521485,
0.006576128005981445,
0.0065771517753601075
]
},
"throughput": {
"unit": "samples/s",
"value": 147.7584562483108
},
"energy": {
"unit": "kWh",
"cpu": 7.761637737721574e-08,
"ram": 4.2429894939214493e-08,
"gpu": 1.4114571930719248e-07,
"total": 2.611919916236227e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3828601.305054554
}
}
}
}