
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
742aafa
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"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": 721.85856, | |
"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.1403642578125, | |
"mean": 7.1403642578125, | |
"stdev": 0.0, | |
"p50": 7.1403642578125, | |
"p90": 7.1403642578125, | |
"p95": 7.1403642578125, | |
"p99": 7.1403642578125, | |
"values": [ | |
7.1403642578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.039562513889357e-06, | |
"ram": 5.5426256681331e-07, | |
"gpu": 0.0, | |
"total": 1.593825080702667e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 915.111936, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.9956808662414547, | |
"mean": 0.006382569655393943, | |
"stdev": 0.00025869231975920494, | |
"p50": 0.006383104085922241, | |
"p90": 0.006653439998626709, | |
"p95": 0.006735872030258178, | |
"p99": 0.0068995070934295645, | |
"values": [ | |
0.006676479816436768, | |
0.006690815925598144, | |
0.0066447358131408694, | |
0.0065177597999572755, | |
0.006565887928009034, | |
0.006801407814025879, | |
0.0067348480224609375, | |
0.006618112087249756, | |
0.006575104236602783, | |
0.006592512130737305, | |
0.006520800113677979, | |
0.006456319808959961, | |
0.006354944229125976, | |
0.006337535858154297, | |
0.006316031932830811, | |
0.006394879817962646, | |
0.006419456005096436, | |
0.006500351905822754, | |
0.006434815883636475, | |
0.006436863899230957, | |
0.006412288188934326, | |
0.006370304107666015, | |
0.0063569917678833006, | |
0.00653107213973999, | |
0.006851583957672119, | |
0.0066938881874084475, | |
0.006492159843444824, | |
0.006452159881591797, | |
0.006384640216827392, | |
0.006653952121734619, | |
0.006958079814910889, | |
0.006612991809844971, | |
0.006658048152923584, | |
0.00667955207824707, | |
0.006540287971496582, | |
0.0062904319763183595, | |
0.0063170561790466305, | |
0.006313983917236328, | |
0.00638259220123291, | |
0.006306816101074219, | |
0.006758399963378906, | |
0.006573056221008301, | |
0.00643174409866333, | |
0.006481919765472412, | |
0.006460415840148926, | |
0.0064102401733398436, | |
0.0065413122177124024, | |
0.00812435245513916, | |
0.006652927875518798, | |
0.006605823993682861, | |
0.006738944053649902, | |
0.006743040084838867, | |
0.006592512130737305, | |
0.006493184089660644, | |
0.006583295822143555, | |
0.006619135856628418, | |
0.006632448196411133, | |
0.00659660816192627, | |
0.00662937593460083, | |
0.0067573761940002445, | |
0.006546432018280029, | |
0.006527999877929688, | |
0.006527008056640625, | |
0.0064430079460144046, | |
0.006466559886932373, | |
0.006621183872222901, | |
0.006585343837738037, | |
0.006479872226715088, | |
0.006497280120849609, | |
0.0064143362045288085, | |
0.006550528049468994, | |
0.0064245758056640625, | |
0.006362112045288086, | |
0.0063836159706115725, | |
0.006414271831512451, | |
0.006337535858154297, | |
0.006384640216827392, | |
0.006355967998504639, | |
0.006397952079772949, | |
0.0063211522102355954, | |
0.006188032150268555, | |
0.0061562881469726565, | |
0.006347775936126709, | |
0.006475776195526123, | |
0.006310912132263183, | |
0.006298624038696289, | |
0.006293504238128662, | |
0.006238207817077636, | |
0.006384640216827392, | |
0.006497280120849609, | |
0.006527999877929688, | |
0.006527967929840088, | |
0.006586368083953857, | |
0.006721536159515381, | |
0.006624256134033203, | |
0.006426623821258545, | |
0.006503424167633057, | |
0.006369279861450195, | |
0.006411263942718506, | |
0.006386688232421875, | |
0.006294528007507324, | |
0.006281216144561768, | |
0.006262879848480224, | |
0.0062494721412658695, | |
0.006212607860565185, | |
0.006209536075592041, | |
0.00623308801651001, | |
0.00620956802368164, | |
0.006271999835968017, | |
0.006205440044403076, | |
0.006315008163452148, | |
0.006276063919067383, | |
0.006250495910644531, | |
0.006220799922943115, | |
0.006205440044403076, | |
0.0062638077735900875, | |
0.006210559844970703, | |
0.006268928050994873, | |
0.006262720108032227, | |
0.006124544143676758, | |
0.006004735946655273, | |
0.006009856224060059, | |
0.0059770879745483394, | |
0.006022143840789795, | |
0.0060067839622497555, | |
0.00601907205581665, | |
0.006155263900756836, | |
0.006240255832672119, | |
0.006217728137969971, | |
0.006158336162567139, | |
0.006223872184753418, | |
0.006180863857269287, | |
0.006242303848266601, | |
0.006207488059997559, | |
0.006276095867156982, | |
0.006209536075592041, | |
0.0062341117858886715, | |
0.006301695823669433, | |
0.0061224961280822755, | |
0.006054912090301514, | |
0.006031360149383545, | |
0.006038527965545654, | |
0.0060834879875183104, | |
0.006045695781707764, | |
0.0059996161460876465, | |
0.006060031890869141, | |
0.006025216102600098, | |
0.0060293121337890625, | |
0.005986336231231689, | |
0.006015999794006348, | |
0.006073279857635498, | |
0.006003712177276611, | |
0.00597705602645874, | |
0.005997568130493164, | |
0.0059996161460876465, | |
0.006028223991394043 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.67670765721996 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.184189872824711e-08, | |
"ram": 3.915736254926232e-08, | |
"gpu": 1.3052386613252593e-07, | |
"total": 2.415231274100354e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4140390.2422242714 | |
} | |
} | |
} | |
} |