IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
42039ec verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "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": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1104.535552,
"max_global_vram": 68702.69952,
"max_process_vram": 4291.055616,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.0754539337158203
],
"count": 1,
"total": 0.0754539337158203,
"mean": 0.0754539337158203,
"p50": 0.0754539337158203,
"p90": 0.0754539337158203,
"p95": 0.0754539337158203,
"p99": 0.0754539337158203,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1222.397952,
"max_global_vram": 68702.69952,
"max_process_vram": 255902.150656,
"max_reserved": 555.74528,
"max_allocated": 499.506688
},
"latency": {
"unit": "s",
"values": [
0.008594260215759278,
0.008290578842163086,
0.008357938766479492,
0.0082241792678833,
0.008193458557128906,
0.00824289894104004,
0.008169617652893067,
0.008294098854064942,
0.008177298545837403,
0.008188179016113281,
0.008177298545837403,
0.008219058990478516,
0.008258098602294922,
0.00818545913696289,
0.008269139289855957,
0.008196338653564453,
0.008219379425048828,
0.008420980453491211,
0.008642580032348633,
0.00853697967529297,
0.008356819152832031,
0.008319059371948241,
0.008224979400634765,
0.00822001838684082,
0.008211379051208495,
0.00818225860595703,
0.008268339157104492,
0.008241458892822266,
0.008232019424438476,
0.008294578552246093,
0.008204018592834473,
0.008270419120788575,
0.00825761890411377,
0.008318578720092774,
0.008390259742736817,
0.008296978950500489,
0.00831105899810791,
0.008276020050048828,
0.008316338539123535,
0.008293139457702636,
0.008233939170837402,
0.008289138793945312,
0.008223379135131836,
0.008231538772583008,
0.008337139129638672,
0.008367379188537598,
0.008443698883056641,
0.008372658729553223,
0.008352819442749024,
0.008420019149780274,
0.008534579277038575,
0.008419699668884277,
0.008399218559265136,
0.008324500083923339,
0.008332179069519044,
0.008592820167541504,
0.008356658935546876,
0.008523859977722169,
0.008502739906311035,
0.008484339714050293,
0.008463059425354004,
0.008463540077209473,
0.008404499053955078,
0.008422100067138671,
0.00831697940826416,
0.008344499588012696,
0.008405299186706542,
0.008299698829650879,
0.00825105857849121,
0.008280658721923828,
0.008402579307556153,
0.008232178688049317,
0.008240979194641113,
0.008293619155883789,
0.008264498710632324,
0.00858273983001709,
0.008880020141601563,
0.00848849868774414,
0.008533459663391113,
0.008380659103393555,
0.008364020347595215,
0.008377939224243165,
0.008317620277404784,
0.008348978996276856,
0.008327698707580567,
0.008282419204711913,
0.007843698024749756,
0.007958578109741212,
0.007932178020477295,
0.007934738159179687,
0.007849137783050537,
0.007873137950897217,
0.0078803391456604,
0.008229939460754395,
0.008290578842163086,
0.008247058868408203,
0.00822321891784668,
0.00812465763092041,
0.008114898681640625,
0.007868658065795899,
0.007831377983093262,
0.007791858196258545,
0.007762738227844238,
0.007810098171234131,
0.007775057792663574,
0.007777617931365967,
0.007799538135528564,
0.00785825777053833,
0.007815378189086914,
0.007821777820587157,
0.007834417819976807,
0.007832178115844727,
0.007852337837219238,
0.007864337921142578,
0.007841618061065673,
0.007803698062896728,
0.007817138195037841,
0.007816497802734374,
0.007795057773590088,
0.007814737796783447,
0.007797936916351319,
0.007777297973632812
],
"count": 122,
"total": 1.0013165426254271,
"mean": 0.008207512644470717,
"p50": 0.008261298656463623,
"p90": 0.008463492012023927,
"p95": 0.008534523296356202,
"p99": 0.008632432870864869,
"stdev": 0.00024076425078961515,
"stdev_": 2.933461832091292
},
"throughput": {
"unit": "samples/s",
"value": 121.83959298237397
},
"energy": null,
"efficiency": null
}
}
}