IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a5248dd verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": "error",
"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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 908.128256,
"max_global_vram": 841.846784,
"max_process_vram": 40623.259648,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.52932861328125,
"mean": 7.52932861328125,
"stdev": 0.0,
"p50": 7.52932861328125,
"p90": 7.52932861328125,
"p95": 7.52932861328125,
"p99": 7.52932861328125,
"values": [
7.52932861328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1023.295488,
"max_global_vram": 896.413696,
"max_process_vram": 195502.272512,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.997958024024963,
"mean": 0.00767660018480741,
"stdev": 0.001392735737505683,
"p50": 0.0077181715965271,
"p90": 0.00800095624923706,
"p95": 0.008050756406784059,
"p99": 0.013059410591125453,
"values": [
0.006945291042327881,
0.006846089839935302,
0.007210092067718506,
0.007150890827178955,
0.007500010967254639,
0.007608491897583008,
0.007941292762756349,
0.007823212146759033,
0.008165131568908692,
0.008097932815551758,
0.008056013107299805,
0.008044331550598145,
0.007990892887115478,
0.008018571853637696,
0.007870091915130615,
0.0076750521659851075,
0.007863051891326904,
0.01890418815612793,
0.0024187240600585936,
0.0030921640396118165,
0.007760012149810791,
0.007760171890258789,
0.007740491867065429,
0.0077300920486450195,
0.007739692211151123,
0.007742732048034668,
0.007755531787872315,
0.007810892105102539,
0.00784849214553833,
0.007820012092590332,
0.0077680120468139645,
0.007720331192016602,
0.009096014022827148,
0.007707372188568116,
0.007645932197570801,
0.0076396908760070804,
0.007633292198181153,
0.007667212009429931,
0.007692972183227539,
0.007683372020721436,
0.007715211868286133,
0.007699532032012939,
0.007756011962890625,
0.007754571914672851,
0.007736331939697265,
0.007723532199859619,
0.007743691921234131,
0.007683532238006592,
0.007693131923675537,
0.0077134518623352055,
0.007705932140350342,
0.007700171947479248,
0.0077160120010375975,
0.007725771903991699,
0.007726731777191162,
0.007705612182617188,
0.007713292121887207,
0.0077160120010375975,
0.007731691837310791,
0.007730892181396484,
0.007727372169494629,
0.007531851768493652,
0.006813129901885986,
0.006924170970916748,
0.00685313081741333,
0.006799210071563721,
0.006829771041870117,
0.006817609786987305,
0.006846251010894776,
0.00683457088470459,
0.006848330020904541,
0.0071536111831665035,
0.0068307299613952635,
0.00682033109664917,
0.006826089859008789,
0.006856811046600342,
0.006869290828704834,
0.006825610160827637,
0.006840970993041992,
0.0068667311668395995,
0.006879690170288086,
0.006824650764465332,
0.007760811805725098,
0.0077820920944213865,
0.007725451946258545,
0.014678262710571289,
0.0049688081741333006,
0.007283851146697998,
0.0077036919593811036,
0.0076993718147277835,
0.0076688117980957034,
0.00765745210647583,
0.007656012058258057,
0.007659532070159912,
0.007679691791534424,
0.007696812152862549,
0.007684971809387207,
0.007734092235565185,
0.007715531826019287,
0.007728012084960938,
0.007747851848602295,
0.0077140917778015135,
0.007706252098083496,
0.007936811923980713,
0.007920012950897217,
0.007956652164459229,
0.007953773021697998,
0.007952651977539062,
0.00793857192993164,
0.008010892868041993,
0.007943371772766113,
0.00799809217453003,
0.008023852348327637,
0.00824785327911377,
0.007999852180480957,
0.007986732959747314,
0.007989771842956543,
0.00799569320678711,
0.008039212226867676,
0.007991532802581787,
0.00797361183166504,
0.007910572052001952,
0.007950733184814453,
0.007946092128753662,
0.007944171905517577,
0.008023372650146484,
0.007913291931152344,
0.007589292049407959,
0.0076144118309020995,
0.0075608110427856446
]
},
"throughput": {
"unit": "samples/s",
"value": 130.2660000424508
},
"energy": null,
"efficiency": null
}
}
}