IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f1525de
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1104.781312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3884.060672, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07806795501708984 | |
], | |
"count": 1, | |
"total": 0.07806795501708984, | |
"mean": 0.07806795501708984, | |
"p50": 0.07806795501708984, | |
"p90": 0.07806795501708984, | |
"p95": 0.07806795501708984, | |
"p99": 0.07806795501708984, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1227.640832, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 221876.498432, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.442688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007363211154937744, | |
0.007315530776977539, | |
0.00736752986907959, | |
0.007389770984649658, | |
0.007116011142730713, | |
0.006818089008331299, | |
0.0067262501716613765, | |
0.006463369846343994, | |
0.006480488777160644, | |
0.006630569934844971, | |
0.006495048999786377, | |
0.006445769786834717, | |
0.006601449012756348, | |
0.006585450172424317, | |
0.006447528839111328, | |
0.0065921697616577145, | |
0.0064584088325500486, | |
0.006454410076141358, | |
0.006481288909912109, | |
0.006444169044494629, | |
0.006484650135040283, | |
0.006468008995056152, | |
0.006474249839782715, | |
0.006476169109344483, | |
0.006507369995117187, | |
0.006497289180755615, | |
0.006487208843231201, | |
0.006461130142211914, | |
0.00648560905456543, | |
0.0064563298225402835, | |
0.006455688953399658, | |
0.006467209815979004, | |
0.006466888904571534, | |
0.006439208984375, | |
0.00648976993560791, | |
0.006466088771820068, | |
0.00646304988861084, | |
0.006430889129638672, | |
0.006456328868865967, | |
0.006433450222015381, | |
0.006448009014129639, | |
0.006417449951171875, | |
0.006463849067687989, | |
0.006439048767089844, | |
0.006455210208892823, | |
0.006457448959350586, | |
0.006442409038543701, | |
0.006450889110565186, | |
0.006446088790893555, | |
0.006437769889831543, | |
0.0065955290794372555, | |
0.006476329803466797, | |
0.0064724888801574705, | |
0.006470250129699707, | |
0.006461129188537597, | |
0.0064505691528320315, | |
0.006450250148773194, | |
0.00645008897781372, | |
0.006473609924316406, | |
0.006433769226074219, | |
0.006472329139709473, | |
0.0064467301368713375, | |
0.006440009117126465, | |
0.006446088790893555, | |
0.006438729763031006, | |
0.006448009014129639, | |
0.006815370082855225, | |
0.0065152101516723635, | |
0.006445128917694092, | |
0.006445609092712403, | |
0.006436009883880615, | |
0.006457129001617432, | |
0.00645488977432251, | |
0.006438088893890381, | |
0.006464969158172607, | |
0.006438409805297852, | |
0.0064419288635253905, | |
0.006456968784332276, | |
0.006470889091491699, | |
0.006449129104614258, | |
0.006457610130310059, | |
0.006447848796844483, | |
0.006487850189208984, | |
0.00644736909866333, | |
0.006487208843231201, | |
0.006468009948730469, | |
0.0064584088325500486, | |
0.006434889793395996, | |
0.00646928882598877, | |
0.0064798488616943355, | |
0.006477930068969726, | |
0.0064577689170837406, | |
0.00645920991897583, | |
0.006517929077148437, | |
0.0064704098701477055, | |
0.006483529090881348, | |
0.006442728996276855, | |
0.0064603290557861326, | |
0.006462089061737061, | |
0.00646576976776123, | |
0.0064915289878845215, | |
0.0064656100273132325, | |
0.006443688869476319, | |
0.006446088790893555, | |
0.006455049991607666, | |
0.006438088893890381, | |
0.006470089912414551, | |
0.006453289031982422, | |
0.006495529174804687, | |
0.006464970111846924, | |
0.006475529193878174, | |
0.007235051155090332, | |
0.0073568100929260255, | |
0.0073523311614990235, | |
0.006893290042877197, | |
0.006630410194396972, | |
0.006786250114440918, | |
0.0073310499191284175, | |
0.007316650867462159, | |
0.007364010810852051, | |
0.006891689777374268, | |
0.006927370071411133, | |
0.006766089916229248, | |
0.006870890140533447, | |
0.006904329776763916, | |
0.006733449935913086, | |
0.006824009895324707, | |
0.007203849792480468, | |
0.007169129848480224, | |
0.006967689990997315, | |
0.006755848884582519, | |
0.006842409133911133, | |
0.007216811180114746, | |
0.007334250926971436, | |
0.00755665111541748, | |
0.0075564908981323245, | |
0.007369289875030518, | |
0.007320490837097168, | |
0.007431050777435303, | |
0.007462410926818847, | |
0.007052969932556152, | |
0.006739689826965332, | |
0.006689770221710205, | |
0.0064740891456604, | |
0.006488328933715821, | |
0.006468169212341309, | |
0.006491848945617676, | |
0.006428969860076904, | |
0.006459848880767822, | |
0.006437768936157226 | |
], | |
"count": 150, | |
"total": 0.9951939196586604, | |
"mean": 0.0066346261310577396, | |
"p50": 0.006470329999923707, | |
"p90": 0.007315642786026001, | |
"p95": 0.007363650965690613, | |
"p99": 0.00751039171218872, | |
"stdev": 0.0003135916807543084, | |
"stdev_": 4.726591590238007 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.7243935447758 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |