
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
88cfb2a
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": "5", | |
"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": 1079.15264, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49951.940608, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 14.9715654296875, | |
"mean": 14.9715654296875, | |
"stdev": 0.0, | |
"p50": 14.9715654296875, | |
"p90": 14.9715654296875, | |
"p95": 14.9715654296875, | |
"p99": 14.9715654296875, | |
"values": [ | |
14.9715654296875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.920832, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 250800.873472, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9975184521675111, | |
"mean": 0.008044503646512187, | |
"stdev": 0.00033457065236528426, | |
"p50": 0.008063735961914061, | |
"p90": 0.008366935062408447, | |
"p95": 0.008524502038955687, | |
"p99": 0.009322931241989133, | |
"values": [ | |
0.00851389503479004, | |
0.008597414016723632, | |
0.008526373863220214, | |
0.008739334106445312, | |
0.008738372802734375, | |
0.008395174980163574, | |
0.009778050422668457, | |
0.008330855369567871, | |
0.008377735137939452, | |
0.00848397445678711, | |
0.008448454856872558, | |
0.008389575004577637, | |
0.00826989459991455, | |
0.008213894844055176, | |
0.008164295196533203, | |
0.008174216270446778, | |
0.008103976249694824, | |
0.008051976203918457, | |
0.008053416252136231, | |
0.008065735816955567, | |
0.008062536239624024, | |
0.008071016311645508, | |
0.008070856094360352, | |
0.008017416000366212, | |
0.008041576385498047, | |
0.008002856254577636, | |
0.008044135093688965, | |
0.008064616203308105, | |
0.008030216217041015, | |
0.008039976119995117, | |
0.008016295433044433, | |
0.008010696411132813, | |
0.008022855758666993, | |
0.008068296432495117, | |
0.008039815902709961, | |
0.008028135299682618, | |
0.007990695953369141, | |
0.008024295806884766, | |
0.008015975952148438, | |
0.007981256008148193, | |
0.00806285572052002, | |
0.008016776084899903, | |
0.00799837589263916, | |
0.007990536212921142, | |
0.008186695098876953, | |
0.008341734886169433, | |
0.008287975311279297, | |
0.008223014831542969, | |
0.00811181640625, | |
0.008135814666748047, | |
0.008071975708007812, | |
0.008095814704895019, | |
0.008083975791931153, | |
0.008048456192016601, | |
0.008151815414428712, | |
0.008118056297302246, | |
0.00809245491027832, | |
0.008074695587158204, | |
0.008048456192016601, | |
0.008098215103149413, | |
0.009497252464294434, | |
0.008669254302978515, | |
0.00822813606262207, | |
0.008135014533996583, | |
0.008091336250305175, | |
0.00807597541809082, | |
0.008076935768127442, | |
0.008082056045532226, | |
0.008059494972229004, | |
0.008139016151428223, | |
0.008072936058044433, | |
0.008068936347961426, | |
0.008094696044921875, | |
0.008115015029907226, | |
0.008122056007385255, | |
0.008053895950317382, | |
0.008061575889587402, | |
0.008080936431884766, | |
0.008153255462646485, | |
0.008121095657348632, | |
0.007595177173614502, | |
0.00750525712966919, | |
0.007553738117218017, | |
0.0075982179641723635, | |
0.007383817195892334, | |
0.007777417182922363, | |
0.007635336875915527, | |
0.007677577018737793, | |
0.007557257175445557, | |
0.007558856964111328, | |
0.007605896949768066, | |
0.007551496982574463, | |
0.007500617980957031, | |
0.007683337211608887, | |
0.007925735950469972, | |
0.007731176853179931, | |
0.007704617023468018, | |
0.00772909688949585, | |
0.007730377197265625, | |
0.007779335975646973, | |
0.007930856227874756, | |
0.007931015968322753, | |
0.00766029691696167, | |
0.007829737186431885, | |
0.007742537021636963, | |
0.008078375816345214, | |
0.007628936767578125, | |
0.008059816360473633, | |
0.007535177230834961, | |
0.0074580578804016116, | |
0.007569256782531738, | |
0.008124456405639649, | |
0.008127655029296875, | |
0.008112456321716309, | |
0.008121254920959473, | |
0.00813757610321045, | |
0.00807421588897705, | |
0.007509737968444824, | |
0.00775197696685791, | |
0.008057576179504394, | |
0.007929255962371826, | |
0.007786696910858155, | |
0.008116615295410157, | |
0.008162055015563965 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.30847743273318 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |