IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d5e6604 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",
"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,
"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",
"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": "674d8c572ada4aac26b730928ac88a3effc914de",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.393664,
"max_global_vram": 898.473984,
"max_process_vram": 226532.724736,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.9980679092407223,
"mean": 0.0076774454556978655,
"stdev": 0.0005879283079723771,
"p50": 0.0074652528762817385,
"p90": 0.008164049625396729,
"p95": 0.008344001150131225,
"p99": 0.009896725816726685,
"values": [
0.009913244247436524,
0.009856284141540527,
0.009464606285095215,
0.00838140869140625,
0.008397089958190917,
0.00834860897064209,
0.008278690338134765,
0.008313730239868164,
0.008259169578552246,
0.008239489555358886,
0.008064130783081054,
0.007759652137756348,
0.007539972782135009,
0.007653252124786377,
0.007245893955230713,
0.007283812999725342,
0.007299493789672851,
0.007305892944335937,
0.007261894226074219,
0.007251493930816651,
0.007286374092102051,
0.007326532840728759,
0.007271014213562012,
0.007382692813873291,
0.011091159820556641,
0.008338369369506837,
0.008119490623474121,
0.008142370223999024,
0.008110211372375489,
0.008120610237121581,
0.008110851287841796,
0.008163649559020996,
0.008123491287231445,
0.00809132957458496,
0.00810301113128662,
0.00807660961151123,
0.008052290916442871,
0.008112771034240723,
0.008122050285339355,
0.00808941078186035,
0.008059810638427735,
0.008074530601501465,
0.008094531059265136,
0.008068930625915528,
0.008087010383605956,
0.00808397102355957,
0.008072131156921387,
0.008122051239013672,
0.008109569549560547,
0.008101410865783691,
0.007892291069030761,
0.007611813068389893,
0.007319653987884521,
0.007585892200469971,
0.007598372936248779,
0.007543491840362549,
0.007358853816986084,
0.007415974140167236,
0.007430532932281494,
0.007464932918548584,
0.007419332981109619,
0.007423333168029785,
0.007190854072570801,
0.007395173072814941,
0.007148933887481689,
0.0071526141166687015,
0.007306213855743408,
0.0073460531234741215,
0.007543333053588867,
0.007526692867279053,
0.00720237398147583,
0.007187493801116943,
0.0071721339225769044,
0.007194533824920655,
0.007203013896942139,
0.007167813777923584,
0.007183973789215088,
0.007162693977355957,
0.007208454132080078,
0.0072046141624450685,
0.007215494155883789,
0.007209894180297852,
0.00720189380645752,
0.007172614097595215,
0.007180294036865234,
0.007188293933868408,
0.007164454936981201,
0.007363813877105713,
0.007182854175567627,
0.0072174139022827145,
0.007342534065246582,
0.007371653079986573,
0.007178214073181153,
0.007431333065032959,
0.007505571842193604,
0.0076924519538879394,
0.007357573986053466,
0.007222693920135498,
0.007200133800506592,
0.007465572834014893,
0.008037570953369141,
0.00816765022277832,
0.008123810768127442,
0.008142050743103027,
0.00813901138305664,
0.0077706918716430665,
0.007650852203369141,
0.007674051761627197,
0.007662851810455323,
0.007625411987304687,
0.00772621202468872,
0.007842852115631103,
0.007662053108215332,
0.007463013172149658,
0.0072668538093566895,
0.007292453765869141,
0.0072380537986755375,
0.007206374168395996,
0.007258374214172364,
0.007473093032836914,
0.007307174205780029,
0.007306532859802246,
0.0072969341278076175,
0.0074964528083801265,
0.007284453868865967,
0.007283813953399658,
0.0072738938331604,
0.007278533935546875,
0.00724685287475586,
0.007217733860015869
]
},
"throughput": {
"unit": "samples/s",
"value": 130.25165802485037
},
"energy": null,
"efficiency": null
}
}
}