IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
03b4181 verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"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": 719.81056,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.2201708984375,
"mean": 7.2201708984375,
"stdev": 0.0,
"p50": 7.2201708984375,
"p90": 7.2201708984375,
"p95": 7.2201708984375,
"p99": 7.2201708984375,
"values": [
7.2201708984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0933195551236472e-06,
"ram": 5.836501180876515e-07,
"gpu": 1.703890252016671e-06,
"total": 3.38085992522797e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.805888,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 154,
"total": 0.9983332481384278,
"mean": 0.00648268342947031,
"stdev": 0.00023878455858356303,
"p50": 0.006532608032226562,
"p90": 0.006782976150512696,
"p95": 0.006868070483207703,
"p99": 0.006971473851203919,
"values": [
0.0068915200233459475,
0.006872064113616944,
0.006782976150512696,
0.006721536159515381,
0.006782976150512696,
0.006694911956787109,
0.006727712154388428,
0.0067348480224609375,
0.006591487884521485,
0.006598656177520752,
0.006609920024871826,
0.006568960189819336,
0.006502399921417237,
0.00649513578414917,
0.006533120155334473,
0.006562816143035889,
0.006583295822143555,
0.006593503952026367,
0.006677504062652588,
0.006639616012573242,
0.006615007877349853,
0.006532095909118653,
0.0065177597999572755,
0.006788127899169922,
0.006717440128326416,
0.006616223812103272,
0.006583295822143555,
0.006656000137329102,
0.006620160102844238,
0.0065433278083801266,
0.006597631931304931,
0.006642687797546387,
0.00653926420211792,
0.006614016056060791,
0.006460415840148926,
0.006493184089660644,
0.006564864158630371,
0.00653107213973999,
0.007144447803497315,
0.006865920066833496,
0.006880256175994873,
0.006843391895294189,
0.007006207942962647,
0.006938623905181885,
0.006924287796020508,
0.006817791938781738,
0.006609920024871826,
0.006589439868927002,
0.006583295822143555,
0.006690815925598144,
0.006631423950195312,
0.006502399921417237,
0.006616064071655273,
0.0065965762138366696,
0.006536191940307618,
0.006524928092956543,
0.00658841609954834,
0.006568960189819336,
0.006708191871643066,
0.006543360233306885,
0.0065413122177124024,
0.006562816143035889,
0.006561791896820069,
0.006504447937011719,
0.006598656177520752,
0.006560768127441406,
0.006573056221008301,
0.006732800006866455,
0.006718463897705078,
0.006654975891113281,
0.006688735961914063,
0.0066304001808166506,
0.0066078720092773435,
0.006614016056060791,
0.0065771517753601075,
0.006519807815551758,
0.0066938881874084475,
0.006500351905822754,
0.006509568214416504,
0.006427648067474365,
0.006298624038696289,
0.006452223777770996,
0.006439839839935303,
0.006261760234832763,
0.006253568172454834,
0.006141983985900879,
0.006221824169158936,
0.006452223777770996,
0.006684671878814697,
0.006823935985565186,
0.006817791938781738,
0.00683622407913208,
0.006940671920776367,
0.0067338237762451176,
0.0066507840156555175,
0.006551551818847656,
0.00658841609954834,
0.006540287971496582,
0.006603775978088379,
0.006478816032409668,
0.006501376152038574,
0.006478847980499268,
0.006436863899230957,
0.00637334394454956,
0.0061420478820800786,
0.006127679824829101,
0.006157311916351318,
0.006104063987731933,
0.006089727878570556,
0.006055935859680176,
0.006148096084594727,
0.006064095973968506,
0.0061562881469726565,
0.006433792114257812,
0.0064737281799316405,
0.006462463855743408,
0.006436863899230957,
0.006186111927032471,
0.006153215885162353,
0.006173696041107178,
0.006191103935241699,
0.006169600009918213,
0.006212607860565185,
0.00618393611907959,
0.0062228479385375976,
0.006123519897460937,
0.006206463813781738,
0.006187007904052734,
0.006137856006622314,
0.006155360221862793,
0.006157311916351318,
0.006189055919647217,
0.006212607860565185,
0.006217728137969971,
0.006181888103485108,
0.006198272228240966,
0.006433792114257812,
0.006453216075897217,
0.006461376190185547,
0.006340608119964599,
0.0062391037940979005,
0.006180863857269287,
0.00617465591430664,
0.006136832237243653,
0.0062197761535644535,
0.006189055919647217,
0.006190080165863037,
0.006162432193756104,
0.006170656204223633,
0.006113279819488526,
0.006169600009918213,
0.006184959888458252,
0.0062269439697265625,
0.006123519897460937
]
},
"throughput": {
"unit": "samples/s",
"value": 154.2571083224572
},
"energy": {
"unit": "kWh",
"cpu": 7.727854975202211e-08,
"ram": 4.2251542660824447e-08,
"gpu": 1.4246764644155578e-07,
"total": 2.6199773885440234e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3816826.833592335
}
}
}
}