IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3a260e0 verified
raw
history blame
12 kB
{
"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": "5",
"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.dev0",
"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.969728,
"max_global_vram": 68702.69952,
"max_process_vram": 4162.99008,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.0680077896118164
],
"count": 1,
"total": 0.0680077896118164,
"mean": 0.0680077896118164,
"p50": 0.0680077896118164,
"p90": 0.0680077896118164,
"p95": 0.0680077896118164,
"p99": 0.0680077896118164,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1222.848512,
"max_global_vram": 68702.69952,
"max_process_vram": 266700.22656,
"max_reserved": 555.74528,
"max_allocated": 499.506688
},
"latency": {
"unit": "s",
"values": [
0.007437097072601318,
0.007008297920227051,
0.006917098999023438,
0.006922539234161377,
0.006914059162139893,
0.006925737857818604,
0.006967019081115722,
0.006984457969665527,
0.006985898017883301,
0.00698301887512207,
0.006967817783355713,
0.006971979141235351,
0.006963977813720703,
0.006956139087677002,
0.006954218864440918,
0.007221898078918457,
0.007084938049316406,
0.006972777843475342,
0.00697693920135498,
0.006990219116210937,
0.006990377902984619,
0.006978538990020752,
0.006962217807769775,
0.006967339038848877,
0.00699661922454834,
0.006957578182220459,
0.006964619159698486,
0.006983977794647217,
0.006983819007873535,
0.006994859218597412,
0.0069841380119323735,
0.006987338066101074,
0.006990378856658936,
0.006986058235168457,
0.006979978084564209,
0.006997098922729492,
0.007001577854156494,
0.007007658004760742,
0.006969419002532959,
0.006978697776794433,
0.006985739231109619,
0.006978057861328125,
0.006970218181610107,
0.006990219116210937,
0.006992298126220703,
0.00698845911026001,
0.006992938995361328,
0.0070036578178405764,
0.00702365779876709,
0.007007658958435059,
0.007164778232574463,
0.006983658790588379,
0.007000298023223877,
0.006984619140625,
0.006982058048248291,
0.006975498199462891,
0.006997899055480957,
0.006961738109588623,
0.006919178962707519,
0.006900777816772461,
0.006922698974609375,
0.006943819046020508,
0.006954218864440918,
0.006904778957366943,
0.006933097839355469,
0.006934218883514405,
0.006903337955474854,
0.006924298763275147,
0.0069297380447387695,
0.0069161391258239745,
0.0068897390365600586,
0.007831494808197021,
0.007838535785675048,
0.007388617038726807,
0.007504776954650879,
0.007470376968383789,
0.00745725679397583,
0.00745725679397583,
0.007424936771392822,
0.007360456943511963,
0.007417097091674805,
0.00730653715133667,
0.007304458141326904,
0.007297417163848877,
0.00738189697265625,
0.007227498054504395,
0.007311497211456299,
0.007304297924041748,
0.007302058219909668,
0.007281096935272216,
0.0076210970878601075,
0.007975814819335937,
0.007969095230102538,
0.007894536018371583,
0.007276617050170899,
0.007345736980438233,
0.007340298175811767,
0.006999018192291259,
0.006990377902984619,
0.007005259037017823,
0.006984298229217529,
0.006992618083953858,
0.006974059104919434,
0.00698541784286499,
0.007010377883911133,
0.007509576797485352,
0.007185098171234131,
0.0071071782112121585,
0.007278857231140137,
0.0072018980979919435,
0.007377256870269775,
0.007395496845245361,
0.006981739044189453,
0.006979978084564209,
0.006956298828125,
0.006962697982788086,
0.006960459232330322,
0.006990859031677246,
0.007001418113708496,
0.006990378856658936,
0.007005898952484131,
0.006995498180389404,
0.006997098922729492,
0.0069961390495300296,
0.006976458072662353,
0.006960938930511475,
0.006997578144073487,
0.007001098155975342,
0.00701133918762207,
0.006988297939300537,
0.006986857891082764,
0.006984778881072998,
0.006992298126220703,
0.0070110177993774414,
0.0069924588203430175,
0.006989737033843994,
0.00699229907989502,
0.006959659099578857,
0.006973897933959961,
0.00701133918762207,
0.006982378005981445
],
"count": 141,
"total": 0.9996463575363163,
"mean": 0.007089690478980964,
"p50": 0.006990377902984619,
"p90": 0.007395496845245361,
"p95": 0.007504776954650879,
"p99": 0.007939271545410156,
"stdev": 0.0002253092930096613,
"stdev_": 3.1779849018464637
},
"throughput": {
"unit": "samples/s",
"value": 141.04988122749964
},
"energy": null,
"efficiency": null
}
}
}