IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
48b7e52 verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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",
"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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"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": 907.329536,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.002634109020233,
"mean": 0.007426919326075801,
"stdev": 0.0002846890124735225,
"p50": 0.00740556812286377,
"p90": 0.007623884677886963,
"p95": 0.007836057710647581,
"p99": 0.008487628669738768,
"values": [
0.008538111686706543,
0.008247296333312988,
0.00838963222503662,
0.008261631965637208,
0.008242176055908204,
0.00880844783782959,
0.007468031883239746,
0.007085055828094483,
0.00709222412109375,
0.0070256638526916505,
0.007015423774719238,
0.007004159927368164,
0.006998015880584717,
0.007003136157989502,
0.007049215793609619,
0.007097343921661377,
0.007060480117797851,
0.007159808158874512,
0.007077888011932373,
0.0070891518592834475,
0.007143424034118652,
0.0070830078125,
0.007169055938720703,
0.007077888011932373,
0.007090176105499267,
0.007038976192474365,
0.007073791980743408,
0.007094272136688232,
0.007103487968444824,
0.007080959796905518,
0.007049215793609619,
0.007071743965148926,
0.007064576148986816,
0.007053311824798584,
0.007225344181060791,
0.0074291200637817386,
0.00738918399810791,
0.007415808200836181,
0.00745472002029419,
0.00745472002029419,
0.0073779520988464355,
0.007423999786376953,
0.007458816051483155,
0.007360511779785156,
0.007394303798675537,
0.007401472091674805,
0.00738918399810791,
0.007360511779785156,
0.007370751857757568,
0.007622655868530274,
0.007398399829864502,
0.007394303798675537,
0.0073768959045410155,
0.007402495861053467,
0.007426047801971435,
0.0075345921516418455,
0.007374847888946533,
0.007425024032592774,
0.007428095817565918,
0.0074065918922424315,
0.00742195177078247,
0.007394368171691894,
0.007393280029296875,
0.00734822416305542,
0.007383039951324463,
0.0073820161819458,
0.008013824462890624,
0.007599103927612305,
0.007524352073669433,
0.007470111846923828,
0.007371776103973389,
0.007357408046722412,
0.0073870720863342286,
0.007392223834991455,
0.007426047801971435,
0.0074291200637817386,
0.0073820161819458,
0.007359488010406494,
0.007358463764190673,
0.007371776103973389,
0.007375807762145996,
0.007391232013702393,
0.007362559795379638,
0.007523327827453613,
0.00738918399810791,
0.007360511779785156,
0.007377920150756836,
0.007663616180419922,
0.0074414081573486324,
0.007415808200836181,
0.00740556812286377,
0.007629824161529541,
0.007527423858642578,
0.007759871959686279,
0.007624703884124756,
0.007641024112701416,
0.007614463806152344,
0.0076267518997192385,
0.00759603214263916,
0.007619584083557129,
0.007611392021179199,
0.007569407939910889,
0.007582719802856445,
0.007553023815155029,
0.007634943962097168,
0.007525375843048096,
0.007559167861938477,
0.007544832229614258,
0.0075632638931274416,
0.007580671787261963,
0.007539711952209473,
0.007535615921020508,
0.007519231796264648,
0.007522304058074952,
0.0074741759300231934,
0.007529471874237061,
0.007610367774963379,
0.0074291200637817386,
0.007416831970214844,
0.007416831970214844,
0.0074065918922424315,
0.007427072048187256,
0.007477248191833496,
0.007549952030181885,
0.007513088226318359,
0.007491583824157715,
0.007420928001403809,
0.007417856216430664,
0.007375872135162354,
0.007345151901245117,
0.007316480159759522,
0.007378943920135498,
0.007360479831695557,
0.007346176147460938,
0.007372799873352051
]
},
"throughput": {
"unit": "samples/s",
"value": 134.64532952297128
},
"energy": {
"unit": "kWh",
"cpu": 8.802546149909251e-08,
"ram": 4.8108606161905396e-08,
"gpu": 1.76405490918513e-07,
"total": 3.125395585795109e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3199594.971417346
}
}
}
}