IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1c85739
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "4", | |
"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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1032.974336, | |
"max_global_vram": 843.251712, | |
"max_process_vram": 48329.367552, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.0151884765625, | |
"mean": 9.0151884765625, | |
"stdev": 0.0, | |
"p50": 9.0151884765625, | |
"p90": 9.0151884765625, | |
"p95": 9.0151884765625, | |
"p99": 9.0151884765625, | |
"values": [ | |
9.0151884765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1151.393792, | |
"max_global_vram": 903.299072, | |
"max_process_vram": 243481.837568, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9961886627674099, | |
"mean": 0.007969509302139284, | |
"stdev": 0.007743944964142123, | |
"p50": 0.007831494808197021, | |
"p90": 0.008019397926330567, | |
"p95": 0.008041574478149415, | |
"p99": 0.008154610786437989, | |
"values": [ | |
0.008008455276489258, | |
0.008075814247131347, | |
0.008017574310302734, | |
0.007979175090789796, | |
0.008028134346008301, | |
0.007969415187835694, | |
0.00817949390411377, | |
0.007851974964141846, | |
0.007816615104675293, | |
0.007785574913024902, | |
0.007766695022583008, | |
0.007797094821929931, | |
0.007811975002288818, | |
0.007773255825042725, | |
0.007819655895233155, | |
0.007773736000061035, | |
0.007773574829101563, | |
0.0077743749618530275, | |
0.007753415107727051, | |
0.00773709487915039, | |
0.007764135837554932, | |
0.0077558159828186035, | |
0.007748455047607422, | |
0.007779815196990967, | |
0.007781575202941895, | |
0.09214866638183594, | |
0.0022166330814361573, | |
0.00237119197845459, | |
0.002261112928390503, | |
0.0022028729915618897, | |
0.002198072910308838, | |
0.0022182331085205077, | |
0.0024436719417572023, | |
0.0022028729915618897, | |
0.0022047929763793946, | |
0.0025163118839263915, | |
0.002317272901535034, | |
0.0022025530338287353, | |
0.003608628034591675, | |
0.007744615077972412, | |
0.007764774799346924, | |
0.007744295120239258, | |
0.007841414928436279, | |
0.00786541509628296, | |
0.0078206148147583, | |
0.007777735233306885, | |
0.007828774929046631, | |
0.007816454887390138, | |
0.007842695236206055, | |
0.007858695030212403, | |
0.00786861515045166, | |
0.007879334926605225, | |
0.007881895065307617, | |
0.007832294940948486, | |
0.007831494808197021, | |
0.007831335067749023, | |
0.007791494846343994, | |
0.007787014961242676, | |
0.007869575023651123, | |
0.00803693389892578, | |
0.00803133487701416, | |
0.007947975158691407, | |
0.007839175224304199, | |
0.007989093780517579, | |
0.00793261480331421, | |
0.007861734867095948, | |
0.007890055179595947, | |
0.007948453903198243, | |
0.008041734695434571, | |
0.007975174903869628, | |
0.00795053482055664, | |
0.00794061517715454, | |
0.00799037504196167, | |
0.008063974380493165, | |
0.008020613670349121, | |
0.007954535007476806, | |
0.007971333980560302, | |
0.007897415161132813, | |
0.007793574810028076, | |
0.00781565523147583, | |
0.007819654941558838, | |
0.007798534870147705, | |
0.007776615142822266, | |
0.007854694843292237, | |
0.007764295101165771, | |
0.007825574874877929, | |
0.0077860550880432125, | |
0.00778733491897583, | |
0.008055174827575683, | |
0.008046854019165038, | |
0.008015494346618652, | |
0.007928935050964356, | |
0.007909894943237305, | |
0.007914374828338623, | |
0.007858695030212403, | |
0.007836295127868651, | |
0.007825415134429931, | |
0.00783757495880127, | |
0.007859014987945556, | |
0.007842374801635741, | |
0.007918213844299317, | |
0.00788941478729248, | |
0.007991654872894287, | |
0.007927334785461426, | |
0.007904294967651368, | |
0.00794061517715454, | |
0.007885094165802003, | |
0.007872135162353515, | |
0.00804093360900879, | |
0.007942375183105468, | |
0.007778055191040039, | |
0.007870695114135743, | |
0.007780934810638428, | |
0.007789414882659912, | |
0.007855655193328858, | |
0.008022053718566895, | |
0.007743015766143799, | |
0.007730535984039307, | |
0.007770374774932861, | |
0.007754694938659668, | |
0.007747654914855957, | |
0.007707975864410401, | |
0.00774477481842041, | |
0.0076959748268127445, | |
0.007734694957733154 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.47823988756328 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |