
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d34c6d7
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_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.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.577088, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.2341943359375, | |
"mean": 7.2341943359375, | |
"stdev": 0.0, | |
"p50": 7.2341943359375, | |
"p90": 7.2341943359375, | |
"p95": 7.2341943359375, | |
"p99": 7.2341943359375, | |
"values": [ | |
7.2341943359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0961032576031154e-06, | |
"ram": 5.846868022856219e-07, | |
"gpu": 1.6675013339998226e-06, | |
"total": 3.34829139388856e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.285696, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.9974149146080017, | |
"mean": 0.006393685350051294, | |
"stdev": 0.00033633240732505563, | |
"p50": 0.0063471999168395994, | |
"p90": 0.006539776086807251, | |
"p95": 0.006605568170547485, | |
"p99": 0.008220671987533559, | |
"values": [ | |
0.008987648010253906, | |
0.008738816261291504, | |
0.007796735763549805, | |
0.006535168170928955, | |
0.006493184089660644, | |
0.0064430079460144046, | |
0.006811615943908692, | |
0.006918047904968262, | |
0.006379519939422608, | |
0.006408192157745361, | |
0.006368159770965576, | |
0.0064133119583129885, | |
0.006302847862243653, | |
0.0062269439697265625, | |
0.006436863899230957, | |
0.006305791854858398, | |
0.00643071985244751, | |
0.006410272121429444, | |
0.0063508481979370115, | |
0.006409215927124024, | |
0.006391808032989502, | |
0.00630998420715332, | |
0.006330207824707031, | |
0.006372352123260498, | |
0.0064204797744750975, | |
0.006372416019439697, | |
0.006368256092071533, | |
0.006391744136810303, | |
0.0063201279640197755, | |
0.006406144142150879, | |
0.0065474557876586915, | |
0.0063714561462402345, | |
0.00638156795501709, | |
0.006534143924713135, | |
0.006331391811370849, | |
0.00621779203414917, | |
0.0062791681289672855, | |
0.006298624038696289, | |
0.006260735988616943, | |
0.0062638077735900875, | |
0.006280191898345947, | |
0.006573056221008301, | |
0.006461440086364746, | |
0.006429823875427246, | |
0.00672870397567749, | |
0.006433792114257812, | |
0.0064471039772033695, | |
0.006496255874633789, | |
0.006389632225036621, | |
0.006496255874633789, | |
0.006369279861450195, | |
0.006427648067474365, | |
0.006452223777770996, | |
0.006340608119964599, | |
0.006508607864379883, | |
0.00657206392288208, | |
0.006255616188049316, | |
0.006294528007507324, | |
0.006334464073181153, | |
0.00628326416015625, | |
0.006378496170043945, | |
0.00637440013885498, | |
0.006273024082183838, | |
0.006242208003997803, | |
0.00643174409866333, | |
0.006370304107666015, | |
0.006294528007507324, | |
0.006377471923828125, | |
0.0063272957801818845, | |
0.0063632321357727055, | |
0.006425600051879882, | |
0.0066007041931152345, | |
0.006391808032989502, | |
0.006595583915710449, | |
0.006418432235717773, | |
0.006520832061767578, | |
0.006392831802368164, | |
0.006446080207824707, | |
0.0065136637687683106, | |
0.0062566399574279785, | |
0.006394879817962646, | |
0.006328320026397705, | |
0.0062566399574279785, | |
0.006097919940948486, | |
0.006170720100402832, | |
0.00628326416015625, | |
0.00613478422164917, | |
0.0059955201148986816, | |
0.0060067839622497555, | |
0.006145984172821045, | |
0.006009856224060059, | |
0.006023168087005615, | |
0.006071296215057373, | |
0.006081471920013428, | |
0.006487040042877197, | |
0.006329343795776367, | |
0.006415359973907471, | |
0.006381696224212647, | |
0.006269919872283936, | |
0.006284287929534912, | |
0.006281216144561768, | |
0.006203392028808594, | |
0.006038591861724853, | |
0.0060928001403808595, | |
0.006008831977844238, | |
0.006113279819488526, | |
0.006054912090301514, | |
0.006333439826965332, | |
0.006347807884216308, | |
0.006475776195526123, | |
0.0065443840026855465, | |
0.00628326416015625, | |
0.006346591949462891, | |
0.0062873601913452145, | |
0.006312960147857666, | |
0.0064635519981384275, | |
0.006271999835968017, | |
0.006298624038696289, | |
0.006446080207824707, | |
0.006296576023101807, | |
0.006340608119964599, | |
0.006230016231536865, | |
0.006293504238128662, | |
0.006281216144561768, | |
0.00632422399520874, | |
0.006253568172454834, | |
0.006340608119964599, | |
0.006368256092071533, | |
0.0062956161499023435, | |
0.006359039783477783, | |
0.006268928050994873, | |
0.0064778242111206055, | |
0.006299647808074951, | |
0.006398975849151611, | |
0.006620160102844238, | |
0.006478847980499268, | |
0.006680575847625733, | |
0.006338560104370118, | |
0.006308864116668702, | |
0.006369279861450195, | |
0.006295551776885986, | |
0.006296576023101807, | |
0.006299647808074951, | |
0.0062576642036437985, | |
0.006298592090606689, | |
0.006264832019805908, | |
0.006334464073181153, | |
0.006315008163452148, | |
0.006278143882751465, | |
0.006337535858154297, | |
0.006416384220123291, | |
0.006550528049468994, | |
0.006340447902679443, | |
0.006302688121795654, | |
0.006546271800994873, | |
0.006376543998718262 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.404318519049 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.372296744992274e-08, | |
"ram": 4.030656945716011e-08, | |
"gpu": 1.3806601797515414e-07, | |
"total": 2.5209555488223697e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3966749.832090996 | |
} | |
} | |
} | |
} |