IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
10cc027
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": "b6683a24439f2dd9ea7e05cec40bf36c11a71f7a", | |
"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.569984, | |
"max_global_vram": 1126.518784, | |
"max_process_vram": 47404.302336, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.5977568359375, | |
"mean": 7.5977568359375, | |
"stdev": 0.0, | |
"p50": 7.5977568359375, | |
"p90": 7.5977568359375, | |
"p95": 7.5977568359375, | |
"p99": 7.5977568359375, | |
"values": [ | |
7.5977568359375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.459264, | |
"max_global_vram": 1181.700096, | |
"max_process_vram": 225909.850112, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9962132983207702, | |
"mean": 0.007271629914750148, | |
"stdev": 0.0004065590454771905, | |
"p50": 0.007119515895843506, | |
"p90": 0.007702106952667236, | |
"p95": 0.007887354946136474, | |
"p99": 0.008413780174255368, | |
"values": [ | |
0.0077942352294921875, | |
0.007866875171661377, | |
0.0081297550201416, | |
0.008232634544372558, | |
0.008052474975585937, | |
0.007932795047760009, | |
0.007878874778747559, | |
0.0076051149368286134, | |
0.007714395046234131, | |
0.007439836025238037, | |
0.007410234928131103, | |
0.007319674968719482, | |
0.007331356048583985, | |
0.007238074779510498, | |
0.007236795902252197, | |
0.007217114925384522, | |
0.007340956211090088, | |
0.0072350349426269535, | |
0.007248635768890381, | |
0.007297275066375733, | |
0.007169916152954102, | |
0.007371835231781006, | |
0.007144636154174805, | |
0.007165275096893311, | |
0.0071828761100769046, | |
0.007231514930725097, | |
0.007241596221923828, | |
0.007305914878845215, | |
0.007291676044464112, | |
0.00723407506942749, | |
0.0071620759963989256, | |
0.0072540750503540035, | |
0.007149435997009277, | |
0.007071515083312988, | |
0.008515674591064453, | |
0.0076662349700927735, | |
0.007094555854797363, | |
0.0071734352111816405, | |
0.010590073585510253, | |
0.007183034896850586, | |
0.006968475818634033, | |
0.0069871959686279295, | |
0.007042234897613526, | |
0.007329916000366211, | |
0.0070196747779846195, | |
0.007109755992889404, | |
0.007082075119018555, | |
0.0070905561447143555, | |
0.007263995170593261, | |
0.007012475967407226, | |
0.0070721559524536135, | |
0.0071091151237487795, | |
0.007022396087646484, | |
0.007045596122741699, | |
0.007035675048828125, | |
0.007083995819091797, | |
0.007019354820251465, | |
0.007231835842132568, | |
0.007062235832214356, | |
0.007224155902862549, | |
0.007075516223907471, | |
0.007091994762420654, | |
0.007108476161956787, | |
0.007091994762420654, | |
0.007017595767974854, | |
0.007025755882263183, | |
0.007108634948730469, | |
0.007044156074523925, | |
0.007037915229797363, | |
0.007132475852966309, | |
0.007087515830993652, | |
0.007059354782104493, | |
0.007056955814361572, | |
0.007028794765472412, | |
0.007082396030426026, | |
0.007014555931091309, | |
0.00702287483215332, | |
0.007031516075134277, | |
0.007118875980377197, | |
0.00705455493927002, | |
0.007041275978088379, | |
0.007032155036926269, | |
0.0070073561668396, | |
0.007119515895843506, | |
0.007137434959411621, | |
0.007049915790557862, | |
0.007070234775543213, | |
0.007086396217346191, | |
0.007030076026916504, | |
0.00721007490158081, | |
0.007030395984649658, | |
0.007026555061340332, | |
0.006994875907897949, | |
0.006995515823364258, | |
0.007064155101776123, | |
0.0069815959930419925, | |
0.007054076194763183, | |
0.007054234981536865, | |
0.007056156158447266, | |
0.007054874897003174, | |
0.007142236232757568, | |
0.007159036159515381, | |
0.007881275177001953, | |
0.007755835056304932, | |
0.007434714794158936, | |
0.0073516759872436525, | |
0.007396635055541992, | |
0.007693914890289306, | |
0.007889914989471435, | |
0.007886714935302734, | |
0.007610075950622559, | |
0.007470715045928955, | |
0.007542234897613525, | |
0.007542716026306152, | |
0.007466714859008789, | |
0.00745183515548706, | |
0.007454875946044922, | |
0.007473915100097656, | |
0.007451194763183594, | |
0.007532636165618897, | |
0.007337914943695068, | |
0.007431995868682861, | |
0.007028474807739258, | |
0.00710399580001831, | |
0.007034554958343506, | |
0.007011355876922608, | |
0.0070587158203125, | |
0.007021755218505859, | |
0.007023836135864258, | |
0.007359515190124512, | |
0.007047515869140625, | |
0.007091676235198975, | |
0.007011516094207764, | |
0.00703791618347168, | |
0.007021914005279541, | |
0.0070513558387756345, | |
0.007027195930480957 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.5207500551628 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |