
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
706983b
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": 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.252864, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 786.911232, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.47994189453125, | |
"mean": 7.47994189453125, | |
"stdev": 0.0, | |
"p50": 7.47994189453125, | |
"p90": 7.47994189453125, | |
"p95": 7.47994189453125, | |
"p99": 7.47994189453125, | |
"values": [ | |
7.47994189453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.347364527781189e-07, | |
"ram": 4.959504690113531e-07, | |
"gpu": 1.8013903300001521e-06, | |
"total": 3.232077251789624e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.793984, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0015495066642761, | |
"mean": 0.00736433460782556, | |
"stdev": 0.00017077587886021856, | |
"p50": 0.007342623949050903, | |
"p90": 0.007489023923873902, | |
"p95": 0.007744000196456909, | |
"p99": 0.00803322880268097, | |
"values": [ | |
0.008279040336608886, | |
0.007911424160003662, | |
0.007847936153411865, | |
0.007776256084442139, | |
0.007798783779144287, | |
0.00809881591796875, | |
0.007218111991882324, | |
0.007192575931549072, | |
0.007211008071899414, | |
0.007195648193359375, | |
0.007161856174468994, | |
0.007156735897064209, | |
0.007162879943847656, | |
0.007178271770477295, | |
0.007168000221252442, | |
0.0071495680809020995, | |
0.007060480117797851, | |
0.007087935924530029, | |
0.007109600067138672, | |
0.007150591850280762, | |
0.007124991893768311, | |
0.007068704128265381, | |
0.007444479942321777, | |
0.007792640209197998, | |
0.007733248233795166, | |
0.0075304961204528805, | |
0.007562240123748779, | |
0.007486464023590088, | |
0.007472127914428711, | |
0.007427072048187256, | |
0.007475200176239013, | |
0.007455743789672851, | |
0.0074670081138610836, | |
0.007490560054779053, | |
0.007542784214019775, | |
0.007431168079376221, | |
0.007497727870941162, | |
0.007277567863464355, | |
0.007307295799255371, | |
0.00739737606048584, | |
0.00748748779296875, | |
0.007476223945617676, | |
0.0073983359336853025, | |
0.007378943920135498, | |
0.007373824119567871, | |
0.007325695991516113, | |
0.007354368209838867, | |
0.007334911823272705, | |
0.0073175039291381834, | |
0.007386112213134765, | |
0.007327744007110596, | |
0.0073820161819458, | |
0.007384064197540283, | |
0.007396351814270019, | |
0.007396351814270019, | |
0.007373824119567871, | |
0.007445568084716797, | |
0.007356416225433349, | |
0.007366655826568603, | |
0.00734006404876709, | |
0.007343167781829834, | |
0.007342080116271973, | |
0.007323647975921631, | |
0.007253888130187988, | |
0.0073471999168395995, | |
0.007374783992767334, | |
0.007371776103973389, | |
0.007373824119567871, | |
0.0073697280883789065, | |
0.00733081579208374, | |
0.007318528175354004, | |
0.00734822416305542, | |
0.007377920150756836, | |
0.007357439994812012, | |
0.007373824119567871, | |
0.0073359360694885255, | |
0.007329792022705078, | |
0.007337088108062744, | |
0.0073400321006774905, | |
0.0073062400817871095, | |
0.007358463764190673, | |
0.007375872135162354, | |
0.007385087966918945, | |
0.007366655826568603, | |
0.007419904232025146, | |
0.007366655826568603, | |
0.007323616027832032, | |
0.007296000003814697, | |
0.007322463989257812, | |
0.007247871875762939, | |
0.0073134078979492185, | |
0.007393280029296875, | |
0.00743833589553833, | |
0.007542784214019775, | |
0.007367680072784424, | |
0.00733900785446167, | |
0.00745468807220459, | |
0.0074035201072692874, | |
0.007417856216430664, | |
0.007355391979217529, | |
0.007276576042175293, | |
0.007303264141082764, | |
0.007249824047088623, | |
0.007351295948028564, | |
0.007279776096343994, | |
0.007352320194244385, | |
0.007351295948028564, | |
0.00728166389465332, | |
0.007230463981628418, | |
0.007275519847869873, | |
0.007346176147460938, | |
0.007311359882354736, | |
0.007323647975921631, | |
0.0073994240760803225, | |
0.007275519847869873, | |
0.00728985595703125, | |
0.007312384128570557, | |
0.00733900785446167, | |
0.007336959838867187, | |
0.00738099193572998, | |
0.007304192066192627, | |
0.007269375801086426, | |
0.007217152118682861, | |
0.0072252159118652345, | |
0.007312384128570557, | |
0.007307263851165771, | |
0.007250944137573242, | |
0.007263232231140137, | |
0.007363584041595459, | |
0.0073134078979492185, | |
0.00725708818435669, | |
0.007237631797790528, | |
0.007236608028411865, | |
0.007311359882354736, | |
0.007225344181060791, | |
0.0073400321006774905 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.7895931205204 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.665850243815735e-08, | |
"ram": 4.738090052347692e-08, | |
"gpu": 1.6387077181021808e-07, | |
"total": 2.9791017477185236e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3356716.502770766 | |
} | |
} | |
} | |
} |