IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a36703b 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": {},
"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,
"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": 717.008896,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.376128
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1501708984375,
"mean": 7.1501708984375,
"stdev": 0.0,
"p50": 7.1501708984375,
"p90": 7.1501708984375,
"p95": 7.1501708984375,
"p99": 7.1501708984375,
"values": [
7.1501708984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.052715215418074e-06,
"ram": 5.611593161200782e-07,
"gpu": 1.6466679839998236e-06,
"total": 3.2605425155379757e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 908.94336,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.9968157787322993,
"mean": 0.006645438524881998,
"stdev": 0.0003814234708612035,
"p50": 0.00685363221168518,
"p90": 0.007013376235961914,
"p95": 0.007053552031517029,
"p99": 0.007244584913253783,
"values": [
0.007359488010406494,
0.007124991893768311,
0.007095295906066895,
0.007000031948089599,
0.007023615837097168,
0.006937568187713623,
0.007027711868286133,
0.007013376235961914,
0.007003136157989502,
0.00693555212020874,
0.007023615837097168,
0.007068672180175781,
0.006947840213775635,
0.006903808116912841,
0.006941696166992187,
0.006975488185882568,
0.006997056007385254,
0.006964223861694336,
0.007093152046203613,
0.007031807899475098,
0.007008255958557129,
0.0069283838272094726,
0.006949888229370117,
0.007057407855987549,
0.0069816322326660156,
0.0069918718338012695,
0.006940671920776367,
0.006972415924072266,
0.006968319892883301,
0.00693555212020874,
0.006895616054534912,
0.006966271877288818,
0.006896639823913574,
0.006812672138214112,
0.0068351998329162595,
0.0068914880752563475,
0.006865920066833496,
0.006820864200592041,
0.0069550080299377445,
0.006947840213775635,
0.0069816322326660156,
0.006971392154693603,
0.007032832145690918,
0.007006207942962647,
0.006988800048828125,
0.006904831886291504,
0.006978528022766113,
0.006977536201477051,
0.0069621758460998535,
0.00687820816040039,
0.006939648151397705,
0.006918144226074219,
0.006895616054534912,
0.006817791938781738,
0.006896639823913574,
0.006904831886291504,
0.006961152076721191,
0.006834112167358399,
0.006879231929779053,
0.0068915200233459475,
0.006840320110321045,
0.006882304191589355,
0.006872064113616944,
0.0069283838272094726,
0.00694374418258667,
0.007055424213409424,
0.006988800048828125,
0.007013376235961914,
0.006998015880584717,
0.006933504104614257,
0.006964223861694336,
0.006968319892883301,
0.006856704235076904,
0.006985727787017822,
0.0068689918518066405,
0.006883327960968018,
0.0067010560035705566,
0.006740992069244385,
0.006956031799316406,
0.006754303932189941,
0.006608895778656006,
0.0065812478065490725,
0.006628287792205811,
0.00682700777053833,
0.006767615795135498,
0.006850560188293457,
0.006806528091430664,
0.006850560188293457,
0.006912000179290771,
0.006922239780426025,
0.007051263809204102,
0.007512063980102539,
0.0064143362045288085,
0.006260735988616943,
0.006285312175750732,
0.006296576023101807,
0.006253568172454834,
0.006232063770294189,
0.006209536075592041,
0.006199295997619629,
0.006160384178161621,
0.006212607860565185,
0.006155263900756836,
0.0061634559631347655,
0.006141952037811279,
0.006280191898345947,
0.0061859841346740725,
0.006161471843719482,
0.006160384178161621,
0.006146048069000244,
0.006171648025512695,
0.006135871887207031,
0.006166528224945069,
0.006149119853973388,
0.006169600009918213,
0.006136832237243653,
0.0061972479820251464,
0.006159359931945801,
0.006142975807189942,
0.006104063987731933,
0.006307839870452881,
0.006176767826080322,
0.006120448112487793,
0.006095871925354004,
0.006080512046813965,
0.006121471881866455,
0.0061521921157836916,
0.006180863857269287,
0.006149119853973388,
0.006161407947540283,
0.006221824169158936,
0.00613478422164917,
0.006187007904052734,
0.006403071880340576,
0.006217728137969971,
0.006157311916351318,
0.0061859841346740725,
0.006173696041107178,
0.006259712219238281,
0.006158336162567139,
0.006164480209350586,
0.0061562881469726565,
0.006119423866271972,
0.006146048069000244,
0.006130688190460205,
0.00613478422164917,
0.00621670389175415,
0.006128640174865723,
0.006150144100189209,
0.006205440044403076
]
},
"throughput": {
"unit": "samples/s",
"value": 150.4791589382368
},
"energy": {
"unit": "kWh",
"cpu": 7.22921334792605e-08,
"ram": 3.952634118573902e-08,
"gpu": 1.3298113619512239e-07,
"total": 2.447996108601219e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4084973.8138325647
}
}
}
}