IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9a960d3
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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.1", | |
"optimum_benchmark_commit": "2c8ab57de1af767ec2e6a2cf774f52cea6a0db26", | |
"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": 1005.54752, | |
"max_global_vram": 898.453504, | |
"max_process_vram": 174837.874688, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9954618535041814, | |
"mean": 0.0077770457305014135, | |
"stdev": 0.0002436799425464066, | |
"p50": 0.007687941551208496, | |
"p90": 0.008095910739898682, | |
"p95": 0.00813847107887268, | |
"p99": 0.008622333316802979, | |
"values": [ | |
0.009321946144104004, | |
0.008220184326171874, | |
0.008193782806396484, | |
0.008122742652893067, | |
0.00790210199356079, | |
0.007882583141326904, | |
0.0079376220703125, | |
0.0077848219871521, | |
0.007852342128753662, | |
0.0077848219871521, | |
0.00774658203125, | |
0.007739861011505127, | |
0.007755540847778321, | |
0.0078019418716430665, | |
0.007832982063293458, | |
0.007743381977081299, | |
0.00778098201751709, | |
0.007710902214050293, | |
0.007786901950836181, | |
0.007744502067565918, | |
0.007749621868133545, | |
0.0077776222229003905, | |
0.007772342205047607, | |
0.007736822128295898, | |
0.007651542186737061, | |
0.00764962100982666, | |
0.007721302032470703, | |
0.007943703174591064, | |
0.007946261882781983, | |
0.00777442216873169, | |
0.007685622215270996, | |
0.007655702114105225, | |
0.007843542098999023, | |
0.007553781986236572, | |
0.007599380970001221, | |
0.0075653018951416014, | |
0.007575221061706543, | |
0.0077969818115234376, | |
0.007600021839141846, | |
0.007567861080169678, | |
0.007548501014709472, | |
0.007628022193908691, | |
0.007593141078948974, | |
0.007624502182006836, | |
0.007605461120605469, | |
0.007612981796264648, | |
0.007597301959991455, | |
0.007573300838470459, | |
0.007587381839752197, | |
0.007572501182556152, | |
0.007612981796264648, | |
0.00757810115814209, | |
0.007584181785583496, | |
0.007613780975341797, | |
0.0076192221641540525, | |
0.0076027407646179195, | |
0.007609461784362793, | |
0.007611382007598877, | |
0.0075825810432434086, | |
0.007652982234954834, | |
0.007609941005706787, | |
0.007607381820678711, | |
0.0076040210723876955, | |
0.007625300884246827, | |
0.007555222034454346, | |
0.007682580947875977, | |
0.007648662090301513, | |
0.007634262084960938, | |
0.007702421188354492, | |
0.007570580959320068, | |
0.007593142032623291, | |
0.00770690107345581, | |
0.007709941864013672, | |
0.007689142227172851, | |
0.007741141796112061, | |
0.007707221984863281, | |
0.007637301921844483, | |
0.00768674087524414, | |
0.0086608247756958, | |
0.00811714267730713, | |
0.008127862930297852, | |
0.008093942642211914, | |
0.008119543075561524, | |
0.008160822868347168, | |
0.008518263816833497, | |
0.008075383186340332, | |
0.008070423126220702, | |
0.00806626319885254, | |
0.008144183158874512, | |
0.008121783256530762, | |
0.007959702968597411, | |
0.008100502967834473, | |
0.007881142139434815, | |
0.007871861934661866, | |
0.00802418327331543, | |
0.0077273821830749516, | |
0.007658102035522461, | |
0.007607221126556396, | |
0.007660181999206543, | |
0.007616981983184814, | |
0.007674740791320801, | |
0.007662580966949463, | |
0.007629141807556152, | |
0.007669462203979492, | |
0.007632980823516846, | |
0.007821621894836426, | |
0.007893142223358154, | |
0.008003382682800294, | |
0.008020822525024413, | |
0.007850582122802735, | |
0.00795506191253662, | |
0.007979862213134766, | |
0.007962583065032959, | |
0.007732182025909424, | |
0.00764306116104126, | |
0.007612661838531494, | |
0.007674742221832276, | |
0.007603701114654541, | |
0.00764290189743042, | |
0.007608020782470703, | |
0.00763490104675293, | |
0.00765106201171875, | |
0.007677141189575195, | |
0.007655860900878907, | |
0.007679701805114746, | |
0.007617941856384277, | |
0.007657461166381836, | |
0.007695221900939941 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.58353090017468 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |