IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cd141d1
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.2.1", | |
"optimum_benchmark_commit": "88e73025c13ec1a964328bd3aa8fa3b1b8ab2582", | |
"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.572672, | |
"max_global_vram": 898.482176, | |
"max_process_vram": 208289.611776, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 0.9989098486900324, | |
"mean": 0.00818778564500027, | |
"stdev": 0.0004929858179304062, | |
"p50": 0.008328320980072022, | |
"p90": 0.008619393157958984, | |
"p95": 0.008787921237945556, | |
"p99": 0.00903966378211975, | |
"values": [ | |
0.008486241340637206, | |
0.008619521141052246, | |
0.008657119750976562, | |
0.008815361022949218, | |
0.009062881469726563, | |
0.00895232105255127, | |
0.00883824062347412, | |
0.00878960132598877, | |
0.008755999565124512, | |
0.008695361137390136, | |
0.008684321403503418, | |
0.008618241310119628, | |
0.008633280754089355, | |
0.00856256103515625, | |
0.008566559791564942, | |
0.008518080711364746, | |
0.00858064079284668, | |
0.008572641372680665, | |
0.008534721374511719, | |
0.008478879928588867, | |
0.008579200744628906, | |
0.00855056095123291, | |
0.008499200820922852, | |
0.008506080627441407, | |
0.008542719841003419, | |
0.011462241172790528, | |
0.00894736099243164, | |
0.008468001365661622, | |
0.008439520835876464, | |
0.008346080780029297, | |
0.008373600006103515, | |
0.008315200805664063, | |
0.008336320877075195, | |
0.00830976104736328, | |
0.008343521118164063, | |
0.008290240287780762, | |
0.008338561058044433, | |
0.008345920562744141, | |
0.008323680877685547, | |
0.008363679885864258, | |
0.00830880069732666, | |
0.00836288070678711, | |
0.008348800659179688, | |
0.008413761138916016, | |
0.008372320175170898, | |
0.008366400718688966, | |
0.008371360778808594, | |
0.008391361236572265, | |
0.008354400634765625, | |
0.008342880249023438, | |
0.008370560646057129, | |
0.008359360694885253, | |
0.008378881454467774, | |
0.008335519790649414, | |
0.008348320960998535, | |
0.008349440574645995, | |
0.008332961082458496, | |
0.008348000526428223, | |
0.00837440013885498, | |
0.008340641021728516, | |
0.008394241333007812, | |
0.00833552074432373, | |
0.007952960014343261, | |
0.007665441036224365, | |
0.007760641098022461, | |
0.008427520751953126, | |
0.008263520240783691, | |
0.008200800895690918, | |
0.0078907208442688, | |
0.007914240837097169, | |
0.007995520114898682, | |
0.00782896089553833, | |
0.00795504093170166, | |
0.00786816120147705, | |
0.007888480186462403, | |
0.008036641120910645, | |
0.007893600940704345, | |
0.00783664083480835, | |
0.007922560214996337, | |
0.008011040687561035, | |
0.007907520771026612, | |
0.007785760879516602, | |
0.00771120023727417, | |
0.007598721027374268, | |
0.007665600776672363, | |
0.0076260800361633305, | |
0.0074276809692382815, | |
0.0076252808570861814, | |
0.007686080932617187, | |
0.0076806402206420895, | |
0.007865281105041503, | |
0.007847840785980225, | |
0.007585600852966308, | |
0.0075270400047302245, | |
0.007834081172943114, | |
0.0074222412109375, | |
0.007901440143585205, | |
0.008416960716247559, | |
0.008078560829162598, | |
0.007881121158599853, | |
0.008467679977416992, | |
0.0083905611038208, | |
0.008211200714111327, | |
0.007834721088409423, | |
0.0077763209342956545, | |
0.007806879997253418, | |
0.008107200622558593, | |
0.007872321128845216, | |
0.007838560104370116, | |
0.007833920955657958, | |
0.007938080787658692, | |
0.00787536096572876, | |
0.007912320137023926, | |
0.007732800006866455, | |
0.007516961097717285, | |
0.0075060811042785645, | |
0.007687039852142334, | |
0.007445600986480713, | |
0.0074332809448242184, | |
0.007425119876861572, | |
0.007458721160888672, | |
0.00744704008102417 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.13314360649302 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |