IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e1c917f verified
raw
history blame
11.1 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": {},
"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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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.4.0",
"optimum_benchmark_commit": "3e7bebdc507bc4e37dce5660074b7586de6b39b2",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 903.35232,
"max_global_vram": 841.756672,
"max_process_vram": 45917.966336,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.97666845703125,
"mean": 6.97666845703125,
"stdev": 0.0,
"p50": 6.97666845703125,
"p90": 6.97666845703125,
"p95": 6.97666845703125,
"p99": 6.97666845703125,
"values": [
6.97666845703125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1012.641792,
"max_global_vram": 898.400256,
"max_process_vram": 219600.420864,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0001869490146633,
"mean": 0.007577173856171696,
"stdev": 0.0011669755457600793,
"p50": 0.007494987964630127,
"p90": 0.007638556146621704,
"p95": 0.007766564989089965,
"p99": 0.008441370372772218,
"values": [
0.007475549221038818,
0.007467388153076172,
0.007424508094787598,
0.00841123104095459,
0.0074325079917907716,
0.007438747882843017,
0.007466907978057861,
0.007483387947082519,
0.0074632282257080075,
0.007456828117370606,
0.019737674713134767,
0.002642090082168579,
0.005628661155700683,
0.007433628082275391,
0.00747954797744751,
0.007442107200622558,
0.00745170783996582,
0.007454428195953369,
0.007452348232269287,
0.007425148010253907,
0.007426747798919678,
0.007433628082275391,
0.007461947917938232,
0.007430267810821533,
0.007461147785186768,
0.007507708072662354,
0.007467867851257325,
0.007511548042297363,
0.007444508075714111,
0.007474907875061035,
0.007464667797088623,
0.007429468154907227,
0.00744946813583374,
0.007437306880950928,
0.0074710679054260255,
0.007459867954254151,
0.007456347942352295,
0.0074429078102111815,
0.007460507869720459,
0.007420028209686279,
0.007452507972717285,
0.0074662680625915525,
0.007578429222106934,
0.0075659480094909665,
0.007476667881011963,
0.007713627815246582,
0.007613468170166016,
0.00750194787979126,
0.007578427791595459,
0.007575869083404541,
0.007463068008422852,
0.00744786787033081,
0.007588348865509033,
0.0074656281471252445,
0.007561468124389649,
0.007575707912445068,
0.007627068996429443,
0.0072785868644714355,
0.0072838678359985354,
0.007442748069763184,
0.007570428848266602,
0.008454911231994629,
0.008214911460876466,
0.007383866786956787,
0.007433628082275391,
0.007508028030395508,
0.007364508152008057,
0.007386426925659179,
0.007362586975097656,
0.0073451480865478515,
0.007400668144226074,
0.007452827930450439,
0.007451387882232666,
0.007470267772674561,
0.00740802812576294,
0.0074257879257202146,
0.00746482801437378,
0.007437148094177246,
0.007473787784576416,
0.007495068073272705,
0.007692829132080078,
0.007776188850402832,
0.007752348899841308,
0.007656508922576904,
0.007615388870239258,
0.007540507793426514,
0.007493628025054932,
0.007462748050689697,
0.007448028087615967,
0.0074949078559875485,
0.007473308086395264,
0.007463868141174316,
0.007626267910003662,
0.007635549068450927,
0.00765618896484375,
0.0076305890083312984,
0.007612028121948242,
0.0076368279457092285,
0.0077729887962341305,
0.008120829582214356,
0.007761309146881104,
0.0076387481689453125,
0.007613789081573486,
0.007563707828521729,
0.007551548957824707,
0.007553308010101318,
0.007554268836975098,
0.007551387786865234,
0.007556189060211182,
0.007539388179779053,
0.007544827938079834,
0.007546107769012451,
0.0075822691917419435,
0.0075945878028869625,
0.007609309196472168,
0.007566748142242431,
0.007555228233337402,
0.00754066801071167,
0.007564188957214356,
0.0075297880172729495,
0.007548028945922851,
0.007541627883911133,
0.007528189182281494,
0.007582747936248779,
0.007543388843536377,
0.007573787212371826,
0.007541308879852295,
0.00755106782913208,
0.0075541090965270995,
0.007520987987518311,
0.007554587841033936,
0.007526907920837402
]
},
"throughput": {
"unit": "samples/s",
"value": 131.97532734259337
},
"energy": null,
"efficiency": null
}
}
}