IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
12e13b7 verified
raw
history blame
12.3 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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.68768,
"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.23224169921875,
"mean": 7.23224169921875,
"stdev": 0.0,
"p50": 7.23224169921875,
"p90": 7.23224169921875,
"p95": 7.23224169921875,
"p99": 7.23224169921875,
"values": [
7.23224169921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0471449957953558e-06,
"ram": 5.581418246152717e-07,
"gpu": 1.7777792000010784e-06,
"total": 3.383066020411706e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.154624,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 149,
"total": 0.9963652791976931,
"mean": 0.006687015296628811,
"stdev": 0.00020357505125786506,
"p50": 0.0067276802062988285,
"p90": 0.006900927925109863,
"p95": 0.0070037504196166995,
"p99": 0.007085793342590332,
"values": [
0.007004159927368164,
0.007000063896179199,
0.007124991893768311,
0.007032832145690918,
0.007003136157989502,
0.007013376235961914,
0.006978559970855713,
0.006897600173950196,
0.007103487968444824,
0.0069016962051391606,
0.006868959903717041,
0.0069621758460998535,
0.006841343879699707,
0.006843391895294189,
0.006791168212890625,
0.006700032234191895,
0.006788127899169922,
0.006789120197296142,
0.006872064113616944,
0.006789120197296142,
0.00683622407913208,
0.006837247848510742,
0.00670307207107544,
0.006758399963378906,
0.00688640022277832,
0.006853631973266602,
0.006820864200592041,
0.006860799789428711,
0.006871039867401123,
0.006765567779541016,
0.006811647891998291,
0.006830080032348633,
0.006818816184997558,
0.006792191982269287,
0.006773759841918945,
0.006744063854217529,
0.006722559928894043,
0.0066826238632202144,
0.0067420158386230465,
0.006708223819732666,
0.006945792198181152,
0.006855648040771484,
0.006855679988861084,
0.006821887969970703,
0.006900735855102539,
0.007066624164581299,
0.006894591808319092,
0.006829055786132812,
0.006796288013458252,
0.006796288013458252,
0.0067952961921691896,
0.0068351998329162595,
0.006829055786132812,
0.006870016098022461,
0.006837247848510742,
0.00672051191329956,
0.0067041277885437015,
0.006725632190704346,
0.006781951904296875,
0.007053311824798584,
0.006703104019165039,
0.0067348480224609375,
0.006780928134918213,
0.00677785587310791,
0.0067276802062988285,
0.006812704086303711,
0.006809599876403808,
0.006816768169403077,
0.006859776020050049,
0.006897664070129395,
0.006874112129211426,
0.006823935985565186,
0.006875135898590088,
0.006863872051239014,
0.006822912216186523,
0.006751232147216797,
0.006811647891998291,
0.006778880119323731,
0.006680575847625733,
0.006685696125030518,
0.006583295822143555,
0.007058432102203369,
0.0068321280479431154,
0.0066304001808166506,
0.006393919944763184,
0.006437952041625976,
0.0064880638122558594,
0.006556672096252441,
0.006618112087249756,
0.006716415882110595,
0.006825984001159668,
0.006726655960083008,
0.00682700777053833,
0.006803520202636719,
0.006985727787017822,
0.006683648109436035,
0.0065075201988220215,
0.006516736030578613,
0.00658022403717041,
0.006495232105255127,
0.006595583915710449,
0.0065484800338745115,
0.006326272010803223,
0.006331391811370849,
0.0063170561790466305,
0.006620160102844238,
0.006462463855743408,
0.006435840129852295,
0.006670335769653321,
0.00663046407699585,
0.006666240215301514,
0.006474751949310303,
0.00648198413848877,
0.006371327877044678,
0.006460319995880127,
0.006452223777770996,
0.006403071880340576,
0.006416384220123291,
0.006405119895935059,
0.006435840129852295,
0.006435840129852295,
0.006394879817962646,
0.006425600051879882,
0.006403071880340576,
0.006428671836853027,
0.006457344055175781,
0.0064102401733398436,
0.0064133119583129885,
0.006415359973907471,
0.006429696083068847,
0.0064204797744750975,
0.006387712001800537,
0.006458367824554443,
0.006408192157745361,
0.0064245758056640625,
0.006482944011688232,
0.006441984176635742,
0.006436863899230957,
0.006472640037536621,
0.006436863899230957,
0.006445055961608887,
0.0064245758056640625,
0.0064430079460144046,
0.0064737281799316405,
0.006421504020690918,
0.006481919765472412,
0.0064767999649047855,
0.006440959930419922,
0.0064716157913208006
]
},
"throughput": {
"unit": "samples/s",
"value": 149.54354904857772
},
"energy": {
"unit": "kWh",
"cpu": 7.377009995646769e-08,
"ram": 4.0331338651294176e-08,
"gpu": 1.3589900450931613e-07,
"total": 2.50000443117078e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3999992.9101393186
}
}
}
}