IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8c06949
verified
{ | |
"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": "41836e67badc33c5e7a42b3b53f44695ff51963e", | |
"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": 1013.891072, | |
"max_global_vram": 897.122304, | |
"max_process_vram": 212473.331712, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9943692765235901, | |
"mean": 0.007052264372507732, | |
"stdev": 0.0003355952009621878, | |
"p50": 0.006942211151123047, | |
"p90": 0.007287010192871094, | |
"p95": 0.00736444902420044, | |
"p99": 0.007777215480804444, | |
"values": [ | |
0.0076210880279541015, | |
0.0072758088111877445, | |
0.007042850017547607, | |
0.007083331108093262, | |
0.007287010192871094, | |
0.007274689197540284, | |
0.007286849021911621, | |
0.007238049983978271, | |
0.007209569931030274, | |
0.007236609935760498, | |
0.007104770183563232, | |
0.007130529880523682, | |
0.007099170207977295, | |
0.0070511698722839355, | |
0.007092451095581055, | |
0.0071066908836364745, | |
0.00706157112121582, | |
0.007023169994354248, | |
0.007011170864105225, | |
0.007035809993743897, | |
0.0070702099800109865, | |
0.007060770988464356, | |
0.007080131053924561, | |
0.007118370056152344, | |
0.007058370113372803, | |
0.0070292501449584965, | |
0.007112450122833252, | |
0.007077889919281006, | |
0.007206850051879883, | |
0.010303956985473633, | |
0.00706109094619751, | |
0.00684813117980957, | |
0.006943971157073975, | |
0.006894052028656006, | |
0.006905731201171875, | |
0.006888131141662598, | |
0.006917410850524902, | |
0.00687165117263794, | |
0.006927970886230469, | |
0.006898691177368164, | |
0.006896450996398926, | |
0.006939490795135498, | |
0.006928451061248779, | |
0.0069006109237670895, | |
0.006963970184326172, | |
0.006930370807647705, | |
0.006952930927276611, | |
0.00693501091003418, | |
0.006936130046844483, | |
0.006942531108856201, | |
0.0069335708618164064, | |
0.007105090141296387, | |
0.0069146909713745115, | |
0.006908930778503418, | |
0.006891170978546143, | |
0.0069257311820983885, | |
0.006932450771331787, | |
0.006887970924377441, | |
0.006905251026153565, | |
0.006873890876770019, | |
0.006929730892181397, | |
0.007003489971160889, | |
0.006948610782623291, | |
0.006941891193389892, | |
0.006906850814819336, | |
0.006904611110687256, | |
0.006945730209350586, | |
0.006927970886230469, | |
0.006977410793304444, | |
0.007051010131835938, | |
0.0069380512237548824, | |
0.006930370807647705, | |
0.006939490795135498, | |
0.006873250961303711, | |
0.006954531192779541, | |
0.006910050868988037, | |
0.00691917085647583, | |
0.006936291217803955, | |
0.006970050811767578, | |
0.0069593310356140135, | |
0.006944130897521972, | |
0.006943971157073975, | |
0.006960451126098633, | |
0.006915650844573975, | |
0.006954211235046387, | |
0.006880452156066894, | |
0.006868772029876709, | |
0.006864612102508545, | |
0.006910050868988037, | |
0.006865732192993164, | |
0.006883811950683594, | |
0.006852612018585205, | |
0.006820450782775879, | |
0.006803491115570068, | |
0.00689293098449707, | |
0.006891651153564453, | |
0.0068737311363220215, | |
0.00688861083984375, | |
0.006905731201171875, | |
0.00684109115600586, | |
0.006850690841674805, | |
0.006863330841064453, | |
0.006875010967254638, | |
0.007560769081115723, | |
0.007708288192749023, | |
0.007759168148040772, | |
0.00736444902420044, | |
0.00724876880645752, | |
0.007276609897613525, | |
0.00725836992263794, | |
0.00728796911239624, | |
0.007789247035980225, | |
0.007652128219604492, | |
0.007265089988708496, | |
0.007303969860076904, | |
0.007306849002838135, | |
0.00723213005065918, | |
0.007139969825744629, | |
0.007225090026855468, | |
0.007291169166564942, | |
0.007327168941497803, | |
0.007293729782104492, | |
0.0070919709205627445, | |
0.006921570777893066, | |
0.0068770918846130374, | |
0.006910690784454346, | |
0.006933890819549561, | |
0.006886051177978515, | |
0.006915171146392823, | |
0.006927970886230469, | |
0.006928131103515625, | |
0.006935650825500488, | |
0.00694365119934082, | |
0.006922690868377685, | |
0.006932450771331787, | |
0.00688637113571167, | |
0.006932130813598633, | |
0.0069305310249328615, | |
0.006942211151123047, | |
0.006901091098785401, | |
0.006987810134887695 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.79842773597093 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |