IlyasMoutawwakil HF Staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
170c901 verified | { | |
| "config": { | |
| "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.5.1+cu124", | |
| "_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": 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.227-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": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 819.212288, | |
| "max_global_vram": 1192.7552, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 555.74528, | |
| "max_allocated": 499.374592 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.08686806488037109 | |
| ], | |
| "count": 1, | |
| "total": 0.08686806488037109, | |
| "mean": 0.08686806488037109, | |
| "p50": 0.08686806488037109, | |
| "p90": 0.08686806488037109, | |
| "p95": 0.08686806488037109, | |
| "p99": 0.08686806488037109, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": null, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1086.394368, | |
| "max_global_vram": 1205.338112, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 557.842432, | |
| "max_allocated": 509.729792 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.006486015796661377, | |
| 0.006253568172454834, | |
| 0.006157311916351318, | |
| 0.006140063762664795, | |
| 0.006089727878570556, | |
| 0.0061562881469726565, | |
| 0.006189055919647217, | |
| 0.006239232063293457, | |
| 0.006184800148010254, | |
| 0.006568960189819336, | |
| 0.0065045437812805175, | |
| 0.006474751949310303, | |
| 0.006483839988708496, | |
| 0.006510591983795166, | |
| 0.006472703933715821, | |
| 0.006552576065063476, | |
| 0.006481919765472412, | |
| 0.006542335987091064, | |
| 0.006540287971496582, | |
| 0.006391808032989502, | |
| 0.006354944229125976, | |
| 0.006322175979614258, | |
| 0.006408192157745361, | |
| 0.00648089599609375, | |
| 0.006384575843811035, | |
| 0.006381599903106689, | |
| 0.006329343795776367, | |
| 0.006373216152191162, | |
| 0.00647049617767334, | |
| 0.0063836159706115725, | |
| 0.006497280120849609, | |
| 0.006540287971496582, | |
| 0.006511616230010986, | |
| 0.006518784046173095, | |
| 0.006491136074066162, | |
| 0.006407167911529541, | |
| 0.006494207859039307, | |
| 0.006337376117706299, | |
| 0.006409215927124024, | |
| 0.006435840129852295, | |
| 0.006423552036285401, | |
| 0.0065413122177124024, | |
| 0.006563839912414551, | |
| 0.006397952079772949, | |
| 0.006505472183227539, | |
| 0.00638156795501709, | |
| 0.006440959930419922, | |
| 0.006319104194641113, | |
| 0.006346752166748047, | |
| 0.006409215927124024, | |
| 0.006363135814666748, | |
| 0.006441984176635742, | |
| 0.007061503887176514, | |
| 0.006457344055175781, | |
| 0.006541279792785645, | |
| 0.006508543968200684, | |
| 0.006426623821258545, | |
| 0.006369215965270996, | |
| 0.006471839904785157, | |
| 0.006482944011688232, | |
| 0.006527999877929688, | |
| 0.00636521577835083, | |
| 0.006446144104003906, | |
| 0.006784992218017578, | |
| 0.006536191940307618, | |
| 0.006432767868041992, | |
| 0.006448128223419189, | |
| 0.0064421119689941405, | |
| 0.00653926420211792, | |
| 0.006440959930419922, | |
| 0.006437888145446777, | |
| 0.00653004789352417, | |
| 0.00643174409866333, | |
| 0.00643174409866333, | |
| 0.006474783897399902, | |
| 0.006111231803894043, | |
| 0.006115263938903809, | |
| 0.00621884822845459, | |
| 0.006460415840148926, | |
| 0.0063714241981506345, | |
| 0.00628217601776123, | |
| 0.006340608119964599, | |
| 0.0061859841346740725, | |
| 0.006176767826080322, | |
| 0.006288383960723877, | |
| 0.0062679038047790524, | |
| 0.006096896171569824, | |
| 0.006135807991027832, | |
| 0.006840320110321045, | |
| 0.00729702377319336, | |
| 0.0072427520751953125, | |
| 0.006364128112792969, | |
| 0.006303936004638672, | |
| 0.00638259220123291, | |
| 0.006450175762176514, | |
| 0.0064245758056640625, | |
| 0.007143424034118652, | |
| 0.006306816101074219, | |
| 0.00612556791305542, | |
| 0.006160416126251221, | |
| 0.006057983875274659, | |
| 0.006119584083557129, | |
| 0.006090752124786377, | |
| 0.006149119853973388, | |
| 0.006146048069000244, | |
| 0.006095903873443604, | |
| 0.00611737585067749, | |
| 0.006132736206054688, | |
| 0.006145023822784424, | |
| 0.006118400096893311, | |
| 0.006313983917236328, | |
| 0.006114304065704346, | |
| 0.006158304214477539, | |
| 0.00608358383178711, | |
| 0.006146048069000244, | |
| 0.006102015972137451, | |
| 0.006103040218353272, | |
| 0.006118400096893311, | |
| 0.006104063987731933, | |
| 0.0061265921592712404, | |
| 0.006053952217102051, | |
| 0.0060590081214904785, | |
| 0.0060661759376525876, | |
| 0.006064127922058105, | |
| 0.0060293121337890625, | |
| 0.006106112003326416, | |
| 0.006069248199462891, | |
| 0.006169600009918213, | |
| 0.0060999679565429685, | |
| 0.006074368000030517, | |
| 0.006015999794006348, | |
| 0.00606822395324707, | |
| 0.006057983875274659, | |
| 0.0061562881469726565, | |
| 0.006082560062408447, | |
| 0.006075295925140381, | |
| 0.006076416015625, | |
| 0.006039552211761475, | |
| 0.006127615928649902, | |
| 0.006114336013793945, | |
| 0.006426623821258545, | |
| 0.006253568172454834, | |
| 0.006144000053405762, | |
| 0.006106112003326416, | |
| 0.006096896171569824, | |
| 0.006099071979522705, | |
| 0.006056960105895996, | |
| 0.00611737585067749, | |
| 0.006080512046813965, | |
| 0.006056960105895996, | |
| 0.006059040069580078, | |
| 0.006109183788299561, | |
| 0.006080512046813965, | |
| 0.006086656093597412, | |
| 0.0060293121337890625, | |
| 0.006160448074340821, | |
| 0.006051839828491211, | |
| 0.006145023822784424 | |
| ], | |
| "count": 158, | |
| "total": 0.9970794253349304, | |
| "mean": 0.006310629274271712, | |
| "p50": 0.006316544055938721, | |
| "p90": 0.006531891107559204, | |
| "p95": 0.006554265642166138, | |
| "p99": 0.007186135091781617, | |
| "stdev": 0.00022916199485292858, | |
| "stdev_": 3.631365191855219 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 316.92560489236047 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 7.102799245258924e-08, | |
| "ram": 3.880975417724379e-08, | |
| "gpu": 1.5127756613174068e-07, | |
| "total": 2.611153127615737e-07 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 7659451.216582669 | |
| } | |
| } | |
| } | |
| } |