IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
712d49b verified
raw
history blame
9.89 kB
{
"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",
"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.0",
"optimum_benchmark_commit": "6422f8f56820540ec4876445962a50a44754b92e",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1000.009728,
"max_global_vram": 898.465792,
"max_process_vram": 212848.390144,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 126,
"total": 0.998830508232117,
"mean": 0.00792722625581045,
"stdev": 0.0005850173150845643,
"p50": 0.007933087587356568,
"p90": 0.008447805881500244,
"p95": 0.009062683582305909,
"p99": 0.009462361097335815,
"values": [
0.00825148582458496,
0.008022848129272462,
0.008263006210327148,
0.008186046600341796,
0.008376605987548828,
0.008413406372070312,
0.008415966033935547,
0.008456285476684571,
0.008421405792236328,
0.008249086380004883,
0.00798796796798706,
0.007968286991119384,
0.00797980785369873,
0.007985406875610352,
0.008066686630249023,
0.0076716489791870115,
0.007414209842681885,
0.007253570079803467,
0.007237730979919433,
0.007232289791107177,
0.007276610851287842,
0.007240449905395508,
0.007250851154327393,
0.008658525466918945,
0.007433249950408936,
0.0072714900970458985,
0.007254371166229248,
0.007284130096435547,
0.007284130096435547,
0.007266050815582276,
0.0072910099029541015,
0.007245891094207764,
0.00725917100906372,
0.007268449783325195,
0.007255811214447022,
0.007237410068511963,
0.007284131050109863,
0.0072438111305236814,
0.007233250141143799,
0.007263330936431884,
0.007205090999603272,
0.00728125,
0.007288610935211182,
0.007462210178375244,
0.007463329792022705,
0.007460289001464844,
0.007283010959625244,
0.007279971122741699,
0.0072927699089050295,
0.007242691040039062,
0.007272610187530518,
0.007257571220397949,
0.007275811195373535,
0.007289730072021485,
0.008106206893920899,
0.00818140697479248,
0.008216285705566406,
0.008163166999816894,
0.008232126235961914,
0.008927324295043945,
0.009201723098754883,
0.009200922966003418,
0.00946540069580078,
0.00936684226989746,
0.009554201126098633,
0.009453242301940917,
0.009107803344726563,
0.008765403747558593,
0.008479805946350097,
0.008407325744628906,
0.008377885818481446,
0.008349085807800293,
0.008410366058349609,
0.008339006423950196,
0.008383966445922852,
0.008363805770874023,
0.008354846000671387,
0.008329245567321777,
0.008440444946289063,
0.008448125839233399,
0.008427645683288574,
0.008420926094055176,
0.008395965576171876,
0.008386205673217774,
0.008385086059570312,
0.008353245735168458,
0.00835772705078125,
0.008391486167907716,
0.008382205963134765,
0.008392765998840332,
0.008376445770263672,
0.008369086265563964,
0.008356605529785156,
0.0078042888641357425,
0.0075106887817382815,
0.007500609874725342,
0.0075271701812744144,
0.007506848812103272,
0.007533730030059815,
0.007530688762664795,
0.007541089057922363,
0.007488289833068848,
0.007521248817443847,
0.007530688762664795,
0.007392769813537598,
0.007535329818725586,
0.007564929008483887,
0.007529408931732178,
0.008232606887817382,
0.008305246353149415,
0.008419965744018555,
0.00844748592376709,
0.008446685791015625,
0.008137086868286132,
0.007807329177856446,
0.007836928844451904,
0.007873248100280762,
0.007923487186431885,
0.00794268798828125,
0.007944128036499024,
0.007864768981933595,
0.007883967876434327,
0.007691489219665527,
0.007444129943847656,
0.007511329174041748,
0.007467970848083496
]
},
"throughput": {
"unit": "samples/s",
"value": 126.14752849611503
},
"energy": null,
"efficiency": null
}
}
}