IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2223554 verified
raw
history blame
10.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": "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.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 903.622656,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.9969550065994257,
"mean": 0.007668884666149433,
"stdev": 0.0004436874454334662,
"p50": 0.0074803361892700196,
"p90": 0.007922176218032838,
"p95": 0.007996365022659302,
"p99": 0.00982579184532165,
"values": [
0.010809344291687012,
0.010078207969665527,
0.00810598373413086,
0.008054719924926759,
0.00800972843170166,
0.007980031967163086,
0.007862271785736084,
0.007864319801330566,
0.007845888137817383,
0.007813119888305664,
0.00778547191619873,
0.00781824016571045,
0.007904255867004394,
0.007919583797454834,
0.007889952182769775,
0.007654399871826172,
0.007903232097625732,
0.007867392063140868,
0.007882751941680909,
0.00784281587600708,
0.007899136066436767,
0.00782431983947754,
0.00783462381362915,
0.007864319801330566,
0.007788544178009033,
0.0077916159629821775,
0.007829504013061523,
0.007768064022064209,
0.00790015983581543,
0.007888895988464355,
0.00791756820678711,
0.007964672088623047,
0.0079267840385437,
0.0078919677734375,
0.007827455997467042,
0.007888895988464355,
0.007877567768096923,
0.007931903839111328,
0.007824384212493896,
0.007773183822631836,
0.007786496162414551,
0.008056832313537597,
0.007963647842407226,
0.007848959922790527,
0.007858176231384278,
0.007799808025360107,
0.007823359966278077,
0.007782400131225586,
0.007846911907196046,
0.007921664237976075,
0.007977983951568603,
0.007888927936553955,
0.007795711994171142,
0.007360511779785156,
0.0073431038856506346,
0.007453695774078369,
0.007311391830444336,
0.0072848000526428225,
0.007171072006225586,
0.007315455913543701,
0.0072499198913574215,
0.007064576148986816,
0.007282688140869141,
0.007524352073669433,
0.007674880027770996,
0.007734272003173828,
0.00775161600112915,
0.007769087791442871,
0.007822336196899414,
0.009207807540893554,
0.007716864109039307,
0.0074967041015625,
0.007450623989105225,
0.007401440143585205,
0.00744755220413208,
0.007479296207427978,
0.007460864067077637,
0.007408639907836914,
0.007420928001403809,
0.00739737606048584,
0.007391232013702393,
0.007433152198791504,
0.0074403839111328125,
0.007436287879943848,
0.007426047801971435,
0.007418879985809326,
0.007450623989105225,
0.0074035201072692874,
0.007413760185241699,
0.007444479942321777,
0.007481376171112061,
0.007464960098266602,
0.00743833589553833,
0.0074403839111328125,
0.007408639907836914,
0.007391232013702393,
0.007457791805267334,
0.00743936014175415,
0.0074711041450500485,
0.00744652795791626,
0.007449600219726562,
0.007423999786376953,
0.007406527996063232,
0.00739737606048584,
0.007464960098266602,
0.007402560234069824,
0.007393280029296875,
0.00744652795791626,
0.0076267518997192385,
0.007450623989105225,
0.007385087966918945,
0.007396351814270019,
0.007402495861053467,
0.007419904232025146,
0.007435328006744385,
0.0074403839111328125,
0.007404543876647949,
0.007374847888946533,
0.007426047801971435,
0.007457791805267334,
0.007444479942321777,
0.007417856216430664,
0.007392255783081054,
0.0073994240760803225,
0.0073471999168395995,
0.007386112213134765,
0.007461887836456299,
0.007525375843048096,
0.007408639907836914,
0.0074106879234313965
]
},
"throughput": {
"unit": "samples/s",
"value": 130.39705818161724
},
"energy": {
"unit": "kWh",
"cpu": 8.514930922833701e-08,
"ram": 4.6547032335449026e-08,
"gpu": 1.464901965571432e-07,
"total": 2.781865381209292e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3594710.2500168234
}
}
}
}