IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c859346
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_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": "9337b863a5d9e4991ca83847e6c2f66a543b52d9", | |
"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.344704, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 50038.874112, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.96819091796875, | |
"mean": 7.96819091796875, | |
"stdev": 0.0, | |
"p50": 7.96819091796875, | |
"p90": 7.96819091796875, | |
"p95": 7.96819091796875, | |
"p99": 7.96819091796875, | |
"values": [ | |
7.96819091796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.716096, | |
"max_global_vram": 898.27328, | |
"max_process_vram": 241489.24416, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 114, | |
"total": 0.9940255174636843, | |
"mean": 0.008719522083014773, | |
"stdev": 0.00015940407541259184, | |
"p50": 0.008700615882873537, | |
"p90": 0.008912630844116212, | |
"p95": 0.009003142261505127, | |
"p99": 0.009116591386795044, | |
"values": [ | |
0.00866861629486084, | |
0.008649575233459472, | |
0.009037734985351563, | |
0.009077895164489745, | |
0.0089254150390625, | |
0.008848455429077149, | |
0.008991974830627442, | |
0.00898349380493164, | |
0.008674375534057617, | |
0.008631654739379883, | |
0.008600456237792969, | |
0.008676135063171386, | |
0.009008134841918945, | |
0.008713415145874023, | |
0.008439656257629394, | |
0.008462535858154296, | |
0.008432777404785156, | |
0.008410057067871094, | |
0.008414216041564941, | |
0.008409095764160155, | |
0.008420616149902345, | |
0.008431336402893067, | |
0.008413416862487793, | |
0.00842669677734375, | |
0.008440296173095703, | |
0.008421256065368652, | |
0.008544615745544434, | |
0.00858973503112793, | |
0.008597415924072266, | |
0.008639495849609375, | |
0.008680775642395019, | |
0.008641414642333985, | |
0.008836455345153808, | |
0.008806694984436035, | |
0.00870029640197754, | |
0.008761095046997071, | |
0.008833575248718261, | |
0.008733895301818848, | |
0.008767814636230468, | |
0.00871357536315918, | |
0.008669734954833985, | |
0.008691816329956055, | |
0.008652774810791016, | |
0.008637255668640136, | |
0.008632615089416503, | |
0.008745736122131347, | |
0.008669095993041992, | |
0.008654694557189941, | |
0.00859389591217041, | |
0.008606375694274903, | |
0.008774214744567872, | |
0.008652774810791016, | |
0.008718536376953126, | |
0.008776776313781738, | |
0.008746535301208495, | |
0.008675015449523926, | |
0.008601736068725586, | |
0.00865261459350586, | |
0.0087145357131958, | |
0.008803495407104492, | |
0.00900045394897461, | |
0.008767174720764161, | |
0.008683815956115722, | |
0.008696934700012208, | |
0.008681896209716797, | |
0.008652615547180175, | |
0.008607175827026367, | |
0.008639016151428223, | |
0.008646535873413085, | |
0.008601896286010742, | |
0.008716614723205566, | |
0.008666376113891601, | |
0.008937094688415527, | |
0.008716135978698731, | |
0.00871357536315918, | |
0.008691176414489746, | |
0.008679176330566406, | |
0.008832454681396484, | |
0.009057574272155762, | |
0.009122373580932618, | |
0.008847655296325684, | |
0.008851655006408691, | |
0.008893574714660644, | |
0.008830374717712402, | |
0.00870589542388916, | |
0.008737415313720702, | |
0.008749575614929199, | |
0.00885133457183838, | |
0.008902694702148438, | |
0.00876381492614746, | |
0.008730055809020996, | |
0.008690376281738282, | |
0.00867485523223877, | |
0.008684776306152343, | |
0.008700935363769532, | |
0.008618696212768555, | |
0.008638694763183593, | |
0.008640456199645995, | |
0.008869094848632813, | |
0.00887741470336914, | |
0.008692296028137207, | |
0.008755655288696288, | |
0.008717894554138184, | |
0.009247174263000488, | |
0.008672934532165527, | |
0.008907814979553223, | |
0.008914694786071778, | |
0.00883261489868164, | |
0.008907814979553223, | |
0.008708935737609863, | |
0.00874477481842041, | |
0.008795655250549317, | |
0.008801254272460937, | |
0.008830215454101563 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 114.68518463276261 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |