
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
89d3b14
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.293824, | |
"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": 903.12704, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.998810495376587, | |
"mean": 0.0069846887788572514, | |
"stdev": 0.00032154209428018264, | |
"p50": 0.006810624122619629, | |
"p90": 0.00735416316986084, | |
"p95": 0.007607193470001222, | |
"p99": 0.008160090255737305, | |
"values": [ | |
0.007622655868530274, | |
0.007378943920135498, | |
0.007388160228729248, | |
0.007387135982513428, | |
0.007355391979217529, | |
0.007650303840637207, | |
0.007486464023590088, | |
0.0072468481063842774, | |
0.007245855808258057, | |
0.007472127914428711, | |
0.007173120021820068, | |
0.0066826238632202144, | |
0.006656000137329102, | |
0.006746111869812011, | |
0.006746111869812011, | |
0.006758336067199707, | |
0.006772736072540283, | |
0.006790143966674805, | |
0.0067051520347595215, | |
0.006894591808319092, | |
0.0072837119102478025, | |
0.007620607852935791, | |
0.006810624122619629, | |
0.006748159885406494, | |
0.00688640022277832, | |
0.006762495994567871, | |
0.006723584175109864, | |
0.006770688056945801, | |
0.0068023681640625, | |
0.0066631040573120115, | |
0.006681600093841553, | |
0.006672383785247803, | |
0.00703385591506958, | |
0.007181312084197998, | |
0.007204864025115967, | |
0.007304192066192627, | |
0.007209983825683594, | |
0.0072130560874938965, | |
0.007111680030822754, | |
0.007129087924957276, | |
0.007189504146575928, | |
0.007360447883605957, | |
0.007349247932434082, | |
0.007158783912658692, | |
0.007085055828094483, | |
0.007214079856872559, | |
0.00714137601852417, | |
0.007196671962738037, | |
0.007091263771057129, | |
0.007229407787322998, | |
0.007169023990631103, | |
0.007138304233551026, | |
0.007285759925842285, | |
0.007328767776489258, | |
0.0071485438346862796, | |
0.007259136199951172, | |
0.007255040168762207, | |
0.007260159969329834, | |
0.007145472049713135, | |
0.007231488227844239, | |
0.007137279987335205, | |
0.00714035177230835, | |
0.007250944137573242, | |
0.0071823358535766605, | |
0.006964223861694336, | |
0.006945792198181152, | |
0.00729804801940918, | |
0.007066624164581299, | |
0.006858751773834228, | |
0.006847487926483154, | |
0.007039999961853028, | |
0.007062528133392334, | |
0.008080384254455567, | |
0.008113151550292968, | |
0.008194080352783203, | |
0.008245247840881348, | |
0.007823359966278077, | |
0.0068986878395080565, | |
0.006793216228485107, | |
0.006967296123504638, | |
0.006809599876403808, | |
0.006796288013458252, | |
0.006766592025756836, | |
0.006858751773834228, | |
0.006834176063537598, | |
0.0067870721817016606, | |
0.006813727855682373, | |
0.006806528091430664, | |
0.006780960083007812, | |
0.006779903888702392, | |
0.006811647891998291, | |
0.006767615795135498, | |
0.006770624160766602, | |
0.006919167995452881, | |
0.006790143966674805, | |
0.0067276802062988285, | |
0.006744063854217529, | |
0.006739967823028564, | |
0.006751232147216797, | |
0.006726655960083008, | |
0.006776832103729248, | |
0.006732800006866455, | |
0.006717440128326416, | |
0.00675328016281128, | |
0.006762495994567871, | |
0.006881279945373535, | |
0.006767615795135498, | |
0.0067645440101623535, | |
0.006748159885406494, | |
0.006739967823028564, | |
0.0067420158386230465, | |
0.00673689603805542, | |
0.00672870397567749, | |
0.006751232147216797, | |
0.006748159885406494, | |
0.006724607944488525, | |
0.006788095951080322, | |
0.006760447978973389, | |
0.006731776237487793, | |
0.006778880119323731, | |
0.006914048194885254, | |
0.006748159885406494, | |
0.006747136116027832, | |
0.006761472225189209, | |
0.006917119979858399, | |
0.006731776237487793, | |
0.006773759841918945, | |
0.006749184131622315, | |
0.0067420477867126466, | |
0.006766592025756836, | |
0.0067573761940002445, | |
0.006752255916595459, | |
0.006739967823028564, | |
0.006770688056945801, | |
0.00676966381072998, | |
0.006739967823028564, | |
0.006758399963378906, | |
0.006729728221893311, | |
0.006726655960083008, | |
0.006916096210479736, | |
0.0067573761940002445, | |
0.0067420158386230465, | |
0.006761472225189209 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.17030173585024 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.938997502680178e-08, | |
"ram": 4.3406070214671727e-08, | |
"gpu": 1.4052789020000017e-07, | |
"total": 2.633239354414737e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3797603.8840656765 | |
} | |
} | |
} | |
} |