IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ade2d11
verified
{ | |
"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": "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.0", | |
"optimum_benchmark_commit": "19eeac52e408e408898ac1fac3d9abefced0131b", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1004.220416, | |
"max_global_vram": 898.4576, | |
"max_process_vram": 174836.006912, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0000946702957147, | |
"mean": 0.007353637281586143, | |
"stdev": 0.00037703269468259565, | |
"p50": 0.007270452976226806, | |
"p90": 0.007637732028961182, | |
"p95": 0.00787725055217743, | |
"p99": 0.008236936759948731, | |
"values": [ | |
0.007567652225494385, | |
0.007185254096984863, | |
0.0073254132270812984, | |
0.007444451808929444, | |
0.007500132083892822, | |
0.007446211814880371, | |
0.007449892044067383, | |
0.0073938918113708495, | |
0.007305412769317627, | |
0.0072207732200622555, | |
0.0072231731414794925, | |
0.0071846132278442386, | |
0.007152933120727539, | |
0.007121413230895996, | |
0.0071151738166809085, | |
0.007078053951263427, | |
0.007119332790374756, | |
0.007115493774414063, | |
0.007096774101257324, | |
0.007073412895202637, | |
0.007066534042358398, | |
0.007104292869567871, | |
0.007117894172668457, | |
0.0071764540672302245, | |
0.007148774147033692, | |
0.007087653160095215, | |
0.007121892929077148, | |
0.007091494083404541, | |
0.007087653160095215, | |
0.0070937337875366215, | |
0.007043334007263183, | |
0.0070393338203430175, | |
0.007041253089904785, | |
0.007043173789978027, | |
0.007031333923339844, | |
0.00716749382019043, | |
0.007278371810913086, | |
0.007299653053283691, | |
0.007333571910858154, | |
0.007317412853240967, | |
0.00731277322769165, | |
0.007238213062286377, | |
0.007367812156677246, | |
0.010725239753723144, | |
0.007490531921386719, | |
0.007280453205108643, | |
0.007252933025360108, | |
0.0072542128562927246, | |
0.007270853042602539, | |
0.007249252796173096, | |
0.007226212978363037, | |
0.007245253086090088, | |
0.0072780528068542485, | |
0.007209893226623535, | |
0.0072879729270935055, | |
0.007247172832489014, | |
0.007235493183135986, | |
0.007203332901000977, | |
0.007432611942291259, | |
0.007246212959289551, | |
0.007256772994995117, | |
0.007242533206939697, | |
0.007253252983093262, | |
0.007234212875366211, | |
0.007225412845611573, | |
0.007340612888336181, | |
0.0072894120216369625, | |
0.0072658929824829105, | |
0.007288773059844971, | |
0.007261413097381592, | |
0.0072702131271362306, | |
0.00727789306640625, | |
0.0072591729164123535, | |
0.007251492977142334, | |
0.007214693069458008, | |
0.007269573211669922, | |
0.007224133014678955, | |
0.007231973171234131, | |
0.0072854127883911135, | |
0.007297732830047607, | |
0.0072682929039001466, | |
0.007290692806243897, | |
0.007270692825317383, | |
0.0072682929039001466, | |
0.0072634930610656736, | |
0.007221733093261719, | |
0.007246692180633545, | |
0.007226852893829345, | |
0.007274373054504395, | |
0.007249252796173096, | |
0.007252613067626953, | |
0.007242533206939697, | |
0.007231492996215821, | |
0.007313252925872803, | |
0.008176609039306641, | |
0.0082060489654541, | |
0.008176449775695802, | |
0.007780770778656006, | |
0.0081666898727417, | |
0.008202049255371094, | |
0.008253568649291993, | |
0.00775645112991333, | |
0.007769411087036133, | |
0.007702051162719726, | |
0.007640131950378418, | |
0.007752450942993164, | |
0.007770051002502441, | |
0.0075524520874023435, | |
0.007191332817077636, | |
0.0073820528984069825, | |
0.007450532913208008, | |
0.0073793320655822755, | |
0.00743693208694458, | |
0.007351973056793213, | |
0.0074084529876708985, | |
0.007320452213287354, | |
0.007302213191986084, | |
0.007279653072357178, | |
0.007258052825927734, | |
0.007320612907409668, | |
0.0073009319305419925, | |
0.007280292987823486, | |
0.0072658929824829105, | |
0.0073199720382690426, | |
0.007281892776489258, | |
0.007283812999725342, | |
0.007496451854705811, | |
0.007635332107543945, | |
0.007532611846923828, | |
0.007252932071685791, | |
0.0072446131706237794, | |
0.007279973030090332, | |
0.007303012847900391, | |
0.007296933174133301, | |
0.0073102121353149415, | |
0.007296932220458984 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.98712605856255 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |