IlyasMoutawwakil HF Staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
078ef43 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.1", | |
| "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.029312, | |
| "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.9998044490814213, | |
| "mean": 0.006847975678639869, | |
| "stdev": 0.0002287005294863222, | |
| "p50": 0.006931967973709106, | |
| "p90": 0.007086591958999634, | |
| "p95": 0.007201271772384644, | |
| "p99": 0.007359664058685303, | |
| "values": [ | |
| 0.0074967041015625, | |
| 0.0073348479270935055, | |
| 0.007379968166351319, | |
| 0.0072120318412780765, | |
| 0.007256063938140869, | |
| 0.007305215835571289, | |
| 0.007201791763305664, | |
| 0.007199711799621582, | |
| 0.0070830078125, | |
| 0.007165952205657959, | |
| 0.007018496036529541, | |
| 0.007094272136688232, | |
| 0.007013376235961914, | |
| 0.006939648151397705, | |
| 0.006850560188293457, | |
| 0.007044095993041993, | |
| 0.007024640083312988, | |
| 0.007003136157989502, | |
| 0.007002111911773682, | |
| 0.007027711868286133, | |
| 0.0070266880989074704, | |
| 0.006948863983154297, | |
| 0.006937600135803222, | |
| 0.006984640121459961, | |
| 0.007017471790313721, | |
| 0.006988800048828125, | |
| 0.007013376235961914, | |
| 0.007005184173583984, | |
| 0.007049215793609619, | |
| 0.006967296123504638, | |
| 0.006982656002044678, | |
| 0.006960127830505371, | |
| 0.006971392154693603, | |
| 0.00698367977142334, | |
| 0.00693555212020874, | |
| 0.006872064113616944, | |
| 0.006949888229370117, | |
| 0.006931456089019775, | |
| 0.0069027838706970214, | |
| 0.006905824184417725, | |
| 0.007036928176879883, | |
| 0.007153664112091064, | |
| 0.007030784130096435, | |
| 0.007025599956512451, | |
| 0.006993919849395752, | |
| 0.007078911781311035, | |
| 0.006985727787017822, | |
| 0.006949888229370117, | |
| 0.006968319892883301, | |
| 0.007035903930664063, | |
| 0.0070266880989074704, | |
| 0.006951935768127441, | |
| 0.007020544052124023, | |
| 0.0069918718338012695, | |
| 0.0069959678649902345, | |
| 0.006973375797271728, | |
| 0.006969344139099121, | |
| 0.006959104061126709, | |
| 0.007074816226959229, | |
| 0.007054336071014404, | |
| 0.006929408073425293, | |
| 0.0069324798583984375, | |
| 0.0069253120422363285, | |
| 0.006940671920776367, | |
| 0.00694374418258667, | |
| 0.007180287837982178, | |
| 0.00694271993637085, | |
| 0.006979616165161133, | |
| 0.006994944095611572, | |
| 0.007090176105499267, | |
| 0.007007232189178467, | |
| 0.007036863803863525, | |
| 0.007021567821502686, | |
| 0.007024640083312988, | |
| 0.007008255958557129, | |
| 0.0068884482383728025, | |
| 0.00698367977142334, | |
| 0.007278592109680176, | |
| 0.007150591850280762, | |
| 0.006755296230316162, | |
| 0.006718463897705078, | |
| 0.007030784130096435, | |
| 0.006867968082427979, | |
| 0.006625279903411865, | |
| 0.0065413122177124024, | |
| 0.00678604793548584, | |
| 0.006721536159515381, | |
| 0.006696959972381592, | |
| 0.006780928134918213, | |
| 0.006709184169769287, | |
| 0.0067491202354431155, | |
| 0.006881247997283935, | |
| 0.006948863983154297, | |
| 0.006612991809844971, | |
| 0.006639616012573242, | |
| 0.006687679767608643, | |
| 0.0066406397819519045, | |
| 0.006658112049102783, | |
| 0.006673408031463623, | |
| 0.006608895778656006, | |
| 0.006601727962493896, | |
| 0.006729728221893311, | |
| 0.006598656177520752, | |
| 0.006549503803253174, | |
| 0.006589439868927002, | |
| 0.006547391891479492, | |
| 0.006582272052764892, | |
| 0.006662144184112549, | |
| 0.0065669121742248536, | |
| 0.006605823993682861, | |
| 0.006575104236602783, | |
| 0.006590464115142822, | |
| 0.006563839912414551, | |
| 0.006599679946899414, | |
| 0.006593535900115967, | |
| 0.006583295822143555, | |
| 0.006594560146331787, | |
| 0.0065853757858276366, | |
| 0.00657203197479248, | |
| 0.006573056221008301, | |
| 0.0065413122177124024, | |
| 0.006589439868927002, | |
| 0.006643712043762207, | |
| 0.006559743881225586, | |
| 0.006556672096252441, | |
| 0.006562816143035889, | |
| 0.006549503803253174, | |
| 0.006555647850036621, | |
| 0.006527999877929688, | |
| 0.006597631931304931, | |
| 0.006525951862335205, | |
| 0.0065474557876586915, | |
| 0.0066979842185974124, | |
| 0.006568960189819336, | |
| 0.0065495362281799314, | |
| 0.006549503803253174, | |
| 0.006553599834442139, | |
| 0.006574111938476563, | |
| 0.0065792322158813475, | |
| 0.0065372161865234375, | |
| 0.006545407772064209, | |
| 0.0065443840026855465, | |
| 0.0065771517753601075, | |
| 0.00657203197479248, | |
| 0.006847487926483154, | |
| 0.006626304149627686 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 146.02855601826815 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 7.815930600229063e-08, | |
| "ram": 4.272907359025243e-08, | |
| "gpu": 1.462683918684164e-07, | |
| "total": 2.6715677146095946e-07 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 3743120.5450322395 | |
| } | |
| } | |
| } | |
| } |