rocm
/
cuda_inference_transformers_fill-mask_hf-internal-testing
/tiny-random-BertModel
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
906c663
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "hf-internal-testing/tiny-random-BertModel", | |
"processor": "hf-internal-testing/tiny-random-BertModel", | |
"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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.490624, | |
"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.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1050.91072, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3752.0384, | |
"max_reserved": 2.097152, | |
"max_allocated": 0.534528 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.2013408660888672 | |
], | |
"count": 1, | |
"total": 0.2013408660888672, | |
"mean": 0.2013408660888672, | |
"p50": 0.2013408660888672, | |
"p90": 0.2013408660888672, | |
"p95": 0.2013408660888672, | |
"p99": 0.2013408660888672, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1174.953984, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 61287.66976, | |
"max_reserved": 2.097152, | |
"max_allocated": 0.543744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.003660484075546265, | |
0.003544964075088501, | |
0.0034996840953826903, | |
0.0035302441120147704, | |
0.003474724054336548, | |
0.0034915239810943605, | |
0.003636804103851318, | |
0.0032700839042663576, | |
0.0032971229553222657, | |
0.003288163900375366, | |
0.0032785639762878418, | |
0.0032755229473114015, | |
0.0033099238872528075, | |
0.0033160040378570556, | |
0.003306243896484375, | |
0.0032665629386901857, | |
0.003282723903656006, | |
0.0033078439235687254, | |
0.003286082983016968, | |
0.003303044080734253, | |
0.003321284055709839, | |
0.0033084828853607176, | |
0.003334403991699219, | |
0.003313443899154663, | |
0.003317284107208252, | |
0.0033044829368591307, | |
0.003289923906326294, | |
0.003293764114379883, | |
0.003282243013381958, | |
0.003318403959274292, | |
0.0032740840911865236, | |
0.0033129639625549315, | |
0.003294243097305298, | |
0.0032651240825653078, | |
0.003283843994140625, | |
0.0032633628845214844, | |
0.003318243980407715, | |
0.0032822439670562743, | |
0.0033000040054321288, | |
0.003292323112487793, | |
0.0034478440284729005, | |
0.0033070440292358397, | |
0.003323683977127075, | |
0.003282083034515381, | |
0.0033126440048217775, | |
0.003284163951873779, | |
0.003287523031234741, | |
0.0032924840450286865, | |
0.0032758440971374513, | |
0.0032971229553222657, | |
0.003295203924179077, | |
0.003280643939971924, | |
0.0032924840450286865, | |
0.003299523115158081, | |
0.003321444034576416, | |
0.003299844026565552, | |
0.003292323112487793, | |
0.003280164003372192, | |
0.0032945640087127686, | |
0.00330016303062439, | |
0.0032929639816284178, | |
0.0033067240715026858, | |
0.003301284074783325, | |
0.0032816030979156492, | |
0.003286884069442749, | |
0.0033004839420318604, | |
0.003303523063659668, | |
0.0032974441051483155, | |
0.003290884017944336, | |
0.003312324047088623, | |
0.003292162895202637, | |
0.003295684099197388, | |
0.003302083969116211, | |
0.0032867228984832762, | |
0.0032880039215087893, | |
0.00330432391166687, | |
0.0033040030002593995, | |
0.0033129639625549315, | |
0.0032915239334106445, | |
0.0032894439697265625, | |
0.0032864029407501222, | |
0.003280164003372192, | |
0.003294244050979614, | |
0.003283202886581421, | |
0.00328576397895813, | |
0.00329120397567749, | |
0.0033088030815124512, | |
0.003288644075393677, | |
0.0032889640331268313, | |
0.0032785639762878418, | |
0.00331760311126709, | |
0.003294883966445923, | |
0.0032825639247894287, | |
0.003258882999420166, | |
0.0032724840641021728, | |
0.003280164003372192, | |
0.0032766430377960203, | |
0.0033000040054321288, | |
0.003322243928909302, | |
0.0032640039920806886, | |
0.0032668828964233397, | |
0.0032780840396881106, | |
0.0032785639762878418, | |
0.0032795228958129885, | |
0.0032774438858032225, | |
0.0032708840370178223, | |
0.0032929630279541016, | |
0.003297123908996582, | |
0.003328644037246704, | |
0.003469923973083496, | |
0.0037051239013671873, | |
0.0036532840728759767, | |
0.003717924118041992, | |
0.0037128040790557863, | |
0.0037209649085998536, | |
0.0037417640686035155, | |
0.0037409639358520507, | |
0.0037424039840698244, | |
0.0037313640117645265, | |
0.0038256049156188965, | |
0.0038027238845825197, | |
0.0037388839721679687, | |
0.003732163906097412, | |
0.0037454450130462646, | |
0.0037723240852355956, | |
0.0037283239364624024, | |
0.0036086440086364746, | |
0.0034654440879821778, | |
0.003465604066848755, | |
0.003510404109954834, | |
0.0035251240730285642, | |
0.0035985639095306395, | |
0.00356464409828186, | |
0.00351120400428772, | |
0.0037000041007995603, | |
0.0037036840915679933, | |
0.0037328040599822997, | |
0.0037248051166534424, | |
0.0037214438915252686, | |
0.0037288041114807127, | |
0.0037284839153289796, | |
0.0037396841049194334, | |
0.0037128050327301025, | |
0.0037072041034698485, | |
0.0037382440567016602, | |
0.003728643894195557, | |
0.003739043951034546, | |
0.003769124984741211, | |
0.0037652840614318846, | |
0.0037523241043090822, | |
0.003754564046859741, | |
0.003759685039520264, | |
0.003792804002761841, | |
0.003727044105529785, | |
0.0037377638816833494, | |
0.0037630441188812257, | |
0.0037264039516448975, | |
0.003642404079437256, | |
0.0035320041179656985, | |
0.0034011240005493164, | |
0.0034697630405426025, | |
0.0036137640476226808, | |
0.0035254440307617187, | |
0.0034668829441070557, | |
0.0034755239486694337, | |
0.0032966439723968507, | |
0.003296164035797119, | |
0.003546243906021118, | |
0.0033705639839172363, | |
0.0034870429039001467, | |
0.0035713629722595214, | |
0.003316802978515625, | |
0.0032916839122772218, | |
0.003268644094467163, | |
0.003256643056869507, | |
0.0033118441104888915, | |
0.003301764011383057, | |
0.0033120028972625734, | |
0.0032880029678344727, | |
0.0032969639301300047, | |
0.0032880039215087893, | |
0.003298722982406616, | |
0.003287044048309326, | |
0.0032825639247894287, | |
0.0032880029678344727, | |
0.0032985639572143555, | |
0.0032852840423583983, | |
0.003288642883300781, | |
0.0033078429698944092, | |
0.003297123908996582, | |
0.0033028841018676756, | |
0.003308643102645874, | |
0.0032896039485931397, | |
0.0033049640655517577, | |
0.003302243947982788, | |
0.003293442964553833, | |
0.003307363986968994, | |
0.003313443899154663, | |
0.0032705628871917726, | |
0.0032939240932464598, | |
0.0033171238899230957, | |
0.0033166439533233645, | |
0.0033024029731750486, | |
0.0033321640491485597, | |
0.0032819240093231203, | |
0.0032824029922485353, | |
0.003324323892593384, | |
0.003314723968505859, | |
0.0033040039539337157, | |
0.0033084828853607176, | |
0.0032924840450286865, | |
0.0032884840965270996, | |
0.0032897629737854003, | |
0.0032996840476989748, | |
0.003305284023284912, | |
0.003286724090576172, | |
0.0032763230800628663, | |
0.0032916839122772218, | |
0.003282883882522583, | |
0.0032808029651641844, | |
0.0032924840450286865, | |
0.003289923906326294, | |
0.003275202989578247, | |
0.0032859230041503906, | |
0.003302083969116211, | |
0.003296164035797119, | |
0.0033131229877471926, | |
0.0033070440292358397, | |
0.0033027238845825197, | |
0.0032820839881896975, | |
0.0032764830589294435, | |
0.0032976040840148927, | |
0.003309123992919922, | |
0.0032718429565429686, | |
0.0033105640411376955, | |
0.0032873640060424804, | |
0.0032934439182281494, | |
0.0033054430484771727, | |
0.00332832407951355, | |
0.003324644088745117, | |
0.00331488299369812, | |
0.0032979230880737305, | |
0.0032979240417480467, | |
0.0033107240200042727, | |
0.00330128288269043, | |
0.00339984393119812, | |
0.003422404050827026, | |
0.0032852840423583983, | |
0.0033214430809020996, | |
0.0033088040351867674, | |
0.0033070440292358397, | |
0.003322403907775879, | |
0.0033204829692840576, | |
0.0033059239387512205, | |
0.003316164016723633, | |
0.003320483922958374, | |
0.0033132829666137694, | |
0.0033057639598846437, | |
0.0033195240497589113, | |
0.003320962905883789, | |
0.0033044829368591307, | |
0.0033120040893554687, | |
0.0033105640411376955, | |
0.0033171229362487795, | |
0.003320483922958374, | |
0.003318243980407715, | |
0.003310084104537964, | |
0.0033216030597686768, | |
0.00330432391166687, | |
0.0033075239658355714, | |
0.0033369638919830322, | |
0.003303683042526245, | |
0.003298084020614624, | |
0.0033067240715026858, | |
0.003313762903213501, | |
0.003310244083404541, | |
0.0033080039024353026, | |
0.0033308839797973632, | |
0.003330082893371582, | |
0.003335843086242676, | |
0.003318723917007446, | |
0.0033211240768432617, | |
0.003315682888031006, | |
0.0033068840503692625, | |
0.0033096039295196535, | |
0.0032859230041503906, | |
0.0033105640411376955, | |
0.003295203924179077, | |
0.003340804100036621, | |
0.0034160029888153074, | |
0.0033092830181121824, | |
0.0034238440990448, | |
0.0033064041137695313 | |
], | |
"count": 293, | |
"total": 0.9905665440559389, | |
"mean": 0.0033807731879042274, | |
"p50": 0.0033068840503692625, | |
"p90": 0.0037213480949401857, | |
"p95": 0.003739300012588501, | |
"p99": 0.003773962478637695, | |
"stdev": 0.00015739659606121647, | |
"stdev_": 4.655639030277215 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 591.580649999126 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |