IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
506ef6a verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"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,
"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": "error",
"numactl": false,
"numactl_kwargs": {},
"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.3.1",
"optimum_benchmark_commit": "33013b51e0268a2fd7f07c903783b994ac1e0021",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 896.28672,
"max_global_vram": 875.327488,
"max_process_vram": 41706.172416,
"max_reserved": 589.299712,
"max_allocated": 533.57312
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.01133203125,
"mean": 7.01133203125,
"stdev": 0.0,
"p50": 7.01133203125,
"p90": 7.01133203125,
"p95": 7.01133203125,
"p99": 7.01133203125,
"values": [
7.01133203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1015.93088,
"max_global_vram": 938.258432,
"max_process_vram": 247705.759744,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 145,
"total": 1.004482187747955,
"mean": 0.006927463363779002,
"stdev": 0.00034284148213714583,
"p50": 0.006807987213134766,
"p90": 0.007190258979797364,
"p95": 0.007336402320861816,
"p99": 0.007642776317596436,
"values": [
0.00734126615524292,
0.0071449470520019535,
0.007062067985534668,
0.007134706974029541,
0.007191987037658692,
0.007217426776885986,
0.007151027202606201,
0.007136147022247314,
0.007100626945495605,
0.007094546794891358,
0.007316946983337402,
0.0070983867645263675,
0.007225107192993164,
0.0069846282005310055,
0.006927667140960693,
0.006969747066497803,
0.0069281477928161625,
0.006895028114318848,
0.006846706867218017,
0.00686878776550293,
0.006845266819000244,
0.006859347820281982,
0.006787508010864258,
0.0068515071868896485,
0.006777428150177002,
0.00679614782333374,
0.01008718204498291,
0.007187666893005371,
0.006737907886505127,
0.006692787170410156,
0.006672947883605957,
0.006718227863311768,
0.006649908065795899,
0.00667822790145874,
0.0066388678550720216,
0.006678547859191895,
0.0066371078491210935,
0.006718708038330078,
0.006647508144378662,
0.00694094705581665,
0.006988148212432862,
0.00677150821685791,
0.006906227111816406,
0.0070459070205688475,
0.007125907897949218,
0.0068086271286010745,
0.006824947834014892,
0.007010066986083984,
0.0071441478729248045,
0.0066879868507385256,
0.0066958279609680175,
0.006722387790679932,
0.006664308071136474,
0.006920147895812989,
0.006734067916870117,
0.006708467960357666,
0.006766228199005127,
0.006688948154449463,
0.006725267887115478,
0.00670174789428711,
0.006825908184051514,
0.006748467922210693,
0.006797586917877197,
0.006771828174591064,
0.00675902795791626,
0.0069529471397399905,
0.006966547966003418,
0.006753747940063477,
0.006792787075042724,
0.006722387790679932,
0.006758708000183106,
0.0068023881912231444,
0.006760948181152344,
0.006738546848297119,
0.0067649478912353515,
0.006745748043060303,
0.006730708122253418,
0.006763187885284424,
0.006807987213134766,
0.006777428150177002,
0.00679726791381836,
0.0067454280853271485,
0.006748948097229004,
0.006780147075653076,
0.006736308097839355,
0.0067649478912353515,
0.00673662805557251,
0.006811028003692627,
0.006930387020111084,
0.0069950270652771,
0.006742708206176758,
0.00679726791381836,
0.006748787879943848,
0.006790388107299805,
0.006783987045288086,
0.006748147964477539,
0.006746068000793457,
0.006811667919158935,
0.007123187065124512,
0.00677150821685791,
0.006883506774902344,
0.006823828220367431,
0.006702867984771729,
0.00682254695892334,
0.006748787879943848,
0.006762228012084961,
0.006949267864227295,
0.0067395071983337405,
0.006750547885894775,
0.006721268177032471,
0.00676718807220459,
0.0067265481948852535,
0.006734707832336426,
0.0067644667625427245,
0.006791508197784424,
0.007285266876220703,
0.007151826858520508,
0.007170707225799561,
0.007101906776428223,
0.007142387866973877,
0.007064787864685058,
0.0071187071800231936,
0.007176146984100342,
0.00704798698425293,
0.006817587852478027,
0.0067172679901123045,
0.006838548183441162,
0.006735026836395264,
0.006733588218688965,
0.006741107940673828,
0.006785108089447022,
0.007369106769561768,
0.0076339058876037594,
0.0074393458366394044,
0.007139347076416016,
0.007090707778930664,
0.00731678581237793,
0.007598866939544677,
0.0076497459411621095,
0.007476946830749512,
0.007269426822662354,
0.007152626991271973,
0.00701166820526123,
0.007116466999053955,
0.00716830587387085
]
},
"throughput": {
"unit": "samples/s",
"value": 144.35298282898313
},
"energy": null,
"efficiency": null
}
}
}