IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bc8a153
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "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": 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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "86906b8c1093b2f4cd2981b46a0b533238abf100", | |
"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 | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.38976, | |
"max_global_vram": 841.756672, | |
"max_process_vram": 43357.73696, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1109248046875, | |
"mean": 7.1109248046875, | |
"stdev": 0.0, | |
"p50": 7.1109248046875, | |
"p90": 7.1109248046875, | |
"p95": 7.1109248046875, | |
"p99": 7.1109248046875, | |
"values": [ | |
7.1109248046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.549376, | |
"max_global_vram": 897.081344, | |
"max_process_vram": 218120.372224, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.994363497257232, | |
"mean": 0.00736565553523876, | |
"stdev": 0.00029201990777294695, | |
"p50": 0.0072316741943359375, | |
"p90": 0.007944441318511963, | |
"p95": 0.007971993255615234, | |
"p99": 0.008063004932403564, | |
"values": [ | |
0.007957592964172363, | |
0.0075803141593933105, | |
0.007412794113159179, | |
0.007337913990020752, | |
0.00727903413772583, | |
0.007269433975219727, | |
0.007252793788909912, | |
0.007259193897247314, | |
0.007465272903442383, | |
0.007274553775787353, | |
0.007251033782958985, | |
0.0072249541282653805, | |
0.007147514820098877, | |
0.007179194927215576, | |
0.007232314109802246, | |
0.00725935411453247, | |
0.007224474906921387, | |
0.007193594932556152, | |
0.0072206339836120605, | |
0.007178554058074951, | |
0.007255673885345459, | |
0.007278234004974365, | |
0.007303353786468506, | |
0.007204314231872558, | |
0.007257594108581543, | |
0.007231354236602783, | |
0.007253754138946533, | |
0.00719551420211792, | |
0.007198393821716309, | |
0.007169915199279785, | |
0.007208154201507568, | |
0.007199354171752929, | |
0.007192634105682373, | |
0.007195353984832764, | |
0.007182713985443115, | |
0.0071729540824890135, | |
0.0071924738883972165, | |
0.007156633853912354, | |
0.007196794033050537, | |
0.007163993835449219, | |
0.00737679386138916, | |
0.007209273815155029, | |
0.007199833869934082, | |
0.007183834075927735, | |
0.007141913890838623, | |
0.007152634143829346, | |
0.007178713798522949, | |
0.007163514137268066, | |
0.007200153827667236, | |
0.00731343412399292, | |
0.0070737538337707516, | |
0.007116474151611328, | |
0.007124474048614502, | |
0.007114074230194092, | |
0.007134553909301758, | |
0.007117915153503418, | |
0.007075194835662842, | |
0.007091993808746338, | |
0.00741119384765625, | |
0.007150874137878418, | |
0.007172634124755859, | |
0.007168794155120849, | |
0.007113433837890625, | |
0.007187833786010742, | |
0.007110713958740234, | |
0.007219833850860596, | |
0.0072487940788269044, | |
0.007404314041137695, | |
0.007297113895416259, | |
0.007269433975219727, | |
0.007245913982391357, | |
0.007245753765106201, | |
0.007288313865661621, | |
0.007207354068756103, | |
0.007252473831176758, | |
0.0071595139503479, | |
0.0071803140640258785, | |
0.0071471939086914064, | |
0.007418074131011963, | |
0.0073907141685485836, | |
0.007489752769470215, | |
0.007232473850250244, | |
0.0073391938209533695, | |
0.00719391393661499, | |
0.00716495418548584, | |
0.007194074153900146, | |
0.007195834159851074, | |
0.007167354106903077, | |
0.007228633880615234, | |
0.0072316741943359375, | |
0.007263994216918946, | |
0.007295033931732178, | |
0.007228154182434082, | |
0.007221114158630371, | |
0.0072206339836120605, | |
0.007507833957672119, | |
0.007214873790740967, | |
0.007194074153900146, | |
0.007264314174652099, | |
0.007969913959503173, | |
0.00797199296951294, | |
0.008060153007507325, | |
0.008064474105834961, | |
0.008035992622375488, | |
0.007761113166809082, | |
0.007672153949737549, | |
0.007813593864440919, | |
0.007556313037872314, | |
0.0075991940498352055, | |
0.007844472885131836, | |
0.008046553611755372, | |
0.00809375286102295, | |
0.007707354068756104, | |
0.007624952793121338, | |
0.007387194156646728, | |
0.007134074211120605, | |
0.00718351411819458, | |
0.007113914012908936, | |
0.007162074089050293, | |
0.007073915004730225, | |
0.007070553779602051, | |
0.0071087942123413085, | |
0.007503354072570801, | |
0.00791743278503418, | |
0.007945912837982178, | |
0.00789583396911621, | |
0.007924472808837891, | |
0.00791231393814087, | |
0.007947672843933105, | |
0.00794223403930664, | |
0.007949112892150879, | |
0.007905912876129151, | |
0.007971993923187256, | |
0.007954391956329345, | |
0.008020153999328613 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.76524115413778 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |