
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6091133
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.225-213.878.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": "1.22.0", | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 804.765696, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.376128 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
8.3014853515625 | |
], | |
"count": 1, | |
"total": 8.3014853515625, | |
"mean": 8.3014853515625, | |
"p50": 8.3014853515625, | |
"p90": 8.3014853515625, | |
"p95": 8.3014853515625, | |
"p99": 8.3014853515625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0837253499993774e-06, | |
"ram": 5.636260475050908e-07, | |
"gpu": 1.665279109999522e-06, | |
"total": 3.3126305075039906e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1095.299072, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008757247924804687, | |
0.00801689624786377, | |
0.007912447929382324, | |
0.007184383869171143, | |
0.007604159832000732, | |
0.007103583812713623, | |
0.007176191806793213, | |
0.007173120021820068, | |
0.007164927959442138, | |
0.007170048236846924, | |
0.007104351997375489, | |
0.0072202239036560055, | |
0.007103487968444824, | |
0.0070348801612854, | |
0.007114751815795899, | |
0.007093247890472412, | |
0.007102464199066162, | |
0.007137279987335205, | |
0.007114751815795899, | |
0.007054336071014404, | |
0.007506944179534912, | |
0.007166912078857422, | |
0.007198719978332519, | |
0.007247871875762939, | |
0.007249983787536621, | |
0.007108607769012451, | |
0.007194623947143554, | |
0.0071157760620117185, | |
0.00709222412109375, | |
0.0071699838638305665, | |
0.007114848136901855, | |
0.007206912040710449, | |
0.007194623947143554, | |
0.007139328002929687, | |
0.007139328002929687, | |
0.007112703800201416, | |
0.0070348801612854, | |
0.007265279769897461, | |
0.0071833600997924804, | |
0.007151616096496582, | |
0.00710041618347168, | |
0.007227392196655274, | |
0.007079936027526855, | |
0.007111680030822754, | |
0.007136256217956543, | |
0.00684441614151001, | |
0.006886367797851563, | |
0.006855679988861084, | |
0.006799359798431396, | |
0.006854656219482422, | |
0.006874112129211426, | |
0.006920191764831543, | |
0.006920191764831543, | |
0.006905856132507324, | |
0.006906879901885986, | |
0.0069324798583984375, | |
0.006799359798431396, | |
0.00688431978225708, | |
0.006917024135589599, | |
0.0067983360290527345, | |
0.0072120318412780765, | |
0.007255040168762207, | |
0.007110655784606934, | |
0.007045983791351318, | |
0.00704307222366333, | |
0.0070266880989074704, | |
0.007016448020935059, | |
0.007092288017272949, | |
0.006938623905181885, | |
0.006791168212890625, | |
0.006927296161651612, | |
0.006758399963378906, | |
0.006813695907592773, | |
0.006908927917480469, | |
0.00703385591506958, | |
0.0069632000923156735, | |
0.006933504104614257, | |
0.007020544052124023, | |
0.0072120318412780765, | |
0.0069283838272094726, | |
0.006740992069244385, | |
0.006816832065582276, | |
0.00680128002166748, | |
0.006680575847625733, | |
0.006788095951080322, | |
0.006758399963378906, | |
0.006743040084838867, | |
0.006689792156219483, | |
0.00677785587310791, | |
0.006796288013458252, | |
0.006730751991271973, | |
0.006687744140625, | |
0.006688767910003662, | |
0.006685823917388916, | |
0.006711296081542969, | |
0.006708223819732666, | |
0.006656991958618164, | |
0.006687744140625, | |
0.0067606081962585446, | |
0.006643712043762207, | |
0.006758431911468506, | |
0.006708223819732666, | |
0.0067123198509216305, | |
0.0067358717918396, | |
0.0067123198509216305, | |
0.006639616012573242, | |
0.0066845440864562984, | |
0.006694911956787109, | |
0.006721536159515381, | |
0.006405151844024658, | |
0.0064133119583129885, | |
0.006368256092071533, | |
0.006392831802368164, | |
0.006400000095367431, | |
0.006362112045288086, | |
0.006415359973907471, | |
0.006341631889343262, | |
0.006387712001800537, | |
0.006427519798278809, | |
0.006344704151153564, | |
0.006459392070770263, | |
0.006338560104370118, | |
0.0064223999977111815, | |
0.006425600051879882, | |
0.006340608119964599, | |
0.006378496170043945, | |
0.006330368041992188, | |
0.006416384220123291, | |
0.006452223777770996, | |
0.006375423908233643, | |
0.0064358081817626955, | |
0.0063498239517211915, | |
0.006408224105834961, | |
0.006894591808319092, | |
0.0064011201858520505, | |
0.006394879817962646, | |
0.0064430079460144046, | |
0.0063916797637939456, | |
0.0064133119583129885, | |
0.006362207889556885, | |
0.006412288188934326, | |
0.006407167911529541, | |
0.006336512088775635, | |
0.006417568206787109, | |
0.00636518383026123, | |
0.006415359973907471 | |
], | |
"count": 146, | |
"total": 1.0006934385299677, | |
"mean": 0.006854064647465537, | |
"p50": 0.006855168104171753, | |
"p90": 0.007196671962738037, | |
"p95": 0.0072494558095932, | |
"p99": 0.007969894504547121, | |
"stdev": 0.00036709264450507004, | |
"stdev_": 5.355838664883498 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.89882813109665 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.790442600308917e-08, | |
"ram": 4.246700132957358e-08, | |
"gpu": 1.3769981967320148e-07, | |
"total": 2.580712470058642e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3874898.93431358 | |
} | |
} | |
} | |
} |