IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fe3ff89
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_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, | |
"memory": true, | |
"latency": 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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.734848, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 42996.035584, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.682013671875, | |
"mean": 8.682013671875, | |
"stdev": 0.0, | |
"p50": 8.682013671875, | |
"p90": 8.682013671875, | |
"p95": 8.682013671875, | |
"p99": 8.682013671875, | |
"values": [ | |
8.682013671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.511232, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 197713.18272, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9991312203407284, | |
"mean": 0.0078057126589119435, | |
"stdev": 0.00037316495756988953, | |
"p50": 0.00766217589378357, | |
"p90": 0.008166225242614745, | |
"p95": 0.008406072998046875, | |
"p99": 0.009320680522918703, | |
"values": [ | |
0.00842001724243164, | |
0.00815921688079834, | |
0.008377456665039062, | |
0.008232658386230468, | |
0.008150096893310546, | |
0.007943857192993163, | |
0.009449460029602052, | |
0.008380176544189454, | |
0.00810897731781006, | |
0.008076176643371583, | |
0.007947696208953857, | |
0.008182578086853028, | |
0.00796561622619629, | |
0.00775905704498291, | |
0.007737936019897461, | |
0.007719376087188721, | |
0.007781455993652344, | |
0.007754096031188965, | |
0.007760336875915527, | |
0.007763696193695068, | |
0.007825457096099853, | |
0.0078612961769104, | |
0.010350582122802734, | |
0.008490097999572755, | |
0.007667695999145508, | |
0.007654416084289551, | |
0.007628015995025635, | |
0.007659056186676025, | |
0.007644815921783447, | |
0.007668176174163818, | |
0.00759665584564209, | |
0.0076324958801269535, | |
0.007631216049194336, | |
0.007607056140899658, | |
0.007573135852813721, | |
0.007588816165924072, | |
0.007630095958709717, | |
0.00763809585571289, | |
0.00766161584854126, | |
0.007660175800323486, | |
0.007634255886077881, | |
0.007711057186126709, | |
0.007667695999145508, | |
0.007624176025390625, | |
0.007656176090240479, | |
0.007634096145629883, | |
0.0076228961944580075, | |
0.00760529613494873, | |
0.007612016201019287, | |
0.007623537063598633, | |
0.007602255821228027, | |
0.00761521577835083, | |
0.007620816230773926, | |
0.007658256053924561, | |
0.007674416065216064, | |
0.00763921594619751, | |
0.007666736125946045, | |
0.0076904168128967285, | |
0.007629136085510254, | |
0.00765553617477417, | |
0.007809616088867187, | |
0.007581456184387207, | |
0.007640817165374756, | |
0.007622576236724853, | |
0.007566256046295166, | |
0.007627376079559326, | |
0.007603536128997803, | |
0.007640655994415283, | |
0.007728015899658203, | |
0.007610735893249512, | |
0.0076913762092590335, | |
0.00769265604019165, | |
0.0076918559074401855, | |
0.007688975811004638, | |
0.00763969612121582, | |
0.007684816837310791, | |
0.0076155362129211425, | |
0.007580656051635742, | |
0.007709455966949463, | |
0.007645936012268067, | |
0.007643216133117676, | |
0.007684976100921631, | |
0.00767937707901001, | |
0.007688015937805176, | |
0.00765505599975586, | |
0.0076564960479736325, | |
0.007636655807495117, | |
0.007664015769958496, | |
0.007644176006317139, | |
0.007577136039733887, | |
0.007645455837249756, | |
0.007632336139678955, | |
0.007614096164703369, | |
0.007648176193237305, | |
0.007701456069946289, | |
0.007636496067047119, | |
0.0076539359092712405, | |
0.007652976036071777, | |
0.0076324958801269535, | |
0.0075897760391235355, | |
0.0075401759147644045, | |
0.007621615886688232, | |
0.007630576133728027, | |
0.007816017150878906, | |
0.00759281587600708, | |
0.007662735939025879, | |
0.007682896137237548, | |
0.007708335876464844, | |
0.007673137187957764, | |
0.007654255867004395, | |
0.00810401725769043, | |
0.008972498893737793, | |
0.008633777618408204, | |
0.008760018348693848, | |
0.008318416595458985, | |
0.008032016754150391, | |
0.008025297164916992, | |
0.008072656631469726, | |
0.008285938262939453, | |
0.007940656185150146, | |
0.008106737136840821, | |
0.007966094970703125, | |
0.00785025691986084, | |
0.0077275362014770504, | |
0.007613135814666748, | |
0.007687215805053711, | |
0.0076088161468505855, | |
0.007653135776519776 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.11130049199022 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |