
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c95c567
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": {}, | |
"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.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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.804672, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 155, | |
"total": 0.9963036789894105, | |
"mean": 0.006427765670899423, | |
"stdev": 0.0001464225809075445, | |
"p50": 0.006393856048583985, | |
"p90": 0.0065888257026672364, | |
"p95": 0.006675456047058105, | |
"p99": 0.00694667275428772, | |
"values": [ | |
0.00722431993484497, | |
0.006873087882995605, | |
0.0066375679969787596, | |
0.0065730881690979, | |
0.006574079990386963, | |
0.006624256134033203, | |
0.0065474557876586915, | |
0.0065372161865234375, | |
0.006619135856628418, | |
0.006404064178466797, | |
0.0064440321922302245, | |
0.006401023864746094, | |
0.00636518383026123, | |
0.006405119895935059, | |
0.006364160060882569, | |
0.006354944229125976, | |
0.0063201279640197755, | |
0.006404096126556396, | |
0.006467616081237793, | |
0.006441984176635742, | |
0.006536191940307618, | |
0.006996992111206054, | |
0.006845439910888672, | |
0.006744063854217529, | |
0.006370304107666015, | |
0.006404096126556396, | |
0.006487040042877197, | |
0.006482944011688232, | |
0.006500351905822754, | |
0.006466559886932373, | |
0.006487040042877197, | |
0.006366208076477051, | |
0.006494207859039307, | |
0.0064430079460144046, | |
0.006428671836853027, | |
0.0064767999649047855, | |
0.0064174079895019534, | |
0.006329343795776367, | |
0.006307839870452881, | |
0.00628223991394043, | |
0.006397952079772949, | |
0.0063508481979370115, | |
0.006347775936126709, | |
0.006421504020690918, | |
0.0063508481979370115, | |
0.006487040042877197, | |
0.0065710082054138185, | |
0.006598656177520752, | |
0.006601727962493896, | |
0.006448128223419189, | |
0.006525951862335205, | |
0.0064737281799316405, | |
0.006334464073181153, | |
0.006487040042877197, | |
0.00648089599609375, | |
0.006491104125976563, | |
0.006427648067474365, | |
0.006426623821258545, | |
0.0064767999649047855, | |
0.006326272010803223, | |
0.006310912132263183, | |
0.0064757437705993655, | |
0.00637440013885498, | |
0.006461440086364746, | |
0.006462431907653808, | |
0.006375423908233643, | |
0.006400000095367431, | |
0.006346752166748047, | |
0.006416384220123291, | |
0.006388735771179199, | |
0.0064143362045288085, | |
0.006411200046539307, | |
0.00638976001739502, | |
0.006493216037750244, | |
0.006494207859039307, | |
0.006469632148742676, | |
0.006471680164337158, | |
0.0064767999649047855, | |
0.0064133119583129885, | |
0.006425600051879882, | |
0.006441984176635742, | |
0.0063508481979370115, | |
0.006386655807495117, | |
0.006426623821258545, | |
0.006343616008758545, | |
0.006301695823669433, | |
0.00632422399520874, | |
0.006190080165863037, | |
0.006358975887298584, | |
0.006310912132263183, | |
0.006107135772705078, | |
0.006049791812896729, | |
0.006032383918762207, | |
0.006387712001800537, | |
0.006561791896820069, | |
0.006675456047058105, | |
0.0066334400177001955, | |
0.006675456047058105, | |
0.006760447978973389, | |
0.006903808116912841, | |
0.006618112087249756, | |
0.006368256092071533, | |
0.006387712001800537, | |
0.00637337589263916, | |
0.006363135814666748, | |
0.006409215927124024, | |
0.0063498239517211915, | |
0.006377471923828125, | |
0.00637337589263916, | |
0.006305823802947998, | |
0.006313983917236328, | |
0.0062638077735900875, | |
0.006285312175750732, | |
0.006314015865325927, | |
0.006385663986206055, | |
0.00642252779006958, | |
0.006355967998504639, | |
0.006403071880340576, | |
0.006405119895935059, | |
0.0063569917678833006, | |
0.006379519939422608, | |
0.006310912132263183, | |
0.006377471923828125, | |
0.006342656135559082, | |
0.006393856048583985, | |
0.006366208076477051, | |
0.006347775936126709, | |
0.006384640216827392, | |
0.006364128112792969, | |
0.006348800182342529, | |
0.0063498239517211915, | |
0.006312960147857666, | |
0.006333439826965332, | |
0.0063907837867736815, | |
0.006344704151153564, | |
0.006339583873748779, | |
0.0063610877990722655, | |
0.006348800182342529, | |
0.006379519939422608, | |
0.006347775936126709, | |
0.0063569917678833006, | |
0.006388735771179199, | |
0.006503424167633057, | |
0.006405119895935059, | |
0.0063569917678833006, | |
0.006346752166748047, | |
0.006395904064178467, | |
0.006343679904937744, | |
0.006395904064178467, | |
0.006336575984954834, | |
0.0063170561790466305, | |
0.006363135814666748, | |
0.006359039783477783, | |
0.006375423908233643, | |
0.006331391811370849 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 155.5750553457983 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.188039192234178e-08, | |
"ram": 3.9135237377789154e-08, | |
"gpu": 1.3110954263855346e-07, | |
"total": 2.421251719386844e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4130095.1569514596 | |
} | |
} | |
} | |
} |