
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
250ef52
verified
{ | |
"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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 720.867328, | |
"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.2852880859375, | |
"mean": 7.2852880859375, | |
"stdev": 0.0, | |
"p50": 7.2852880859375, | |
"p90": 7.2852880859375, | |
"p95": 7.2852880859375, | |
"p99": 7.2852880859375, | |
"values": [ | |
7.2852880859375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0586485266685487e-06, | |
"ram": 5.63826618171106e-07, | |
"gpu": 1.7452791740008022e-06, | |
"total": 3.367754318840457e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 913.05984, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 1.0016533122062683, | |
"mean": 0.006379957402587698, | |
"stdev": 0.00018846856723886838, | |
"p50": 0.006347775936126709, | |
"p90": 0.0065228928565979, | |
"p95": 0.006640844917297363, | |
"p99": 0.007183360004425048, | |
"values": [ | |
0.007384064197540283, | |
0.0070256638526916505, | |
0.006976511955261231, | |
0.007006207942962647, | |
0.006959104061126709, | |
0.006914048194885254, | |
0.007422976016998291, | |
0.006393856048583985, | |
0.006119423866271972, | |
0.006146048069000244, | |
0.006139872074127198, | |
0.006173696041107178, | |
0.006151167869567871, | |
0.006137856006622314, | |
0.006182911872863769, | |
0.006512639999389648, | |
0.006160384178161621, | |
0.006102015972137451, | |
0.006272031784057617, | |
0.006275072097778321, | |
0.0064102401733398436, | |
0.006423552036285401, | |
0.0063088321685791015, | |
0.006344704151153564, | |
0.00633241605758667, | |
0.006343679904937744, | |
0.006295551776885986, | |
0.006295519828796387, | |
0.006311935901641846, | |
0.006247424125671387, | |
0.0063211522102355954, | |
0.006397952079772949, | |
0.006344704151153564, | |
0.0064174079895019534, | |
0.00626470422744751, | |
0.006253568172454834, | |
0.006235136032104492, | |
0.006271999835968017, | |
0.006292479991912842, | |
0.006258815765380859, | |
0.006269951820373535, | |
0.006316031932830811, | |
0.006306816101074219, | |
0.006309887886047363, | |
0.00628223991394043, | |
0.006245312213897705, | |
0.006335487842559814, | |
0.006256671905517578, | |
0.0063836159706115725, | |
0.006628352165222168, | |
0.006456319808959961, | |
0.006235136032104492, | |
0.006366144180297852, | |
0.0063272957801818845, | |
0.006384640216827392, | |
0.00637337589263916, | |
0.006246399879455566, | |
0.006235136032104492, | |
0.006345727920532227, | |
0.006242335796356201, | |
0.006304768085479737, | |
0.006259712219238281, | |
0.00632531213760376, | |
0.006230016231536865, | |
0.006375423908233643, | |
0.006243328094482422, | |
0.006322175979614258, | |
0.006360064029693604, | |
0.006231040000915527, | |
0.006251520156860352, | |
0.006253439903259278, | |
0.006316031932830811, | |
0.006240255832672119, | |
0.0062566399574279785, | |
0.0062904319763183595, | |
0.0062269439697265625, | |
0.006277120113372803, | |
0.0062259202003479, | |
0.006338560104370118, | |
0.006295551776885986, | |
0.0062995200157165525, | |
0.006220895767211914, | |
0.00632422399520874, | |
0.006424352169036866, | |
0.00626364803314209, | |
0.006244351863861084, | |
0.0062566399574279785, | |
0.00652288007736206, | |
0.006552576065063476, | |
0.006396927833557129, | |
0.006470655918121338, | |
0.006355967998504639, | |
0.0063569917678833006, | |
0.006345727920532227, | |
0.0063415999412536625, | |
0.006426623821258545, | |
0.006387712001800537, | |
0.006330368041992188, | |
0.006344863891601563, | |
0.006353983879089356, | |
0.0063640961647033695, | |
0.006347807884216308, | |
0.0063508481979370115, | |
0.00652291202545166, | |
0.006460415840148926, | |
0.006359039783477783, | |
0.006341631889343262, | |
0.006338560104370118, | |
0.006454112052917481, | |
0.006525951862335205, | |
0.0065075201988220215, | |
0.006446944236755371, | |
0.0064174079895019534, | |
0.006499328136444092, | |
0.0065054078102111815, | |
0.006334464073181153, | |
0.006296544075012207, | |
0.006238207817077636, | |
0.006375552177429199, | |
0.0063805441856384275, | |
0.006575104236602783, | |
0.006459519863128662, | |
0.006372352123260498, | |
0.0064430079460144046, | |
0.006441984176635742, | |
0.006545407772064209, | |
0.0064481601715087895, | |
0.0064430079460144046, | |
0.006403071880340576, | |
0.0064133119583129885, | |
0.006418303966522217, | |
0.006387712001800537, | |
0.006690815925598144, | |
0.006423552036285401, | |
0.006407040119171143, | |
0.006387712001800537, | |
0.006419456005096436, | |
0.006409215927124024, | |
0.006377471923828125, | |
0.0064512319564819336, | |
0.00638259220123291, | |
0.006535168170928955, | |
0.0065474557876586915, | |
0.006370304107666015, | |
0.006368256092071533, | |
0.006368256092071533, | |
0.006351871967315674, | |
0.00634662389755249, | |
0.006371327877044678, | |
0.006347775936126709, | |
0.0063712639808654785, | |
0.006341631889343262, | |
0.006358016014099121, | |
0.006312960147857666, | |
0.006385663986206055, | |
0.006311935901641846, | |
0.006378496170043945 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.74085842554405 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.323880254486462e-08, | |
"ram": 4.004593622258219e-08, | |
"gpu": 1.4125354235803191e-07, | |
"total": 2.5453828112547873e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3928682.1439130954 | |
} | |
} | |
} | |
} |