
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d1cacb8
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": "64d7cde4ffc4c5c7d57f80bbb0bfaa5207878a13", | |
"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.111232, | |
"max_global_vram": 2547.253248, | |
"max_process_vram": 41542.848512, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1182275390625, | |
"mean": 7.1182275390625, | |
"stdev": 0.0, | |
"p50": 7.1182275390625, | |
"p90": 7.1182275390625, | |
"p95": 7.1182275390625, | |
"p99": 7.1182275390625, | |
"values": [ | |
7.1182275390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.613696, | |
"max_global_vram": 2603.757568, | |
"max_process_vram": 214049.91488, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 117, | |
"total": 0.9965219697952271, | |
"mean": 0.0085172817931216, | |
"stdev": 0.0001867059904104701, | |
"p50": 0.008455779075622559, | |
"p90": 0.008778240966796875, | |
"p95": 0.008826817131042481, | |
"p99": 0.009134130477905273, | |
"values": [ | |
0.008506178855895996, | |
0.008646496772766113, | |
0.008738177299499512, | |
0.008816416740417481, | |
0.008825857162475586, | |
0.008725217819213867, | |
0.008743617057800293, | |
0.008801217079162598, | |
0.008501538276672363, | |
0.008458978652954101, | |
0.008400580406188966, | |
0.008404580116271973, | |
0.008353859901428222, | |
0.008399139404296875, | |
0.008403618812561036, | |
0.008439780235290528, | |
0.008410980224609375, | |
0.008337540626525879, | |
0.008396739959716798, | |
0.008379459381103516, | |
0.008359780311584472, | |
0.008348420143127441, | |
0.008379459381103516, | |
0.00839706039428711, | |
0.008455780029296875, | |
0.008452420234680175, | |
0.008497379302978515, | |
0.008441859245300293, | |
0.008425219535827637, | |
0.008415780067443847, | |
0.008457859992980958, | |
0.008455140113830566, | |
0.008407139778137207, | |
0.00837001895904541, | |
0.00842650032043457, | |
0.008652737617492676, | |
0.008818976402282715, | |
0.008756417274475098, | |
0.008696097373962403, | |
0.008525378227233886, | |
0.00860761833190918, | |
0.008672097206115722, | |
0.008676577568054199, | |
0.008617057800292968, | |
0.00854473876953125, | |
0.008471138954162597, | |
0.008521059036254882, | |
0.008583778381347657, | |
0.008673057556152344, | |
0.00859737777709961, | |
0.008502498626708984, | |
0.008510499000549317, | |
0.008488259315490722, | |
0.00849385929107666, | |
0.008612897872924805, | |
0.00876825714111328, | |
0.008874497413635253, | |
0.008830657005310058, | |
0.008793216705322265, | |
0.008704577445983887, | |
0.008662498474121094, | |
0.00876825714111328, | |
0.008930015563964843, | |
0.009370173454284668, | |
0.009172735214233398, | |
0.008815776824951172, | |
0.008710017204284668, | |
0.008624578475952148, | |
0.00854201889038086, | |
0.008583778381347657, | |
0.008457058906555176, | |
0.008451779365539551, | |
0.008518657684326171, | |
0.008424739837646484, | |
0.008533219337463378, | |
0.00860441780090332, | |
0.008509698867797852, | |
0.008455779075622559, | |
0.00847593879699707, | |
0.00841514015197754, | |
0.008511618614196777, | |
0.008542658805847168, | |
0.008477060317993165, | |
0.00843418025970459, | |
0.008406660079956055, | |
0.008434979438781739, | |
0.008415299415588379, | |
0.008398340225219727, | |
0.008432900428771973, | |
0.00842393970489502, | |
0.008403618812561036, | |
0.008370180130004883, | |
0.008302980422973633, | |
0.008324259757995606, | |
0.00836106014251709, | |
0.008335780143737793, | |
0.008344900131225587, | |
0.008321539878845215, | |
0.008319140434265137, | |
0.008406338691711425, | |
0.008397540092468262, | |
0.008338979721069336, | |
0.008318980216979981, | |
0.008931455612182617, | |
0.008364419937133789, | |
0.008257539749145507, | |
0.008277701377868653, | |
0.008296581268310546, | |
0.008327301025390626, | |
0.008332099914550781, | |
0.008377860069274903, | |
0.008392579078674316, | |
0.008367778778076172, | |
0.008391618728637695, | |
0.008363300323486329, | |
0.008396899223327637, | |
0.008422498703002929 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.4083497868512 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |