IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0823a2b verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"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": 907.75552,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9970097284317021,
"mean": 0.007385257247642234,
"stdev": 0.00026976299028408205,
"p50": 0.0074505600929260256,
"p90": 0.0077209600448608405,
"p95": 0.007781478452682495,
"p99": 0.00814454804420471,
"values": [
0.008266752243041992,
0.007638016223907471,
0.007802879810333252,
0.0077578239440917966,
0.007686143875122071,
0.007711743831634522,
0.007662591934204102,
0.0076605439186096195,
0.007521279811859131,
0.007526400089263916,
0.007497727870941162,
0.0075335679054260255,
0.007507967948913574,
0.0074711041450500485,
0.0074301438331604,
0.007821311950683594,
0.0075345921516418455,
0.007517216205596924,
0.007544832229614258,
0.007547904014587403,
0.0074741759300231934,
0.00748748779296875,
0.007557119846343994,
0.007584767818450928,
0.0075632638931274416,
0.007518208026885987,
0.0075008320808410646,
0.007536640167236328,
0.007540736198425293,
0.007518208026885987,
0.007526400089263916,
0.007519231796264648,
0.007431168079376221,
0.007415808200836181,
0.0074414081573486324,
0.00742195177078247,
0.007419904232025146,
0.007458816051483155,
0.007464960098266602,
0.007485439777374267,
0.007541759967803955,
0.007541759967803955,
0.007531519889831543,
0.00748144006729126,
0.007473152160644531,
0.007480319976806641,
0.007540800094604492,
0.007516160011291504,
0.007498752117156982,
0.0074997758865356446,
0.007408639907836914,
0.007411680221557617,
0.007444543838500977,
0.007428095817565918,
0.007480288028717041,
0.0075038719177246095,
0.0074505600929260256,
0.007436287879943848,
0.007549952030181885,
0.00779366397857666,
0.007776256084442139,
0.007727104187011719,
0.007697408199310303,
0.007755775928497314,
0.007907328128814697,
0.007833600044250488,
0.008282112121582032,
0.007521279811859131,
0.007536640167236328,
0.007510015964508057,
0.007472127914428711,
0.007485472202301026,
0.007431168079376221,
0.0073471999168395995,
0.007215104103088379,
0.0073892478942871095,
0.007385087966918945,
0.007160831928253173,
0.007094272136688232,
0.00709119987487793,
0.00714140796661377,
0.007363615989685058,
0.007662591934204102,
0.007732223987579345,
0.007741439819335938,
0.007758848190307617,
0.007662559986114502,
0.007562240123748779,
0.007437312126159668,
0.007409664154052734,
0.0074587841033935546,
0.007121920108795166,
0.007069695949554444,
0.007071743965148926,
0.007036928176879883,
0.007053311824798584,
0.00709222412109375,
0.00708403205871582,
0.007053311824798584,
0.00719974422454834,
0.007074816226959229,
0.0070860800743103025,
0.007073791980743408,
0.0070266880989074704,
0.007048192024230957,
0.007123968124389648,
0.0070594558715820314,
0.007030784130096435,
0.007029759883880615,
0.007060480117797851,
0.007050240039825439,
0.0070553598403930665,
0.0070564160346984865,
0.007073791980743408,
0.007087103843688965,
0.007071743965148926,
0.00703385591506958,
0.007053311824798584,
0.007103487968444824,
0.007106560230255127,
0.007037951946258545,
0.007057407855987549,
0.007053311824798584,
0.007051263809204102,
0.007057407855987549,
0.007067647933959961,
0.007051263809204102,
0.007128064155578613,
0.007114783763885498,
0.007032832145690918,
0.007036928176879883,
0.007053311824798584,
0.007050240039825439,
0.007030784130096435,
0.007027711868286133
]
},
"throughput": {
"unit": "samples/s",
"value": 135.4048974149483
},
"energy": {
"unit": "kWh",
"cpu": 8.35479028721184e-08,
"ram": 4.5670187367723996e-08,
"gpu": 1.5404550664788614e-07,
"total": 2.832635968877285e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3530280.667855636
}
}
}
}