
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2c50964
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": 719.962112, | |
"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.25873876953125, | |
"mean": 7.25873876953125, | |
"stdev": 0.0, | |
"p50": 7.25873876953125, | |
"p90": 7.25873876953125, | |
"p95": 7.25873876953125, | |
"p99": 7.25873876953125, | |
"values": [ | |
7.25873876953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0533597734239366e-06, | |
"ram": 5.616807435887002e-07, | |
"gpu": 1.6472235400003324e-06, | |
"total": 3.262264057012969e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 913.48992, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 1.000768925189972, | |
"mean": 0.006540973367254718, | |
"stdev": 0.00023494486236929745, | |
"p50": 0.006455232143402099, | |
"p90": 0.006851366329193116, | |
"p95": 0.006984499263763428, | |
"p99": 0.007231242389678952, | |
"values": [ | |
0.007090176105499267, | |
0.007069695949554444, | |
0.007073791980743408, | |
0.007009280204772949, | |
0.006979584217071533, | |
0.0069550080299377445, | |
0.006666240215301514, | |
0.0065474557876586915, | |
0.00653926420211792, | |
0.006561791896820069, | |
0.006589439868927002, | |
0.0066447358131408694, | |
0.0069918718338012695, | |
0.006752255916595459, | |
0.006759424209594727, | |
0.006772704124450683, | |
0.0068504958152771, | |
0.006846464157104492, | |
0.006851583957672119, | |
0.006621183872222901, | |
0.006519807815551758, | |
0.006523903846740723, | |
0.0066119680404663084, | |
0.00658022403717041, | |
0.006593535900115967, | |
0.006665215969085693, | |
0.006555647850036621, | |
0.006549503803253174, | |
0.007054336071014404, | |
0.006887423992156983, | |
0.006837247848510742, | |
0.0066007041931152345, | |
0.006523903846740723, | |
0.006428671836853027, | |
0.006452223777770996, | |
0.00643891191482544, | |
0.006574079990386963, | |
0.006493120193481445, | |
0.0064019842147827145, | |
0.00648089599609375, | |
0.0064880638122558594, | |
0.006545407772064209, | |
0.006617087841033936, | |
0.0065484800338745115, | |
0.006625279903411865, | |
0.006614016056060791, | |
0.006732800006866455, | |
0.007384064197540283, | |
0.006881279945373535, | |
0.006914048194885254, | |
0.006833151817321777, | |
0.006847487926483154, | |
0.006897664070129395, | |
0.006838272094726563, | |
0.006709248065948486, | |
0.006765567779541016, | |
0.006788095951080322, | |
0.006819839954376221, | |
0.006838240146636963, | |
0.006715392112731934, | |
0.006768608093261718, | |
0.006694911956787109, | |
0.006731776237487793, | |
0.006755328178405762, | |
0.006738944053649902, | |
0.006907904148101806, | |
0.006658048152923584, | |
0.006565887928009034, | |
0.006549503803253174, | |
0.00658739185333252, | |
0.006540287971496582, | |
0.006612991809844971, | |
0.007422976016998291, | |
0.00682700777053833, | |
0.0064471039772033695, | |
0.006532095909118653, | |
0.006520832061767578, | |
0.006478847980499268, | |
0.00638156795501709, | |
0.006292479991912842, | |
0.006452159881591797, | |
0.006455232143402099, | |
0.006260735988616943, | |
0.006171648025512695, | |
0.006139904022216797, | |
0.00618393611907959, | |
0.0061931519508361815, | |
0.006294528007507324, | |
0.006333439826965332, | |
0.006284287929534912, | |
0.006338560104370118, | |
0.006397952079772949, | |
0.006663167953491211, | |
0.0065177597999572755, | |
0.006428671836853027, | |
0.0064133119583129885, | |
0.006405119895935059, | |
0.006421504020690918, | |
0.00643174409866333, | |
0.006409215927124024, | |
0.00638976001739502, | |
0.006325247764587402, | |
0.006363135814666748, | |
0.006464511871337891, | |
0.006369279861450195, | |
0.006388735771179199, | |
0.006370304107666015, | |
0.00638156795501709, | |
0.006427648067474365, | |
0.006359039783477783, | |
0.006367231845855713, | |
0.006346752166748047, | |
0.006362112045288086, | |
0.006342656135559082, | |
0.0063446397781372075, | |
0.006371327877044678, | |
0.006364160060882569, | |
0.0063610877990722655, | |
0.00638259220123291, | |
0.0063610877990722655, | |
0.0063498239517211915, | |
0.006355967998504639, | |
0.006338560104370118, | |
0.006371327877044678, | |
0.006369279861450195, | |
0.006342656135559082, | |
0.0063272957801818845, | |
0.0063508481979370115, | |
0.006393856048583985, | |
0.006323200225830078, | |
0.006356927871704101, | |
0.006340608119964599, | |
0.006351871967315674, | |
0.0063498239517211915, | |
0.0063272957801818845, | |
0.006350815773010254, | |
0.006334464073181153, | |
0.006343679904937744, | |
0.006333439826965332, | |
0.00633241605758667, | |
0.006375423908233643, | |
0.006340608119964599, | |
0.006400000095367431, | |
0.006375423908233643, | |
0.006354944229125976, | |
0.006367231845855713, | |
0.00637440013885498, | |
0.006348800182342529, | |
0.006372352123260498, | |
0.006377471923828125, | |
0.00637440013885498, | |
0.006377471923828125, | |
0.0063835840225219724 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.8824448370603 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.614194179362382e-08, | |
"ram": 4.163140673783674e-08, | |
"gpu": 1.4097233500000603e-07, | |
"total": 2.587456835314666e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3864798.7721054596 | |
} | |
} | |
} | |
} |