IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1365031 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": "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": 955.78112,
"max_global_vram": 68702.69952,
"max_process_vram": 46141.325312,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 13.48337109375,
"mean": 13.48337109375,
"stdev": 0.0,
"p50": 13.48337109375,
"p90": 13.48337109375,
"p95": 13.48337109375,
"p99": 13.48337109375,
"values": [
13.48337109375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.687488,
"max_global_vram": 68702.69952,
"max_process_vram": 245274.865664,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.997159558296204,
"mean": 0.00712256827354431,
"stdev": 0.0012613846791237773,
"p50": 0.006859049081802368,
"p90": 0.0077194820404052735,
"p95": 0.007879114079475403,
"p99": 0.013292702598571775,
"values": [
0.007718090057373047,
0.007677450180053711,
0.00784705114364624,
0.007869289875030518,
0.007898731231689453,
0.007889450073242188,
0.007930571079254151,
0.007878570079803467,
0.008015689849853515,
0.007808170795440674,
0.007778090000152588,
0.007714729785919189,
0.007692969799041748,
0.007700170040130615,
0.015660659790039062,
0.002416322946548462,
0.0056203269958496095,
0.007596330165863037,
0.007528490066528321,
0.007491209983825684,
0.007488490104675293,
0.007510250091552735,
0.007580009937286377,
0.007676170825958252,
0.007602089881896972,
0.007531529903411866,
0.007589930057525634,
0.007610249996185303,
0.007644010066986084,
0.007791050910949707,
0.007732009887695313,
0.007645770072937012,
0.007545450210571289,
0.007521130084991455,
0.0075513701438903805,
0.007517769813537598,
0.007559209823608398,
0.0075683298110961915,
0.007549610137939453,
0.007589290142059326,
0.006831530094146728,
0.006917609214782715,
0.006875208854675293,
0.007174728870391845,
0.0068326501846313475,
0.007052488803863525,
0.007056649208068848,
0.006837928771972656,
0.006855370044708252,
0.006854729175567627,
0.006772968769073486,
0.006769769191741944,
0.006818408966064453,
0.006871368885040283,
0.006858088970184326,
0.00686000919342041,
0.006900649070739746,
0.006907370090484619,
0.006788808822631836,
0.00682512903213501,
0.006852649211883545,
0.006845609188079834,
0.01320993709564209,
0.0023496038913726805,
0.006172167778015137,
0.00691248893737793,
0.006624168872833252,
0.006649128913879395,
0.0066684880256652835,
0.006633769035339356,
0.0066334490776062014,
0.006631369113922119,
0.006857449054718017,
0.00664832878112793,
0.006658888816833496,
0.006636329174041748,
0.006640967845916748,
0.00666896915435791,
0.0066523289680480956,
0.006611369132995606,
0.006647688865661621,
0.006630408763885498,
0.006644167900085449,
0.006707367897033692,
0.00664880895614624,
0.006649448871612549,
0.006638729095458985,
0.006658248901367188,
0.006638568878173828,
0.006637767791748047,
0.006651847839355469,
0.006681128978729248,
0.006672648906707763,
0.006662408828735352,
0.006883849143981933,
0.006636969089508057,
0.0066878490447998045,
0.006702249050140381,
0.0066926488876342775,
0.006703208923339843,
0.006674248218536377,
0.0066427278518676755,
0.006658729076385498,
0.006763848781585693,
0.006694249153137207,
0.006648969173431396,
0.0065979290008544925,
0.006645769119262695,
0.006675367832183838,
0.006626728057861328,
0.006629609107971192,
0.006637928962707519,
0.006632168769836425,
0.006622249126434326,
0.006623367786407471,
0.006628969192504883,
0.006629609107971192,
0.006639208793640137,
0.007574250221252441,
0.0074369702339172365,
0.007466090202331543,
0.007305290222167969,
0.00696432876586914,
0.006849769115447998,
0.006883368968963623,
0.006994568824768067,
0.0070846500396728514,
0.006935688972473144,
0.01334561824798584,
0.006623528957366944,
0.00754272985458374,
0.007104329109191895,
0.007040008068084717,
0.007076809883117676,
0.006943368911743164,
0.006990569114685059,
0.0071206498146057125,
0.0071240091323852535,
0.007339049816131591,
0.007511209964752197
]
},
"throughput": {
"unit": "samples/s",
"value": 140.39879459131996
},
"energy": null,
"efficiency": null
}
}
}