IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4b7536f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "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.2", | |
"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": 1041.309696, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45002.07616, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.7521298828125, | |
"mean": 7.7521298828125, | |
"stdev": 0.0, | |
"p50": 7.7521298828125, | |
"p90": 7.7521298828125, | |
"p95": 7.7521298828125, | |
"p99": 7.7521298828125, | |
"values": [ | |
7.7521298828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1158.590464, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 223934.48448, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9958949322700508, | |
"mean": 0.007544658577803411, | |
"stdev": 0.0011023778920208314, | |
"p50": 0.007387850999832153, | |
"p90": 0.00828310136795044, | |
"p95": 0.008325492572784424, | |
"p99": 0.012872828197479234, | |
"values": [ | |
0.014900181770324707, | |
0.004793766975402832, | |
0.007646252155303955, | |
0.00744481086730957, | |
0.007443531036376953, | |
0.007475051879882812, | |
0.007666891098022461, | |
0.007436810970306396, | |
0.007459531784057618, | |
0.007468650817871094, | |
0.007476810932159424, | |
0.007438090801239014, | |
0.007458092212677002, | |
0.007432971000671387, | |
0.00738753080368042, | |
0.0073668909072875976, | |
0.007388171195983887, | |
0.007442731857299805, | |
0.0074195308685302734, | |
0.00741585111618042, | |
0.0074232110977172855, | |
0.0074257712364196775, | |
0.00739489221572876, | |
0.007549931049346923, | |
0.007374570846557617, | |
0.007380170822143555, | |
0.0074147310256958004, | |
0.007393610954284668, | |
0.007360651016235352, | |
0.007371370792388916, | |
0.007317770957946777, | |
0.007330410957336426, | |
0.007328011035919189, | |
0.007344010829925537, | |
0.007361610889434814, | |
0.007342411041259766, | |
0.007422572135925293, | |
0.0073339309692382814, | |
0.007392011165618897, | |
0.00732689094543457, | |
0.007344810962677002, | |
0.007368650913238526, | |
0.007394731044769287, | |
0.007349771022796631, | |
0.007373291015625, | |
0.007438090801239014, | |
0.007342091083526611, | |
0.00733233118057251, | |
0.007351211071014404, | |
0.007304330825805664, | |
0.00734657096862793, | |
0.00734705114364624, | |
0.007354570865631104, | |
0.007345130920410156, | |
0.00735697078704834, | |
0.007334250926971436, | |
0.007338571071624756, | |
0.007445930957794189, | |
0.007340651035308838, | |
0.0073523311614990235, | |
0.007341771125793457, | |
0.007361930847167969, | |
0.007369931221008301, | |
0.007438411235809326, | |
0.007510090827941894, | |
0.007360651016235352, | |
0.007408491134643555, | |
0.007368010997772217, | |
0.007366090774536133, | |
0.007353771209716797, | |
0.007378410816192627, | |
0.007364330768585205, | |
0.007424971103668213, | |
0.007378090858459472, | |
0.007368331909179688, | |
0.007387051105499268, | |
0.0073384108543396, | |
0.007356491088867188, | |
0.007443211078643799, | |
0.00744097089767456, | |
0.007407211780548096, | |
0.007401451110839844, | |
0.00742401123046875, | |
0.007401610851287842, | |
0.0073504109382629395, | |
0.007364810943603516, | |
0.007400170803070068, | |
0.007344651222229004, | |
0.007370251178741455, | |
0.015138262748718262, | |
0.0024944028854370116, | |
0.00554128885269165, | |
0.007326731204986572, | |
0.007339210987091065, | |
0.007406570911407471, | |
0.007400811195373535, | |
0.007390090942382813, | |
0.007383851051330567, | |
0.007380012035369873, | |
0.00736513090133667, | |
0.007402250766754151, | |
0.007386570930480957, | |
0.007415050983428955, | |
0.00734001111984253, | |
0.007341291904449463, | |
0.007392331123352051, | |
0.007862092018127442, | |
0.008297612190246582, | |
0.008270572662353516, | |
0.008342251777648926, | |
0.008249133110046387, | |
0.008360331535339355, | |
0.008331212997436523, | |
0.007808492183685302, | |
0.008295851707458496, | |
0.008284493446350098, | |
0.008320812225341798, | |
0.008314892768859864, | |
0.008285451889038085, | |
0.00833521270751953, | |
0.008341772079467773, | |
0.008288011550903321, | |
0.007995051860809326, | |
0.007643371105194092, | |
0.007351850986480713, | |
0.007339371204376221, | |
0.007401610851287842, | |
0.007388811111450195, | |
0.00738529109954834, | |
0.007331050872802734, | |
0.007352170944213868, | |
0.0073382511138916015 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.54410251804197 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |