IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
715bdc3 verified
raw
history blame
10.3 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": "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": "73dd36ea04ff1cc8259f4039b6f9d56dfb9eecd1",
"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.963008,
"max_global_vram": 897.159168,
"max_process_vram": 143424.16384,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9987108578681946,
"mean": 0.007565991347486322,
"stdev": 0.000648445477705279,
"p50": 0.007365072965621948,
"p90": 0.008027419662475586,
"p95": 0.008628904771804807,
"p99": 0.00968346085548401,
"values": [
0.008104907989501952,
0.007098674774169922,
0.007117393970489502,
0.007002035140991211,
0.007052433967590332,
0.007022994995117188,
0.006911795139312744,
0.006798195838928223,
0.006813876152038574,
0.0067884368896484375,
0.007013875007629395,
0.00761211109161377,
0.007425392150878906,
0.007508912086486816,
0.007978827953338622,
0.008759143829345704,
0.00912746238708496,
0.009481538772583007,
0.011899603843688964,
0.00969625759124756,
0.008861542701721192,
0.008522345542907714,
0.008314987182617188,
0.008096108436584473,
0.00800602912902832,
0.007962508201599121,
0.007968268871307372,
0.008155627250671387,
0.00799354887008667,
0.008004749298095703,
0.008046828269958495,
0.008011947631835938,
0.008002348899841309,
0.007996428966522216,
0.008028107643127442,
0.007992108821868897,
0.007639951229095459,
0.007613231182098388,
0.007643950939178467,
0.0076196308135986325,
0.00767179012298584,
0.007646831035614013,
0.007673551082611084,
0.007667311191558838,
0.007630190849304199,
0.007637391090393067,
0.00761595106124878,
0.009654977798461913,
0.008021227836608887,
0.007982988834381104,
0.007995468139648437,
0.007674510955810547,
0.007641709804534912,
0.0074823517799377445,
0.007060914993286133,
0.007268434047698975,
0.007387312889099121,
0.007289712905883789,
0.0072927532196044925,
0.007067793846130371,
0.00710331392288208,
0.007176593780517578,
0.007128593921661377,
0.0071940340995788575,
0.00716443395614624,
0.007294353008270264,
0.007235312938690185,
0.007306832790374756,
0.0074775519371032715,
0.00756139087677002,
0.007283312797546387,
0.007191954135894775,
0.007258193016052246,
0.007547951221466064,
0.0077140297889709475,
0.00785306978225708,
0.007689071178436279,
0.007312912940979004,
0.00771819019317627,
0.008011947631835938,
0.007977869033813477,
0.007961708068847656,
0.00799786901473999,
0.007973547935485839,
0.007522672176361084,
0.007375792026519775,
0.007471951961517334,
0.007464431762695313,
0.007477550983428955,
0.007468272209167481,
0.007415631771087647,
0.007365872859954834,
0.007177873134613037,
0.007157554149627685,
0.007202514171600342,
0.007902509212493896,
0.00731691312789917,
0.0073642730712890625,
0.007148114204406739,
0.007146674156188965,
0.007108593940734863,
0.00725963306427002,
0.007147634029388427,
0.007157554149627685,
0.00701355504989624,
0.007228913784027099,
0.007201553821563721,
0.007345552921295166,
0.007167473793029785,
0.007149553775787353,
0.007117234230041504,
0.0072209138870239255,
0.007190033912658691,
0.007167634010314942,
0.007182034015655517,
0.007157713890075684,
0.007291633129119873,
0.007169394016265869,
0.00716443395614624,
0.007147634983062744,
0.007148754119873047,
0.007134833812713623,
0.007239153861999512,
0.007191314220428467,
0.007136754035949707,
0.00715787410736084,
0.007190834045410157,
0.007168114185333252,
0.007155313968658448,
0.007120913028717041,
0.007151473999023437,
0.007156914234161377
]
},
"throughput": {
"unit": "samples/s",
"value": 132.17038641370291
},
"energy": null,
"efficiency": null
}
}
}