IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b616e28 verified
raw
history blame
11.3 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",
"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": 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.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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 901.28384,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 152,
"total": 0.9984588813781736,
"mean": 0.006568808430119564,
"stdev": 0.00023658814668420006,
"p50": 0.006551552057266236,
"p90": 0.006902374267578125,
"p95": 0.0069941248893737795,
"p99": 0.0070875953722000125,
"values": [
0.007452672004699707,
0.0070471038818359375,
0.007114751815795899,
0.007061503887176514,
0.007013376235961914,
0.006986752033233643,
0.007031807899475098,
0.00698367977142334,
0.006937600135803222,
0.007003136157989502,
0.0069027838706970214,
0.006800384044647217,
0.006803391933441162,
0.00683622407913208,
0.006854656219482422,
0.006937600135803222,
0.0067123198509216305,
0.006897664070129395,
0.00662937593460083,
0.007007232189178467,
0.006973440170288086,
0.0068986878395080565,
0.0068577280044555666,
0.0068884482383728025,
0.006870016098022461,
0.006858751773834228,
0.006874112129211426,
0.006684671878814697,
0.0065710082054138185,
0.006495232105255127,
0.0065781760215759275,
0.006557695865631104,
0.006609920024871826,
0.006632448196411133,
0.006616064071655273,
0.0067276802062988285,
0.006746111869812011,
0.006681600093841553,
0.0066416640281677245,
0.006643712043762207,
0.006598656177520752,
0.0066938881874084475,
0.006730751991271973,
0.006651904106140137,
0.006605823993682861,
0.006591455936431885,
0.006608895778656006,
0.006559743881225586,
0.006690815925598144,
0.006586368083953857,
0.0065443840026855465,
0.006631423950195312,
0.006584320068359375,
0.006598656177520752,
0.006689792156219483,
0.006689792156219483,
0.006660096168518067,
0.006747136116027832,
0.006672383785247803,
0.006668288230895996,
0.006726655960083008,
0.006656000137329102,
0.0065710082054138185,
0.006714367866516113,
0.006595583915710449,
0.006504447937011719,
0.0064143362045288085,
0.006440959930419922,
0.0065699200630187984,
0.006523903846740723,
0.006296576023101807,
0.006292479991912842,
0.0062863359451293946,
0.006317024230957031,
0.006723584175109864,
0.006831103801727295,
0.0067717118263244626,
0.006845407962799073,
0.006913023948669434,
0.006945759773254395,
0.006714367866516113,
0.006606847763061524,
0.006468607902526856,
0.006478847980499268,
0.006464511871337891,
0.006336512088775635,
0.006406144142150879,
0.00637440013885498,
0.006436895847320556,
0.0064133119583129885,
0.006452223777770996,
0.006500351905822754,
0.006398943901062012,
0.006205440044403076,
0.006218751907348633,
0.006292479991912842,
0.0064143362045288085,
0.006251520156860352,
0.006187007904052734,
0.006174719810485839,
0.006189055919647217,
0.006205440044403076,
0.00624128007888794,
0.006624192237854004,
0.006505472183227539,
0.006482944011688232,
0.0064849920272827145,
0.006425600051879882,
0.00643887996673584,
0.006486015796661377,
0.006425600051879882,
0.006409215927124024,
0.006386688232421875,
0.006356959819793701,
0.006386688232421875,
0.006346752166748047,
0.006389791965484619,
0.006352896213531494,
0.0063508481979370115,
0.006402048110961914,
0.006437856197357178,
0.006408192157745361,
0.0063272957801818845,
0.006370272159576416,
0.006367231845855713,
0.006354944229125976,
0.006401023864746094,
0.006362048149108887,
0.006375423908233643,
0.006369279861450195,
0.006336512088775635,
0.006218751907348633,
0.0061931519508361815,
0.0062638077735900875,
0.006360064029693604,
0.0063569917678833006,
0.006546432018280029,
0.0064204797744750975,
0.006217728137969971,
0.0061972479820251464,
0.006237184047698975,
0.006425600051879882,
0.006503424167633057,
0.006556672096252441,
0.006585343837738037,
0.006457376003265381,
0.006492159843444824,
0.006561791896820069,
0.006474751949310303,
0.00652288007736206,
0.006421504020690918,
0.006481919765472412
]
},
"throughput": {
"unit": "samples/s",
"value": 152.23461159481525
},
"energy": {
"unit": "kWh",
"cpu": 7.470822225993201e-08,
"ram": 4.082765104990443e-08,
"gpu": 1.3615664281760805e-07,
"total": 2.516925161274445e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3973101.844210775
}
}
}
}