IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
818d5c2 verified
raw
history blame
10.5 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": "4f83ff1670dec8f273c8beb893e9243ca1209582",
"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": 1014.071296,
"max_global_vram": 897.134592,
"max_process_vram": 208680.32512,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9953467135429382,
"mean": 0.0072653044784156086,
"stdev": 0.00020982220015734661,
"p50": 0.007176464080810547,
"p90": 0.0075746070861816405,
"p95": 0.007626766967773437,
"p99": 0.008032270278930664,
"values": [
0.00738718318939209,
0.0072950229644775395,
0.007430383205413818,
0.007622222900390625,
0.007651342868804932,
0.007613741874694825,
0.007546702861785889,
0.007575663089752197,
0.007526543140411377,
0.007452302932739257,
0.007495663166046143,
0.0074271831512451175,
0.007408302783966064,
0.007350863933563233,
0.007335504055023193,
0.007268143177032471,
0.007245584011077881,
0.007206543922424317,
0.007224783897399902,
0.0072699041366577144,
0.007225743770599365,
0.007258863925933838,
0.007247023105621338,
0.00723086404800415,
0.007285902976989746,
0.007312464237213135,
0.007296783924102783,
0.007375983238220215,
0.007312464237213135,
0.007248784065246582,
0.007150864124298096,
0.007123983860015869,
0.007135663032531738,
0.0071004638671875,
0.007115503787994385,
0.007131504058837891,
0.007296463012695312,
0.007204944133758545,
0.007184624195098877,
0.007142704010009765,
0.0070870242118835445,
0.007138544082641601,
0.007132304191589355,
0.007179343223571778,
0.007146383762359619,
0.007179664134979248,
0.007165103912353516,
0.007145904064178467,
0.007149744033813477,
0.007152624130249023,
0.007100624084472656,
0.007157262802124024,
0.007148303985595703,
0.007158063888549805,
0.007158383846282959,
0.007109903812408448,
0.0072783842086791995,
0.007138383865356445,
0.007147823810577393,
0.0071057438850402836,
0.007362864017486572,
0.007232142925262451,
0.007152143955230713,
0.0071443037986755374,
0.007060944080352783,
0.00708190393447876,
0.007109583854675293,
0.007135824203491211,
0.007146063804626465,
0.007137904167175293,
0.007154384136199951,
0.007339663028717041,
0.007121583938598633,
0.007118703842163086,
0.00714542293548584,
0.007126863956451416,
0.007106224060058594,
0.007097424030303955,
0.0071113438606262205,
0.007130703926086426,
0.007165584087371826,
0.007158703804016113,
0.0071793441772460935,
0.007139983177185058,
0.007124303817749023,
0.007108943939208984,
0.007128623962402344,
0.007176464080810547,
0.007130222797393799,
0.0071204638481140135,
0.007129583835601807,
0.007144783973693848,
0.007096303939819336,
0.007102223873138427,
0.007101903915405274,
0.007148943901062012,
0.007117424011230469,
0.007182384014129638,
0.007156464099884033,
0.007203504085540772,
0.007168784141540528,
0.0072147040367126465,
0.007125103950500488,
0.007137423992156983,
0.00714302396774292,
0.007172303199768066,
0.00757390308380127,
0.008033422470092774,
0.008030221939086915,
0.008023820877075195,
0.008084141731262207,
0.007868462085723877,
0.007644943237304688,
0.007622222900390625,
0.007586062908172608,
0.007529743194580078,
0.007443182945251465,
0.007520623207092285,
0.007565903186798096,
0.007609262943267823,
0.007575822830200195,
0.007567183017730713,
0.007183824062347412,
0.0071321439743041995,
0.007150224208831787,
0.007180623054504395,
0.007192783832550049,
0.007176464080810547,
0.0071886229515075685,
0.007111504077911377,
0.007208623886108398,
0.007171342849731446,
0.007192304134368896,
0.007155344009399414,
0.007179823875427246,
0.0071687822341918945,
0.007187183856964111
]
},
"throughput": {
"unit": "samples/s",
"value": 137.64048058424612
},
"energy": null,
"efficiency": null
}
}
}