IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
83d30af verified
raw
history blame
13.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 822.70208,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07492505645751953
],
"count": 1,
"total": 0.07492505645751953,
"mean": 0.07492505645751953,
"p50": 0.07492505645751953,
"p90": 0.07492505645751953,
"p95": 0.07492505645751953,
"p99": 0.07492505645751953,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010641700331319537,
"ram": 5.8305127957919845e-05,
"gpu": 0.0001437473372199998,
"total": 0.00030846946849111506
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1100.34944,
"max_global_vram": 1207.435264,
"max_process_vram": 0.0,
"max_reserved": 559.939584,
"max_allocated": 510.51264
},
"latency": {
"unit": "s",
"values": [
0.006127647876739502,
0.005853184223175049,
0.005889023780822754,
0.005814271926879883,
0.005833727836608887,
0.00581324815750122,
0.005811200141906738,
0.00581324815750122,
0.005783552169799804,
0.005780479907989502,
0.005787648200988769,
0.005794816017150879,
0.005803008079528809,
0.005893119812011719,
0.005851136207580566,
0.005808127880096436,
0.00577023983001709,
0.005783552169799804,
0.005791679859161377,
0.0057712640762329105,
0.005811168193817139,
0.005851071834564209,
0.005785600185394287,
0.005776383876800537,
0.006034431934356689,
0.007066624164581299,
0.006121471881866455,
0.006100959777832031,
0.0060405759811401364,
0.006073408126831055,
0.006056960105895996,
0.006103040218353272,
0.006147071838378906,
0.006106112003326416,
0.006031360149383545,
0.00618393611907959,
0.006054912090301514,
0.006093791961669922,
0.006091775894165039,
0.00623308801651001,
0.006188032150268555,
0.006161407947540283,
0.0061337599754333495,
0.006078464031219482,
0.0060999679565429685,
0.006081535816192627,
0.006118400096893311,
0.006064127922058105,
0.006109183788299561,
0.006056960105895996,
0.006099904060363769,
0.0060703039169311525,
0.006119423866271972,
0.006023231983184814,
0.006114304065704346,
0.0060661759376525876,
0.0060631041526794435,
0.006072319984436035,
0.006039552211761475,
0.006077439785003662,
0.006046688079833985,
0.006065152168273926,
0.006047743797302246,
0.006062079906463623,
0.006048768043518066,
0.006064127922058105,
0.00602623987197876,
0.0060590081214904785,
0.006046815872192383,
0.006065120220184326,
0.0060364799499511715,
0.006074368000030517,
0.006218751907348633,
0.006072319984436035,
0.006048768043518066,
0.006071296215057373,
0.006031392097473144,
0.006094848155975342,
0.006044672012329101,
0.006030335903167725,
0.006088704109191895,
0.006051839828491211,
0.006061056137084961,
0.0060364799499511715,
0.006141952037811279,
0.006039552211761475,
0.006075327873229981,
0.006080512046813965,
0.006067200183868408,
0.006038496017456055,
0.006105088233947754,
0.006032383918762207,
0.006056960105895996,
0.006037504196166992,
0.006054912090301514,
0.006005760192871094,
0.006028351783752442,
0.006032383918762207,
0.006045695781707764,
0.006021120071411133,
0.0060590081214904785,
0.0059985918998718265,
0.006120448112487793,
0.0062638077735900875,
0.006060031890869141,
0.00612556791305542,
0.006120448112487793,
0.006082560062408447,
0.006034431934356689,
0.006073344230651856,
0.006089727878570556,
0.006119423866271972,
0.006048768043518066,
0.006203423976898193,
0.006602752208709717,
0.006501376152038574,
0.0062873601913452145,
0.0060702719688415525,
0.0060702719688415525,
0.006009856224060059,
0.005996543884277344,
0.00602623987197876,
0.006034431934356689,
0.0060590081214904785,
0.006008831977844238,
0.006005760192871094,
0.005991424083709717,
0.006008831977844238,
0.006030367851257324,
0.006065152168273926,
0.006109183788299561,
0.006194176197052002,
0.006243328094482422,
0.006176735877990723,
0.006277120113372803,
0.00626585578918457,
0.006340640068054199,
0.006628352165222168,
0.006334464073181153,
0.006085631847381592,
0.006135744094848633,
0.0061972479820251464,
0.006110208034515381,
0.006049791812896729,
0.006116352081298828,
0.0060631041526794435,
0.006086656093597412,
0.006119423866271972,
0.00608358383178711,
0.0060375361442565915,
0.006056960105895996,
0.006034431934356689,
0.006021120071411133,
0.006020095825195313,
0.006014976024627685,
0.006113279819488526,
0.006103040218353272,
0.00601907205581665,
0.006012928009033203,
0.006037504196166992,
0.006003712177276611,
0.006076416015625,
0.00624128007888794,
0.00615008020401001,
0.006055935859680176
],
"count": 165,
"total": 1.0003158106803895,
"mean": 0.006062520064729634,
"p50": 0.006061056137084961,
"p90": 0.006191718578338623,
"p95": 0.006265446186065673,
"p99": 0.006611968193054199,
"stdev": 0.00015581891205291456,
"stdev_": 2.5702003521511396
},
"throughput": {
"unit": "samples/s",
"value": 329.8958153780878
},
"energy": {
"unit": "kWh",
"cpu": 7.038096393408461e-08,
"ram": 3.845154297044908e-08,
"gpu": 1.8359810874556755e-07,
"total": 2.9243061565010127e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 6839229.181095859
}
}
}
}