IlyasMoutawwakil HF Staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
db83755 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": "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": {}, | |
| "hub_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, | |
| "latency": true, | |
| "memory": 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.285632, | |
| "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.2.1", | |
| "optimum_benchmark_commit": null, | |
| "transformers_version": "4.42.3", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.31.0", | |
| "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": { | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 902.422528, | |
| "max_global_vram": 1195.900928, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 555.74528, | |
| "max_allocated": 508.993536 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 146, | |
| "total": 0.9963425898551941, | |
| "mean": 0.006824264314076671, | |
| "stdev": 0.0002762119602915874, | |
| "p50": 0.006767104148864746, | |
| "p90": 0.007118848085403442, | |
| "p95": 0.00717798388004303, | |
| "p99": 0.007781238293647768, | |
| "values": [ | |
| 0.007493631839752197, | |
| 0.007164927959442138, | |
| 0.00714847993850708, | |
| 0.007177216053009033, | |
| 0.0070563840866088865, | |
| 0.00728166389465332, | |
| 0.00709119987487793, | |
| 0.007370751857757568, | |
| 0.006985727787017822, | |
| 0.006989823818206787, | |
| 0.007019519805908203, | |
| 0.006945792198181152, | |
| 0.006917119979858399, | |
| 0.0069283838272094726, | |
| 0.007009280204772949, | |
| 0.007097343921661377, | |
| 0.0070860800743103025, | |
| 0.006937600135803222, | |
| 0.0070553598403930665, | |
| 0.007066624164581299, | |
| 0.007844799995422364, | |
| 0.007703551769256592, | |
| 0.008054783821105957, | |
| 0.007023615837097168, | |
| 0.0071526398658752445, | |
| 0.0070266880989074704, | |
| 0.007020544052124023, | |
| 0.007156735897064209, | |
| 0.006876160144805908, | |
| 0.006915071964263916, | |
| 0.006908927917480469, | |
| 0.006998015880584717, | |
| 0.006916096210479736, | |
| 0.006993919849395752, | |
| 0.007053311824798584, | |
| 0.007080959796905518, | |
| 0.0070225920677185055, | |
| 0.0069847040176391605, | |
| 0.007126016139984131, | |
| 0.007090176105499267, | |
| 0.006974463939666748, | |
| 0.00708403205871582, | |
| 0.00692742395401001, | |
| 0.00693452787399292, | |
| 0.007041024208068848, | |
| 0.006941696166992187, | |
| 0.0070225920677185055, | |
| 0.006958079814910889, | |
| 0.00692633581161499, | |
| 0.006881279945373535, | |
| 0.0069212160110473635, | |
| 0.006952000141143799, | |
| 0.006972415924072266, | |
| 0.0069621758460998535, | |
| 0.007010303974151612, | |
| 0.007178239822387696, | |
| 0.006987711906433105, | |
| 0.007111680030822754, | |
| 0.0069324798583984375, | |
| 0.00693452787399292, | |
| 0.006908927917480469, | |
| 0.006846464157104492, | |
| 0.006833151817321777, | |
| 0.006793216228485107, | |
| 0.006919167995452881, | |
| 0.006801407814025879, | |
| 0.006643712043762207, | |
| 0.006619135856628418, | |
| 0.006613984107971192, | |
| 0.006662144184112549, | |
| 0.006680575847625733, | |
| 0.006761472225189209, | |
| 0.006974495887756347, | |
| 0.006816768169403077, | |
| 0.007144447803497315, | |
| 0.006809599876403808, | |
| 0.006673408031463623, | |
| 0.006627327919006347, | |
| 0.006761472225189209, | |
| 0.006650911808013916, | |
| 0.006658048152923584, | |
| 0.006586368083953857, | |
| 0.006606847763061524, | |
| 0.006641600131988525, | |
| 0.006536191940307618, | |
| 0.006590464115142822, | |
| 0.006569983959197998, | |
| 0.00656387186050415, | |
| 0.006633471965789795, | |
| 0.006670335769653321, | |
| 0.006543360233306885, | |
| 0.0065413122177124024, | |
| 0.006748159885406494, | |
| 0.006619135856628418, | |
| 0.006555647850036621, | |
| 0.006515711784362793, | |
| 0.007559167861938477, | |
| 0.006634431838989258, | |
| 0.006592512130737305, | |
| 0.006552576065063476, | |
| 0.0066641921997070315, | |
| 0.00658841609954834, | |
| 0.006542335987091064, | |
| 0.0066109437942504885, | |
| 0.006603775978088379, | |
| 0.006600639820098877, | |
| 0.006772736072540283, | |
| 0.006586368083953857, | |
| 0.006660096168518067, | |
| 0.006576128005981445, | |
| 0.006554624080657959, | |
| 0.006553599834442139, | |
| 0.006602752208709717, | |
| 0.006552576065063476, | |
| 0.006560768127441406, | |
| 0.006793216228485107, | |
| 0.0066078720092773435, | |
| 0.00653004789352417, | |
| 0.006554624080657959, | |
| 0.006549503803253174, | |
| 0.006553599834442139, | |
| 0.0065781760215759275, | |
| 0.006609920024871826, | |
| 0.006748159885406494, | |
| 0.006594560146331787, | |
| 0.006534143924713135, | |
| 0.006719488143920899, | |
| 0.006591487884521485, | |
| 0.006594560146331787, | |
| 0.006561791896820069, | |
| 0.006535168170928955, | |
| 0.0065177597999572755, | |
| 0.006563839912414551, | |
| 0.006571968078613281, | |
| 0.006523903846740723, | |
| 0.006576128005981445, | |
| 0.006573056221008301, | |
| 0.006527999877929688, | |
| 0.006574079990386963, | |
| 0.006575104236602783, | |
| 0.006529024124145508, | |
| 0.006759488105773926, | |
| 0.006554624080657959, | |
| 0.006551551818847656, | |
| 0.006638591766357422, | |
| 0.006731776237487793 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 146.53594204099946 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 7.735354664884967e-08, | |
| "ram": 4.229207396194354e-08, | |
| "gpu": 1.4443003566012014e-07, | |
| "total": 2.6407565627091336e-07 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 3786793.580753642 | |
| } | |
| } | |
| } | |
| } |