IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e5840a9 verified
raw
history blame
12.4 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.355904,
"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.2385791015625,
"mean": 7.2385791015625,
"stdev": 0.0,
"p50": 7.2385791015625,
"p90": 7.2385791015625,
"p95": 7.2385791015625,
"p99": 7.2385791015625,
"values": [
7.2385791015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.05384671025806e-06,
"ram": 5.615835544451405e-07,
"gpu": 1.8922237360000788e-06,
"total": 3.507654000703279e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 911.962112,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 152,
"total": 0.9985635814666747,
"mean": 0.006569497246491282,
"stdev": 0.0002938729654750688,
"p50": 0.006483999967575073,
"p90": 0.006900735855102539,
"p95": 0.007026875352859496,
"p99": 0.007703562164306645,
"values": [
0.007067647933959961,
0.007201791763305664,
0.007093247890472412,
0.007058432102203369,
0.006971392154693603,
0.007000063896179199,
0.00695091199874878,
0.006900735855102539,
0.00700105619430542,
0.006840320110321045,
0.006900735855102539,
0.0068689918518066405,
0.006830080032348633,
0.0067338237762451176,
0.00676966381072998,
0.006754303932189941,
0.0068280320167541505,
0.006910975933074951,
0.006841375827789307,
0.006933504104614257,
0.006864895820617676,
0.006812672138214112,
0.006830048084259033,
0.006867968082427979,
0.006956031799316406,
0.00688640022277832,
0.00687718391418457,
0.0066979842185974124,
0.0065771517753601075,
0.006475776195526123,
0.006533120155334473,
0.006535168170928955,
0.006554624080657959,
0.006574048042297363,
0.006445055961608887,
0.006391776084899902,
0.006423552036285401,
0.006407167911529541,
0.006460415840148926,
0.006428671836853027,
0.006490111827850342,
0.006482944011688232,
0.006532095909118653,
0.006520832061767578,
0.006591487884521485,
0.0065136637687683106,
0.006519807815551758,
0.006489088058471679,
0.00643891191482544,
0.006469632148742676,
0.006565887928009034,
0.0065320320129394534,
0.006520832061767578,
0.006493184089660644,
0.006509568214416504,
0.006470655918121338,
0.006429696083068847,
0.006516736030578613,
0.006469567775726318,
0.006493184089660644,
0.006609920024871826,
0.006428671836853027,
0.006429696083068847,
0.006486015796661377,
0.006473663806915283,
0.006454207897186279,
0.006485055923461914,
0.006452223777770996,
0.006554624080657959,
0.0065771517753601075,
0.00659555196762085,
0.006562880039215088,
0.006593535900115967,
0.006703104019165039,
0.007938047885894776,
0.007473152160644531,
0.008204287528991699,
0.007478271961212158,
0.00682700777053833,
0.006702079772949219,
0.006626304149627686,
0.006543360233306885,
0.0062975997924804685,
0.006448128223419189,
0.006351871967315674,
0.006106112003326416,
0.006113279819488526,
0.006137856006622314,
0.00648089599609375,
0.006501376152038574,
0.006552576065063476,
0.006532063961029053,
0.006589439868927002,
0.00678604793548584,
0.006822912216186523,
0.006500351905822754,
0.006425600051879882,
0.006464511871337891,
0.006419456005096436,
0.00648089599609375,
0.0065382399559021,
0.0064102401733398436,
0.006415359973907471,
0.0063569917678833006,
0.006372352123260498,
0.006366208076477051,
0.006347775936126709,
0.006364160060882569,
0.006405119895935059,
0.006364160060882569,
0.0063610877990722655,
0.00632422399520874,
0.006359039783477783,
0.006331391811370849,
0.006368256092071533,
0.006404096126556396,
0.006340608119964599,
0.0063836159706115725,
0.006363135814666748,
0.006398975849151611,
0.006398975849151611,
0.00637337589263916,
0.006368256092071533,
0.006319104194641113,
0.006441984176635742,
0.006358016014099121,
0.006364160060882569,
0.0065372161865234375,
0.006338560104370118,
0.006364160060882569,
0.006354944229125976,
0.006329343795776367,
0.006360064029693604,
0.0063170561790466305,
0.006723584175109864,
0.0063539199829101565,
0.006329343795776367,
0.0063610877990722655,
0.0063539199829101565,
0.006334464073181153,
0.006368256092071533,
0.006344704151153564,
0.006378496170043945,
0.006510591983795166,
0.006350815773010254,
0.006335487842559814,
0.006338560104370118,
0.006802432060241699,
0.00643891191482544,
0.006360064029693604,
0.006434815883636475,
0.006327360153198242
]
},
"throughput": {
"unit": "samples/s",
"value": 152.21864968953176
},
"energy": {
"unit": "kWh",
"cpu": 7.44881418844064e-08,
"ram": 4.065423803458993e-08,
"gpu": 1.5538727708750516e-07,
"total": 2.705296570065015e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3696452.4003221113
}
}
}
}