IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2b4a835 verified
raw
history blame
11.9 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_type": "roberta",
"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": {},
"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": 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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 718.15168,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.17727734375,
"mean": 7.17727734375,
"stdev": 0.0,
"p50": 7.17727734375,
"p90": 7.17727734375,
"p95": 7.17727734375,
"p99": 7.17727734375,
"values": [
7.17727734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.876098526848687e-07,
"ram": 4.7077649797917806e-07,
"gpu": 1.6788902319998453e-06,
"total": 3.0372765826638922e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 917.97504,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.9993767690658572,
"mean": 0.007037864570886317,
"stdev": 0.0002105833165897493,
"p50": 0.006964287996292114,
"p90": 0.007240492868423462,
"p95": 0.007447091388702393,
"p99": 0.007973499035835266,
"values": [
0.008046591758728027,
0.007981056213378907,
0.007962624073028564,
0.007907328128814697,
0.007068672180175781,
0.006996992111206054,
0.006998015880584717,
0.0069918718338012695,
0.007015391826629639,
0.006941696166992187,
0.006917119979858399,
0.006931456089019775,
0.006923264026641846,
0.006892543792724609,
0.00693452787399292,
0.006870016098022461,
0.006880256175994873,
0.006929408073425293,
0.0068915200233459475,
0.006880256175994873,
0.006895616054534912,
0.006945792198181152,
0.006931456089019775,
0.006915071964263916,
0.006918144226074219,
0.006905856132507324,
0.006879231929779053,
0.006936575889587402,
0.006936575889587402,
0.0069027838706970214,
0.006874112129211426,
0.00688640022277832,
0.006870016098022461,
0.0068986878395080565,
0.0068577280044555666,
0.00687718391418457,
0.00689356803894043,
0.0068915200233459475,
0.006905856132507324,
0.006889472007751465,
0.006913023948669434,
0.006882304191589355,
0.006880256175994873,
0.006906879901885986,
0.006894591808319092,
0.00698367977142334,
0.00707583999633789,
0.007029759883880615,
0.007014400005340577,
0.007102464199066162,
0.007234560012817383,
0.007124991893768311,
0.006980607986450196,
0.007009280204772949,
0.006967360019683838,
0.006974463939666748,
0.006958079814910889,
0.00696121597290039,
0.006938623905181885,
0.006977536201477051,
0.006949888229370117,
0.006957056045532227,
0.007238592147827148,
0.007226367950439453,
0.007198719978332519,
0.007226367950439453,
0.007132160186767578,
0.006958079814910889,
0.006941696166992187,
0.006961152076721191,
0.007019519805908203,
0.006953983783721924,
0.006952896118164063,
0.006957056045532227,
0.00695091199874878,
0.006988800048828125,
0.006998015880584717,
0.007002111911773682,
0.007098368167877197,
0.007172095775604248,
0.006970367908477783,
0.007001088142395019,
0.007004159927368164,
0.006973440170288086,
0.006958079814910889,
0.006948832035064697,
0.006961152076721191,
0.006927360057830811,
0.0070860800743103025,
0.007015423774719238,
0.0070256638526916505,
0.007156735897064209,
0.007342016220092774,
0.007514111995697022,
0.00743833589553833,
0.0074711041450500485,
0.0074629120826721195,
0.00744755220413208,
0.007244800090789795,
0.007225344181060791,
0.0072499198913574215,
0.007258111953735351,
0.00724070405960083,
0.007214079856872559,
0.007154687881469727,
0.007193600177764893,
0.007127999782562256,
0.007168000221252442,
0.006980576038360596,
0.006948927879333496,
0.006977536201477051,
0.006971392154693603,
0.006961152076721191,
0.006936575889587402,
0.006957056045532227,
0.006958079814910889,
0.006957056045532227,
0.006985695838928223,
0.0069959678649902345,
0.006969344139099121,
0.007383039951324463,
0.00698367977142334,
0.006956031799316406,
0.006980607986450196,
0.006968319892883301,
0.006936575889587402,
0.006946815967559815,
0.007041024208068848,
0.006981664180755616,
0.006937600135803222,
0.006947840213775635,
0.006974463939666748,
0.006953983783721924,
0.00698367977142334,
0.00694374418258667,
0.006978591918945312,
0.006944767951965332,
0.006900735855102539,
0.00689356803894043,
0.006917119979858399,
0.006872064113616944,
0.006903808116912841
]
},
"throughput": {
"unit": "samples/s",
"value": 142.08855398222937
},
"energy": {
"unit": "kWh",
"cpu": 8.43199608455595e-08,
"ram": 4.6068770032068204e-08,
"gpu": 1.584930345957436e-07,
"total": 2.888817654733713e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3461623.8181782314
}
}
}
}