IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0ed374c verified
raw
history blame
10.9 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",
"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": {},
"hub_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": "e9af750a2bec0e8b3a11d3bf5c5aa883075e8a03",
"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": 899.87072,
"max_global_vram": 841.785344,
"max_process_vram": 42104.737792,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.0325615234375,
"mean": 7.0325615234375,
"stdev": 0.0,
"p50": 7.0325615234375,
"p90": 7.0325615234375,
"p95": 7.0325615234375,
"p99": 7.0325615234375,
"values": [
7.0325615234375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.389568,
"max_global_vram": 898.428928,
"max_process_vram": 214793.351168,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9961037473678588,
"mean": 0.007843336593447709,
"stdev": 0.00036051829983592426,
"p50": 0.007658870220184326,
"p90": 0.008347541618347167,
"p95": 0.008775557804107666,
"p99": 0.008858388900756835,
"values": [
0.008858388900756835,
0.008842549324035644,
0.008858388900756835,
0.008854389190673828,
0.008787030220031739,
0.008748788833618164,
0.008826229095458984,
0.008950228691101075,
0.008711669921875,
0.008270230293273926,
0.008200149536132812,
0.008278389930725098,
0.008163829803466797,
0.008065750122070312,
0.008024470329284668,
0.008069589614868164,
0.008047989845275879,
0.008025911331176758,
0.008093429565429687,
0.008157910346984864,
0.008267350196838379,
0.008023349761962891,
0.008223830223083496,
0.00833998966217041,
0.00819791030883789,
0.008078869819641113,
0.007909749984741211,
0.007734391212463379,
0.007583990097045899,
0.007784310817718506,
0.007827509880065918,
0.007691831111907959,
0.007835670948028565,
0.0076145510673522945,
0.007657910823822021,
0.0076548709869384765,
0.007615190029144287,
0.00761375093460083,
0.007598871231079101,
0.007608469963073731,
0.0075551910400390625,
0.00759951114654541,
0.007617430210113525,
0.007590391159057617,
0.007631511211395264,
0.007733270168304444,
0.007789111137390137,
0.0075833511352539065,
0.0075969500541687015,
0.007610870838165283,
0.007620631217956543,
0.007664309978485107,
0.00772559118270874,
0.007575671195983887,
0.007538550853729248,
0.007558070182800293,
0.007586551189422607,
0.007646551132202148,
0.0076188712120056155,
0.007621749877929688,
0.007660790920257569,
0.007642870903015137,
0.007601429939270019,
0.0076291108131408695,
0.007577431201934814,
0.007603031158447265,
0.007619670867919922,
0.007630230903625489,
0.007673271179199219,
0.007649270057678223,
0.007678871154785156,
0.007652791023254395,
0.007624949932098389,
0.0076550312042236324,
0.007667671203613282,
0.007658870220184326,
0.007638710975646973,
0.00765631103515625,
0.007668950080871582,
0.007631190776824951,
0.007667830944061279,
0.007684790134429932,
0.0076977510452270505,
0.007681270122528076,
0.00764431095123291,
0.00766671085357666,
0.007683350086212158,
0.008291669845581055,
0.00859535026550293,
0.008511029243469238,
0.008525589942932128,
0.008358869552612305,
0.007961430072784425,
0.007964149951934814,
0.008074391365051269,
0.008064631462097169,
0.007974709987640381,
0.00789999008178711,
0.007592630863189697,
0.007630870819091797,
0.0076329498291015626,
0.0076548709869384765,
0.0076761507987976076,
0.007681910037994385,
0.0075747108459472655,
0.007678230762481689,
0.0076476697921752925,
0.0076055908203125,
0.007603510856628418,
0.007572950839996338,
0.007590869903564453,
0.007609751224517822,
0.007616470813751221,
0.0076519899368286135,
0.00762575101852417,
0.007633750915527344,
0.00758863115310669,
0.007612949848175049,
0.007676630973815918,
0.0076382308006286625,
0.007662230014801026,
0.007637269973754883,
0.007612471103668213,
0.007612790107727051,
0.0076316709518432614,
0.007585111141204834,
0.007635029792785644
]
},
"throughput": {
"unit": "samples/s",
"value": 127.49675958512299
},
"energy": null,
"efficiency": null
}
}
}