IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0194b5d verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 909.14816,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.9959042849540709,
"mean": 0.007432121529507994,
"stdev": 0.0005180813648226506,
"p50": 0.007419391870498657,
"p90": 0.007736524820327759,
"p95": 0.007846255970001222,
"p99": 0.010243481616973868,
"values": [
0.010888192176818847,
0.010486783981323243,
0.009749504089355468,
0.007848959922790527,
0.00774451208114624,
0.007809023857116699,
0.00764518404006958,
0.007755775928497314,
0.007606272220611572,
0.0075335679054260255,
0.00742195177078247,
0.0074711041450500485,
0.007557119846343994,
0.007605247974395752,
0.007544832229614258,
0.0075673599243164065,
0.0075970559120178225,
0.007542784214019775,
0.007555071830749512,
0.007490560054779053,
0.007844799995422364,
0.007498752117156982,
0.00743936014175415,
0.007491583824157715,
0.007550975799560547,
0.007918591976165772,
0.007669760227203369,
0.00764415979385376,
0.007647232055664062,
0.007634943962097168,
0.00743936014175415,
0.007510015964508057,
0.0075651521682739255,
0.007717887878417969,
0.007517183780670166,
0.007456768035888672,
0.007554048061370849,
0.007894015789031983,
0.007520256042480469,
0.007455743789672851,
0.007357439994812012,
0.007444479942321777,
0.007505919933319092,
0.007706624031066894,
0.007444479942321777,
0.0074629120826721195,
0.00744755220413208,
0.007481344223022461,
0.007453695774078369,
0.007427072048187256,
0.007798783779144287,
0.00778547191619873,
0.0077916479110717776,
0.007577600002288819,
0.007671807765960693,
0.00753766393661499,
0.007485439777374267,
0.007459839820861816,
0.0073994240760803225,
0.007307263851165771,
0.00728985595703125,
0.007589888095855713,
0.007457791805267334,
0.007230463981628418,
0.00714137601852417,
0.007157760143280029,
0.007168000221252442,
0.007590911865234375,
0.007977983951568603,
0.007592959880828858,
0.007693344116210937,
0.007686143875122071,
0.007684095859527588,
0.0074291200637817386,
0.007198719978332519,
0.0072202239036560055,
0.007302144050598145,
0.0072980160713195805,
0.007271423816680909,
0.007267327785491944,
0.007215104103088379,
0.00708403205871582,
0.007271423816680909,
0.007299071788787842,
0.007045087814331055,
0.007029759883880615,
0.007022655963897705,
0.00703385591506958,
0.0070563840866088865,
0.007010303974151612,
0.007085055828094483,
0.007238656044006348,
0.007284736156463623,
0.007070720195770264,
0.00703385591506958,
0.007065599918365479,
0.007124927997589112,
0.007416831970214844,
0.007214079856872559,
0.0070594558715820314,
0.0070687360763549804,
0.007080959796905518,
0.007064576148986816,
0.007670783996582031,
0.007302144050598145,
0.007200767993927002,
0.007326720237731933,
0.007203839778900147,
0.007069695949554444,
0.007015423774719238,
0.007170015811920166,
0.007285759925842285,
0.007234560012817383,
0.007215104103088379,
0.006994944095611572,
0.006974463939666748,
0.00704204797744751,
0.007085055828094483,
0.007012351989746094,
0.0070553598403930665,
0.00709935998916626,
0.007011328220367432,
0.006990848064422607,
0.006998015880584717,
0.00707583999633789,
0.007106560230255127,
0.007076863765716553,
0.007098368167877197,
0.007005184173583984,
0.007174143791198731,
0.007096320152282715,
0.007061503887176514,
0.00708403205871582,
0.007105535984039306
]
},
"throughput": {
"unit": "samples/s",
"value": 134.55108289465767
},
"energy": {
"unit": "kWh",
"cpu": 8.75661356581582e-08,
"ram": 4.767978236908398e-08,
"gpu": 1.6986533197058626e-07,
"total": 3.051112499978284e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3277493.045592771
}
}
}
}