
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
40fbc9e
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.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 720.36352, | |
"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.16052880859375, | |
"mean": 7.16052880859375, | |
"stdev": 0.0, | |
"p50": 7.16052880859375, | |
"p90": 7.16052880859375, | |
"p95": 7.16052880859375, | |
"p99": 7.16052880859375, | |
"values": [ | |
7.16052880859375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0362494322988723e-06, | |
"ram": 5.488363497906334e-07, | |
"gpu": 1.87250149800023e-06, | |
"total": 3.4575872800897357e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.95744, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 151, | |
"total": 0.9962660484313963, | |
"mean": 0.0065977884002079235, | |
"stdev": 0.000201352952893686, | |
"p50": 0.006672383785247803, | |
"p90": 0.006825984001159668, | |
"p95": 0.006913023948669434, | |
"p99": 0.006980607986450196, | |
"values": [ | |
0.006971392154693603, | |
0.006998015880584717, | |
0.006989823818206787, | |
0.006959104061126709, | |
0.006920191764831543, | |
0.006930431842803955, | |
0.00694374418258667, | |
0.006825984001159668, | |
0.006772736072540283, | |
0.006789120197296142, | |
0.006809599876403808, | |
0.0067758078575134275, | |
0.006829055786132812, | |
0.006722559928894043, | |
0.006699007987976074, | |
0.006726655960083008, | |
0.006823967933654785, | |
0.0068280320167541505, | |
0.006789120197296142, | |
0.0067758078575134275, | |
0.006736832141876221, | |
0.006686719894409179, | |
0.006772736072540283, | |
0.0068280320167541505, | |
0.006838272094726563, | |
0.006765567779541016, | |
0.006792191982269287, | |
0.00688640022277832, | |
0.006721536159515381, | |
0.00673689603805542, | |
0.0067758078575134275, | |
0.0067758078575134275, | |
0.006729728221893311, | |
0.0066447358131408694, | |
0.006648831844329834, | |
0.006677504062652588, | |
0.006694911956787109, | |
0.006691840171813965, | |
0.0067041277885437015, | |
0.0066938881874084475, | |
0.006782976150512696, | |
0.006776832103729248, | |
0.006762495994567871, | |
0.006813695907592773, | |
0.006775904178619385, | |
0.0067348480224609375, | |
0.006708223819732666, | |
0.006692863941192627, | |
0.006760447978973389, | |
0.006750207901000976, | |
0.0067686400413513184, | |
0.006762495994567871, | |
0.006759424209594727, | |
0.00667955207824707, | |
0.006660096168518067, | |
0.006708191871643066, | |
0.006761472225189209, | |
0.006791168212890625, | |
0.006651904106140137, | |
0.006707200050354004, | |
0.006706175804138184, | |
0.006658048152923584, | |
0.00673686408996582, | |
0.006699007987976074, | |
0.006706175804138184, | |
0.006820864200592041, | |
0.006854656219482422, | |
0.006807551860809326, | |
0.00679423999786377, | |
0.006905856132507324, | |
0.00677785587310791, | |
0.0067420158386230465, | |
0.0067420158386230465, | |
0.006639616012573242, | |
0.006716415882110595, | |
0.0066979842185974124, | |
0.0066447358131408694, | |
0.006582272052764892, | |
0.006497280120849609, | |
0.00667852783203125, | |
0.006657023906707763, | |
0.006457344055175781, | |
0.006401023864746094, | |
0.006391808032989502, | |
0.006515711784362793, | |
0.006489088058471679, | |
0.0066416640281677245, | |
0.006672383785247803, | |
0.0066938881874084475, | |
0.006721471786499024, | |
0.006965248107910156, | |
0.006710271835327148, | |
0.006563839912414551, | |
0.006460415840148926, | |
0.006409215927124024, | |
0.006408192157745361, | |
0.00643071985244751, | |
0.006386688232421875, | |
0.0064102401733398436, | |
0.006378496170043945, | |
0.006384640216827392, | |
0.006397952079772949, | |
0.00636518383026123, | |
0.006393856048583985, | |
0.006348800182342529, | |
0.006386688232421875, | |
0.006396927833557129, | |
0.006338560104370118, | |
0.006336512088775635, | |
0.006346752166748047, | |
0.006348800182342529, | |
0.00638976001739502, | |
0.00642252779006958, | |
0.006392831802368164, | |
0.006368256092071533, | |
0.006376448154449463, | |
0.006396959781646729, | |
0.0063498239517211915, | |
0.006375423908233643, | |
0.006343679904937744, | |
0.0063539199829101565, | |
0.006388735771179199, | |
0.006331391811370849, | |
0.006348832130432129, | |
0.006355967998504639, | |
0.006371327877044678, | |
0.006360064029693604, | |
0.006351871967315674, | |
0.0063836159706115725, | |
0.006342656135559082, | |
0.006347775936126709, | |
0.006370304107666015, | |
0.0063508481979370115, | |
0.006355008125305176, | |
0.006348800182342529, | |
0.0063508481979370115, | |
0.006346752166748047, | |
0.006347775936126709, | |
0.00637337589263916, | |
0.006338560104370118, | |
0.006329343795776367, | |
0.006377471923828125, | |
0.006355967998504639, | |
0.0063569917678833006, | |
0.006362112045288086, | |
0.006364160060882569, | |
0.006388735771179199, | |
0.006385663986206055, | |
0.006386688232421875, | |
0.006362112045288086, | |
0.0063539199829101565 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.56593987895792 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.535316332986084e-08, | |
"ram": 4.116498216674873e-08, | |
"gpu": 1.4442346293671211e-07, | |
"total": 2.6094160843332164e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3832274.990577173 | |
} | |
} | |
} | |
} |