IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ab87299
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": "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": 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.0", | |
"optimum_benchmark_commit": "2a75c0bc0d007cc875fa0f75ca41d02e46f917be", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1008.775168, | |
"max_global_vram": 897.150976, | |
"max_process_vram": 180608.192512, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9958187851905819, | |
"mean": 0.007376435445856165, | |
"stdev": 0.00031780899307649516, | |
"p50": 0.007328309059143066, | |
"p90": 0.0078086933135986325, | |
"p95": 0.007828949022293091, | |
"p99": 0.007878389568328857, | |
"values": [ | |
0.008257748603820801, | |
0.007515829086303711, | |
0.007435830116271973, | |
0.00751694917678833, | |
0.007296309947967529, | |
0.007163990020751953, | |
0.006963191032409668, | |
0.007641589164733887, | |
0.007238709926605224, | |
0.0069787101745605465, | |
0.006996790885925293, | |
0.00777327013015747, | |
0.007758549213409424, | |
0.007192790031433105, | |
0.007176949977874756, | |
0.006956309795379639, | |
0.006976470947265625, | |
0.007120790004730225, | |
0.007293910026550293, | |
0.007467669010162353, | |
0.007096149921417236, | |
0.007159510135650635, | |
0.007323830127716064, | |
0.007106070041656494, | |
0.007186870098114014, | |
0.007327670097351074, | |
0.0071687898635864255, | |
0.006961750030517578, | |
0.0069606308937072755, | |
0.006989910125732422, | |
0.006984310150146484, | |
0.006959351062774658, | |
0.00697967004776001, | |
0.007008470058441162, | |
0.007008631229400635, | |
0.007035030841827393, | |
0.007124790191650391, | |
0.0070116701126098635, | |
0.007207990169525147, | |
0.006987189769744873, | |
0.006924469947814941, | |
0.006948151111602783, | |
0.007238070011138916, | |
0.00751262903213501, | |
0.00744527006149292, | |
0.007492469787597656, | |
0.007204629898071289, | |
0.0074623899459838865, | |
0.007278550148010254, | |
0.007397590160369873, | |
0.007209270000457763, | |
0.007254389762878418, | |
0.007399508953094483, | |
0.0073107099533081055, | |
0.007436309814453125, | |
0.007843188762664795, | |
0.007823029041290282, | |
0.007785109043121338, | |
0.007841429233551026, | |
0.007826549053192139, | |
0.007851990222930908, | |
0.007821109771728516, | |
0.007826388835906983, | |
0.007796948909759522, | |
0.00789198923110962, | |
0.007785909175872803, | |
0.007779668807983398, | |
0.00778318977355957, | |
0.0077652702331542965, | |
0.007589108943939209, | |
0.007473110198974609, | |
0.007030550003051758, | |
0.007265590190887451, | |
0.007203030109405518, | |
0.007104949951171875, | |
0.007331830024719238, | |
0.0071419100761413576, | |
0.006852630138397217, | |
0.00686703109741211, | |
0.007142230033874512, | |
0.00739999008178711, | |
0.007200951099395752, | |
0.007168951034545898, | |
0.007406390190124511, | |
0.00709375, | |
0.007593910217285157, | |
0.0078143892288208, | |
0.0077867088317871095, | |
0.007780949115753174, | |
0.007730390071868896, | |
0.007360949039459229, | |
0.007533750057220459, | |
0.00738302993774414, | |
0.007328309059143066, | |
0.007392789840698242, | |
0.00735407018661499, | |
0.007160630226135254, | |
0.0072086300849914554, | |
0.007226069927215576, | |
0.006917590141296386, | |
0.007077589988708496, | |
0.006928310871124267, | |
0.006932469844818115, | |
0.0070971097946167, | |
0.007163829803466797, | |
0.0077391891479492185, | |
0.007802549839019775, | |
0.007794709205627442, | |
0.007787349224090576, | |
0.007780949115753174, | |
0.0077678289413452145, | |
0.007799028873443603, | |
0.007780630111694336, | |
0.0078177490234375, | |
0.007812788963317871, | |
0.007834548950195313, | |
0.007791829109191894, | |
0.007780788898468017, | |
0.007790070056915283, | |
0.007835669040679932, | |
0.007671669006347657, | |
0.007551990032196045, | |
0.007489429950714111, | |
0.00747422981262207, | |
0.0074668688774108885, | |
0.007531670093536377, | |
0.007113110065460205, | |
0.007132949829101562, | |
0.007250710010528565, | |
0.00736014986038208, | |
0.007383509159088135, | |
0.007095991134643554, | |
0.00707358980178833, | |
0.007015669822692871, | |
0.007001268863677979 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.56683405421336 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |