IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4d782e4 verified
raw
history blame
10.2 kB
{
"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",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"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.2.0",
"optimum_benchmark_commit": "4aa72a2fd35e7d46a674935ffaf335b1c0795600",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1006.661632,
"max_global_vram": 898.47808,
"max_process_vram": 218173.104128,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9965789990425106,
"mean": 0.007549840901837204,
"stdev": 0.0003322089314077138,
"p50": 0.00745503044128418,
"p90": 0.0077946458816528326,
"p95": 0.007860964894294739,
"p99": 0.008351425437927246,
"values": [
0.00794830894470215,
0.007680150032043457,
0.007574550151824951,
0.007623030185699463,
0.007730390071868896,
0.007690869808197022,
0.00774271011352539,
0.0077308697700500485,
0.007687189102172851,
0.007643189907073975,
0.007581270217895507,
0.007544310092926026,
0.007566549777984619,
0.007470870018005371,
0.007461269855499267,
0.007467989921569824,
0.007445590019226074,
0.007420630931854248,
0.007451671123504639,
0.00741742992401123,
0.007628630161285401,
0.007469590187072754,
0.0074747099876403805,
0.007463190078735351,
0.007453909873962402,
0.007493750095367431,
0.007492630004882812,
0.007496950149536133,
0.007518549919128418,
0.007489910125732422,
0.010799506187438964,
0.007716948986053467,
0.007387190818786621,
0.007416150093078613,
0.007422229766845703,
0.007395349979400635,
0.007431350231170654,
0.007364470005035401,
0.0074495902061462406,
0.007454710960388184,
0.007421431064605713,
0.007465750217437744,
0.007396949768066406,
0.0074268698692321776,
0.007426549911499023,
0.007408949851989746,
0.007426070213317871,
0.007408309936523438,
0.007421590805053711,
0.0074292697906494145,
0.007438710212707519,
0.007431509971618652,
0.007399509906768799,
0.007430870056152344,
0.007452310085296631,
0.007422229766845703,
0.007374391078948974,
0.007455349922180176,
0.007411670207977295,
0.0074190301895141605,
0.007443029880523682,
0.007403989791870117,
0.0074177498817443845,
0.007471350193023682,
0.007375670909881592,
0.0074361500740051266,
0.007445750236511231,
0.007499509811401367,
0.007501430034637451,
0.007491030216217041,
0.007441269874572754,
0.007414229869842529,
0.007447509765625,
0.007421110153198242,
0.007447670936584472,
0.007398870944976807,
0.007463669776916504,
0.007429910182952881,
0.007481589794158936,
0.0074721498489379885,
0.007474390029907227,
0.007464630126953125,
0.0074428701400756836,
0.007451670169830322,
0.0074287900924682616,
0.007441751003265381,
0.007479190826416016,
0.007458549976348877,
0.007408949851989746,
0.007400149822235107,
0.007461909770965576,
0.007425270080566406,
0.007412630081176758,
0.00742894983291626,
0.007447350978851319,
0.007451991081237793,
0.007541910171508789,
0.007926709175109863,
0.007806069850921631,
0.0078124690055847166,
0.007827990055084229,
0.008030388832092285,
0.008330228805541993,
0.00836094856262207,
0.007823349952697754,
0.007789750099182129,
0.00779518985748291,
0.007873108863830566,
0.007785109996795654,
0.007763189792633057,
0.00785102891921997,
0.0078067097663879394,
0.007594870090484619,
0.007508470058441162,
0.007450069904327393,
0.0075523099899291995,
0.007515989780426026,
0.0075503897666931155,
0.007445109844207764,
0.007449749946594238,
0.007446710109710693,
0.007471829891204834,
0.007459670066833496,
0.007420310020446777,
0.007479349136352539,
0.0074230308532714845,
0.007435350894927978,
0.007406710147857666,
0.0074105501174926754,
0.007380630016326904,
0.007485270023345947,
0.007420310020446777
]
},
"throughput": {
"unit": "samples/s",
"value": 132.45312225806725
},
"energy": null,
"efficiency": null
}
}
}