IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
985784a
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_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": 1004.240896, | |
"max_global_vram": 898.465792, | |
"max_process_vram": 150515.027968, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9973735375404363, | |
"mean": 0.0077919807620346546, | |
"stdev": 0.00045242294739732445, | |
"p50": 0.007737229108810425, | |
"p90": 0.008250312900543212, | |
"p95": 0.008267681312561035, | |
"p99": 0.008324589729309082, | |
"values": [ | |
0.008032586097717285, | |
0.007845387935638428, | |
0.007996907234191894, | |
0.007953067779541016, | |
0.007983946800231933, | |
0.007830348014831543, | |
0.007452590942382813, | |
0.0074197912216186525, | |
0.007431311130523682, | |
0.0074276309013366695, | |
0.007424750804901123, | |
0.0074250707626342775, | |
0.0074057111740112305, | |
0.007380590915679931, | |
0.007420751094818115, | |
0.007627628803253174, | |
0.007426671028137207, | |
0.007422990798950195, | |
0.007476429939270019, | |
0.007449390888214111, | |
0.007410830974578857, | |
0.007384430885314941, | |
0.00745242977142334, | |
0.007450991153717041, | |
0.007407791137695312, | |
0.00739867115020752, | |
0.007453390121459961, | |
0.007454989910125732, | |
0.007462191104888916, | |
0.007473071098327636, | |
0.007464591026306152, | |
0.007444749832153321, | |
0.00748026990890503, | |
0.007495309829711914, | |
0.00774298906326294, | |
0.007617549896240234, | |
0.007543630123138427, | |
0.007542510032653809, | |
0.007636748790740967, | |
0.007492430210113525, | |
0.007377390861511231, | |
0.010404730796813965, | |
0.007412590980529785, | |
0.007248432159423828, | |
0.007234992027282715, | |
0.0077957878112792965, | |
0.007873387813568115, | |
0.008085386276245117, | |
0.008205224990844726, | |
0.008167145729064941, | |
0.00821530532836914, | |
0.008156266212463379, | |
0.008179145812988281, | |
0.008176106452941895, | |
0.008195145606994629, | |
0.008190345764160157, | |
0.008227946281433106, | |
0.008237706184387208, | |
0.00823994541168213, | |
0.008224425315856933, | |
0.008273704528808594, | |
0.008230665206909179, | |
0.008254824638366699, | |
0.008237545013427734, | |
0.008261545181274414, | |
0.008230825424194337, | |
0.008273064613342285, | |
0.008244105339050293, | |
0.008244905471801758, | |
0.008265705108642578, | |
0.00826874542236328, | |
0.008250024795532227, | |
0.008250985145568848, | |
0.008239145278930665, | |
0.008299944877624511, | |
0.008258344650268555, | |
0.008253705024719239, | |
0.00813594627380371, | |
0.00781802797317505, | |
0.00792570686340332, | |
0.007975626945495605, | |
0.007703148841857911, | |
0.007695629119873047, | |
0.0077314691543579105, | |
0.0077879481315612795, | |
0.008093385696411133, | |
0.008182504653930663, | |
0.008333704948425292, | |
0.00827274513244629, | |
0.008150185585021973, | |
0.008203946113586425, | |
0.008148265838623046, | |
0.008139145851135255, | |
0.008143786430358887, | |
0.008199464797973633, | |
0.008161226272583007, | |
0.008158825874328613, | |
0.008138505935668946, | |
0.008170986175537109, | |
0.008165864944458008, | |
0.008170825958251953, | |
0.008169066429138184, | |
0.00817530632019043, | |
0.007720748901367188, | |
0.007577549934387207, | |
0.007608748912811279, | |
0.007911787986755372, | |
0.007558509826660156, | |
0.007206831932067871, | |
0.00719547176361084, | |
0.007273231983184815, | |
0.007218671798706055, | |
0.007203792095184326, | |
0.007244911193847656, | |
0.007250351905822754, | |
0.007224912166595459, | |
0.007544909954071045, | |
0.007300910949707032, | |
0.007307470798492432, | |
0.0072567520141601565, | |
0.00726475191116333, | |
0.00724187183380127, | |
0.007247471809387207, | |
0.007247312068939209, | |
0.007260910987854004, | |
0.007251310825347901, | |
0.007231472015380859, | |
0.0072433118820190425 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.33707250309976 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |