IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4d70c64
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": {}, | |
"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, | |
"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": "bc4d55acdaf328bd5108ceb452b0f0a0c042200e", | |
"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": 900.4032, | |
"max_global_vram": 841.781248, | |
"max_process_vram": 48361.578496, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.376128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.42888623046875, | |
"mean": 7.42888623046875, | |
"stdev": 0.0, | |
"p50": 7.42888623046875, | |
"p90": 7.42888623046875, | |
"p95": 7.42888623046875, | |
"p99": 7.42888623046875, | |
"values": [ | |
7.42888623046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1014.153216, | |
"max_global_vram": 896.958464, | |
"max_process_vram": 225867.296768, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.99999107837677, | |
"mean": 0.00799992862701416, | |
"stdev": 0.0004641874068747378, | |
"p50": 0.008039335250854492, | |
"p90": 0.008263557815551758, | |
"p95": 0.008463845443725587, | |
"p99": 0.009286082839965825, | |
"values": [ | |
0.008404453277587891, | |
0.008272773742675781, | |
0.008466373443603516, | |
0.008453733444213867, | |
0.008342853546142578, | |
0.008476293563842774, | |
0.008593572616577148, | |
0.008467812538146973, | |
0.008560933113098145, | |
0.008323333740234374, | |
0.00839549446105957, | |
0.008249733924865723, | |
0.008243014335632324, | |
0.008197414398193359, | |
0.008243494033813477, | |
0.008207493782043458, | |
0.008169734001159668, | |
0.008175654411315918, | |
0.00822749423980713, | |
0.008122854232788086, | |
0.00811069393157959, | |
0.008149893760681152, | |
0.008150053977966308, | |
0.008108934402465821, | |
0.008146695137023926, | |
0.008127975463867187, | |
0.008181094169616699, | |
0.008139015197753906, | |
0.008095334053039551, | |
0.008122373580932617, | |
0.009504770278930664, | |
0.008222213745117187, | |
0.007990694046020508, | |
0.007998694896697998, | |
0.008010053634643554, | |
0.008005735397338867, | |
0.008049094200134277, | |
0.008067495346069336, | |
0.007482376098632813, | |
0.0074242959022521975, | |
0.007176776885986328, | |
0.00724541711807251, | |
0.007418856143951416, | |
0.007391336917877197, | |
0.007193097114562988, | |
0.0073862171173095705, | |
0.007495817184448242, | |
0.007949574947357178, | |
0.007980295181274414, | |
0.008036134719848632, | |
0.00801325511932373, | |
0.008016295433044433, | |
0.011409563064575195, | |
0.008099655151367187, | |
0.007907814979553222, | |
0.007979815006256103, | |
0.007948134899139404, | |
0.00800909423828125, | |
0.00803949546813965, | |
0.008051814079284668, | |
0.008011335372924805, | |
0.008012454032897949, | |
0.008049735069274902, | |
0.008053093910217286, | |
0.008008455276489258, | |
0.008072613716125488, | |
0.008017894744873046, | |
0.008007334709167481, | |
0.008042694091796875, | |
0.008030855178833007, | |
0.0080729341506958, | |
0.008013415336608886, | |
0.008053254127502442, | |
0.008042534828186036, | |
0.008052133560180664, | |
0.00730653715133667, | |
0.007564136028289795, | |
0.007530375957489014, | |
0.007154857158660889, | |
0.007250536918640136, | |
0.007209897041320801, | |
0.007208456993103027, | |
0.007178536891937256, | |
0.0072302169799804685, | |
0.007403176784515381, | |
0.007573895931243897, | |
0.007817094802856445, | |
0.0075545358657836915, | |
0.007638696193695068, | |
0.007175978183746338, | |
0.007994534015655518, | |
0.00788941478729248, | |
0.008079014778137206, | |
0.008034214973449708, | |
0.008076614379882812, | |
0.008017415046691895, | |
0.008074213981628418, | |
0.00805869483947754, | |
0.00803405475616455, | |
0.008039654731750489, | |
0.008012454986572265, | |
0.008050853729248048, | |
0.008039335250854492, | |
0.00800477409362793, | |
0.008008934020996094, | |
0.008080615043640136, | |
0.008069093704223634, | |
0.008053093910217286, | |
0.00802589511871338, | |
0.008034053802490235, | |
0.008077415466308593, | |
0.008144774436950684, | |
0.008046533584594727, | |
0.008002695083618163, | |
0.008062853813171386, | |
0.00807933521270752, | |
0.007974374771118163, | |
0.008021735191345214, | |
0.008032613754272461, | |
0.008044135093688965, | |
0.008039654731750489, | |
0.008020294189453126, | |
0.007987494945526124, | |
0.007994534015655518, | |
0.008017574310302734 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.00111521285326 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |