IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b1675db
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": "warn", | |
"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.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 956.70272, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51799.769088, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 14.376361328125, | |
"mean": 14.376361328125, | |
"stdev": 0.0, | |
"p50": 14.376361328125, | |
"p90": 14.376361328125, | |
"p95": 14.376361328125, | |
"p99": 14.376361328125, | |
"values": [ | |
14.376361328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1083.510784, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 250262.605824, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.0015675950050356, | |
"mean": 0.0077640898837599654, | |
"stdev": 0.0002461885232652437, | |
"p50": 0.007728496074676514, | |
"p90": 0.00803633689880371, | |
"p95": 0.0081388973236084, | |
"p99": 0.008609074745178222, | |
"values": [ | |
0.007872976779937745, | |
0.007894096851348877, | |
0.00810545825958252, | |
0.008127376556396485, | |
0.008183697700500488, | |
0.008060497283935547, | |
0.008027378082275391, | |
0.00800689697265625, | |
0.008245457649230957, | |
0.00788785696029663, | |
0.007896017074584961, | |
0.007847696781158446, | |
0.007828176975250244, | |
0.007693777084350586, | |
0.007692815780639649, | |
0.007690415859222412, | |
0.007688497066497803, | |
0.007675055980682373, | |
0.007761137008666992, | |
0.007706737041473389, | |
0.0076558561325073245, | |
0.00767937707901001, | |
0.007628496170043945, | |
0.007641295909881592, | |
0.007704017162322998, | |
0.007666575908660889, | |
0.0076672167778015134, | |
0.007648816108703613, | |
0.007648976802825927, | |
0.00777489709854126, | |
0.007728496074676514, | |
0.007770256996154785, | |
0.00774321699142456, | |
0.0077585768699646, | |
0.007719696044921875, | |
0.00894257926940918, | |
0.008348017692565919, | |
0.00795393705368042, | |
0.007996336936950683, | |
0.007941617965698242, | |
0.008038577079772949, | |
0.007974096775054932, | |
0.007903057098388672, | |
0.007867537021636962, | |
0.007766897201538086, | |
0.007764976978302002, | |
0.0078104171752929686, | |
0.00774273681640625, | |
0.007695695877075195, | |
0.007681937217712403, | |
0.007843697071075439, | |
0.007730096817016602, | |
0.007772975921630859, | |
0.00782449722290039, | |
0.007766417026519775, | |
0.007705296993255615, | |
0.007616176128387451, | |
0.007658417224884033, | |
0.0075800161361694336, | |
0.007597776889801025, | |
0.007607855796813965, | |
0.007596977233886719, | |
0.007783696174621582, | |
0.007943697929382324, | |
0.007936017036437988, | |
0.008009456634521484, | |
0.007941297054290771, | |
0.008146577835083008, | |
0.00782449722290039, | |
0.0077755370140075684, | |
0.007752975940704346, | |
0.007932016849517822, | |
0.007932656764984131, | |
0.00776241683959961, | |
0.0078038558959960935, | |
0.007739216804504395, | |
0.007670577049255371, | |
0.008036176681518554, | |
0.008412657737731933, | |
0.007782257080078125, | |
0.007890576839447022, | |
0.007868496894836426, | |
0.007896337032318115, | |
0.008036977767944336, | |
0.008013136863708496, | |
0.007996976852416992, | |
0.00868545913696289, | |
0.00792289686203003, | |
0.007643217086791992, | |
0.00772049617767334, | |
0.007613457202911377, | |
0.007574575901031494, | |
0.007592977046966553, | |
0.0075878558158874515, | |
0.007624337196350098, | |
0.007514256000518799, | |
0.007572336196899414, | |
0.0075236959457397464, | |
0.007522575855255127, | |
0.007496016025543213, | |
0.007508975982666016, | |
0.0074832158088684085, | |
0.007519536018371582, | |
0.007649456024169922, | |
0.007608976840972901, | |
0.007503695964813232, | |
0.007507376194000244, | |
0.007512656211853028, | |
0.007494895935058594, | |
0.007498415946960449, | |
0.007519696235656738, | |
0.0074430561065673825, | |
0.007533616065979004, | |
0.00752017593383789, | |
0.0074876961708068845, | |
0.007541296005249024, | |
0.007479537010192871, | |
0.0074832158088684085, | |
0.007259854793548584, | |
0.007119534969329834, | |
0.007463056087493897, | |
0.0075494561195373535, | |
0.007539697170257568, | |
0.0076985759735107425, | |
0.007750096797943115, | |
0.008111698150634766, | |
0.007689136028289795, | |
0.007701137065887451, | |
0.007851215839385986 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.7980967468815 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |