IlyasMoutawwakil HF Staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7036d39 verified | { | |
| "config": { | |
| "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.3.0+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", | |
| "start_method": "spawn" | |
| }, | |
| "environment": { | |
| "cpu": " AMD EPYC 7R32", | |
| "cpu_count": 16, | |
| "cpu_ram_mb": 66697.29792, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-5.10.215-203.850.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.0", | |
| "optimum_benchmark_commit": null, | |
| "transformers_version": "4.40.2", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.30.1", | |
| "accelerate_commit": null, | |
| "diffusers_version": "0.27.2", | |
| "diffusers_commit": null, | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.3", | |
| "timm_commit": null, | |
| "peft_version": null, | |
| "peft_commit": null | |
| } | |
| }, | |
| "report": { | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 902.28736, | |
| "max_global_vram": 1195.900928, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 555.74528, | |
| "max_allocated": 508.993536 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 148, | |
| "total": 0.9989087686538696, | |
| "mean": 0.006749383571985605, | |
| "stdev": 0.0006199000503150585, | |
| "p50": 0.0066923520565032955, | |
| "p90": 0.006864076614379882, | |
| "p95": 0.008348518562316899, | |
| "p99": 0.009350686492919922, | |
| "values": [ | |
| 0.009878527641296387, | |
| 0.009399295806884766, | |
| 0.009274368286132812, | |
| 0.00929587173461914, | |
| 0.009267200469970703, | |
| 0.008657983779907227, | |
| 0.00859545612335205, | |
| 0.008596480369567871, | |
| 0.006862847805023193, | |
| 0.006762495994567871, | |
| 0.006724607944488525, | |
| 0.006703104019165039, | |
| 0.006758399963378906, | |
| 0.00673689603805542, | |
| 0.006625216007232666, | |
| 0.006660096168518067, | |
| 0.006668288230895996, | |
| 0.006676479816436768, | |
| 0.00679423999786377, | |
| 0.006791168212890625, | |
| 0.006763519763946534, | |
| 0.0068351998329162595, | |
| 0.006744063854217529, | |
| 0.006715392112731934, | |
| 0.0067338237762451176, | |
| 0.006805471897125244, | |
| 0.006761472225189209, | |
| 0.006737919807434082, | |
| 0.0067645440101623535, | |
| 0.006758399963378906, | |
| 0.00670201587677002, | |
| 0.006749184131622315, | |
| 0.006762495994567871, | |
| 0.00671123218536377, | |
| 0.00669593620300293, | |
| 0.006647808074951172, | |
| 0.006680575847625733, | |
| 0.006668288230895996, | |
| 0.0067123198509216305, | |
| 0.006713344097137451, | |
| 0.006668288230895996, | |
| 0.006713344097137451, | |
| 0.006740992069244385, | |
| 0.006738944053649902, | |
| 0.00677177619934082, | |
| 0.00675328016281128, | |
| 0.006754303932189941, | |
| 0.006789120197296142, | |
| 0.006726655960083008, | |
| 0.006652927875518798, | |
| 0.006708288192749023, | |
| 0.00679423999786377, | |
| 0.006740992069244385, | |
| 0.006699007987976074, | |
| 0.006744063854217529, | |
| 0.006663199901580811, | |
| 0.006631423950195312, | |
| 0.006711296081542969, | |
| 0.006662112236022949, | |
| 0.0066979842185974124, | |
| 0.0068280320167541505, | |
| 0.006656000137329102, | |
| 0.006585311889648437, | |
| 0.006691840171813965, | |
| 0.006692863941192627, | |
| 0.006721536159515381, | |
| 0.0067041277885437015, | |
| 0.006703104019165039, | |
| 0.0066938881874084475, | |
| 0.006762495994567871, | |
| 0.006841343879699707, | |
| 0.006866943836212158, | |
| 0.00679423999786377, | |
| 0.00682700777053833, | |
| 0.006744063854217529, | |
| 0.006730751991271973, | |
| 0.006732800006866455, | |
| 0.006663167953491211, | |
| 0.006756351947784424, | |
| 0.006658048152923584, | |
| 0.006669312000274658, | |
| 0.0064880638122558594, | |
| 0.006461440086364746, | |
| 0.0066979842185974124, | |
| 0.006568992137908935, | |
| 0.00638156795501709, | |
| 0.0065382399559021, | |
| 0.006713344097137451, | |
| 0.006862847805023193, | |
| 0.006855679988861084, | |
| 0.0068884482383728025, | |
| 0.006947840213775635, | |
| 0.006947807788848877, | |
| 0.006965248107910156, | |
| 0.007651328086853027, | |
| 0.007889920234680176, | |
| 0.006717440128326416, | |
| 0.0066416640281677245, | |
| 0.0066447358131408694, | |
| 0.006627327919006347, | |
| 0.006652927875518798, | |
| 0.006632415771484375, | |
| 0.006512639999389648, | |
| 0.006392831802368164, | |
| 0.0063539199829101565, | |
| 0.006343679904937744, | |
| 0.006364160060882569, | |
| 0.006333439826965332, | |
| 0.0063385281562805176, | |
| 0.006333439826965332, | |
| 0.006347775936126709, | |
| 0.006346752166748047, | |
| 0.006341631889343262, | |
| 0.006379519939422608, | |
| 0.006347775936126709, | |
| 0.006347775936126709, | |
| 0.0063610877990722655, | |
| 0.006323200225830078, | |
| 0.006354944229125976, | |
| 0.006309887886047363, | |
| 0.0063610877990722655, | |
| 0.006351871967315674, | |
| 0.006313983917236328, | |
| 0.0063784317970275875, | |
| 0.006330431938171387, | |
| 0.006371327877044678, | |
| 0.006351871967315674, | |
| 0.006340640068054199, | |
| 0.006354944229125976, | |
| 0.006308864116668702, | |
| 0.006354944229125976, | |
| 0.006341631889343262, | |
| 0.006307839870452881, | |
| 0.006351871967315674, | |
| 0.0063170561790466305, | |
| 0.006358016014099121, | |
| 0.006341631889343262, | |
| 0.006329343795776367, | |
| 0.006341631889343262, | |
| 0.006328320026397705, | |
| 0.006365119934082031, | |
| 0.006340608119964599, | |
| 0.006326272010803223, | |
| 0.006343679904937744, | |
| 0.0063201279640197755, | |
| 0.006352896213531494, | |
| 0.006354944229125976, | |
| 0.0063836159706115725 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 148.1616786680579 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 7.798429687469327e-08, | |
| "ram": 4.263400563247973e-08, | |
| "gpu": 1.3821648484210711e-07, | |
| "total": 2.588347873492801e-07 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 3863468.3159901816 | |
| } | |
| } | |
| } | |
| } |