IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ff19600 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.44.1",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 787.668992,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.35687890625,
"mean": 7.35687890625,
"stdev": 0.0,
"p50": 7.35687890625,
"p90": 7.35687890625,
"p95": 7.35687890625,
"p99": 7.35687890625,
"values": [
7.35687890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0754258201394468e-06,
"ram": 5.732219629270791e-07,
"gpu": 1.692223575999914e-06,
"total": 3.34087135906644e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1077.624832,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9980620145797738,
"mean": 0.00688318630744671,
"stdev": 0.0002091707885520337,
"p50": 0.006974463939666748,
"p90": 0.007108403301239014,
"p95": 0.00717598705291748,
"p99": 0.007308451881408691,
"values": [
0.007222271919250488,
0.007109632015228271,
0.00704307222366333,
0.0073697280883789065,
0.007053311824798584,
0.007004159927368164,
0.007049215793609619,
0.007188479900360107,
0.007127039909362793,
0.007090176105499267,
0.007158783912658692,
0.007104512214660645,
0.006989823818206787,
0.0069918718338012695,
0.006982656002044678,
0.007070720195770264,
0.006990848064422607,
0.007074816226959229,
0.0070696320533752445,
0.007139296054840088,
0.007029759883880615,
0.007027711868286133,
0.007038976192474365,
0.007156735897064209,
0.007066656112670899,
0.0070522880554199216,
0.007101439952850342,
0.007180287837982178,
0.007053311824798584,
0.007004159927368164,
0.007059423923492431,
0.0070830078125,
0.00703385591506958,
0.007010303974151612,
0.00694271993637085,
0.006985727787017822,
0.006990848064422607,
0.007009280204772949,
0.006985727787017822,
0.007046144008636474,
0.007037951946258545,
0.007106560230255127,
0.007106560230255127,
0.007069695949554444,
0.007097343921661377,
0.006688767910003662,
0.006585343837738037,
0.0066007041931152345,
0.0066641921997070315,
0.007101439952850342,
0.007067647933959961,
0.00708403205871582,
0.007096320152282715,
0.007005184173583984,
0.007007232189178467,
0.007020544052124023,
0.006975488185882568,
0.007090176105499267,
0.007078911781311035,
0.006974463939666748,
0.006978559970855713,
0.007095295906066895,
0.007048192024230957,
0.006979584217071533,
0.006967328071594238,
0.0069918718338012695,
0.007102464199066162,
0.007136256217956543,
0.007204864025115967,
0.007195648193359375,
0.007230463981628418,
0.00707689619064331,
0.007023615837097168,
0.007101439952850342,
0.006604800224304199,
0.0065913920402526855,
0.006729728221893311,
0.006587423801422119,
0.006980607986450196,
0.00687820816040039,
0.006840320110321045,
0.006989823818206787,
0.0068392958641052244,
0.006721536159515381,
0.006666240215301514,
0.006639616012573242,
0.006893631935119629,
0.006881279945373535,
0.006840320110321045,
0.006797311782836914,
0.006875135898590088,
0.006987775802612305,
0.007137279987335205,
0.00672870397567749,
0.006672383785247803,
0.006672383785247803,
0.0066375679969787596,
0.006662144184112549,
0.0066641921997070315,
0.0066344962120056155,
0.006652927875518798,
0.006668223857879639,
0.006631423950195312,
0.0066744318008422855,
0.006667263984680176,
0.006632448196411133,
0.0066375679969787596,
0.0066447358131408694,
0.006636544227600098,
0.006620160102844238,
0.006657023906707763,
0.006687744140625,
0.006646783828735352,
0.00667852783203125,
0.006706175804138184,
0.006672383785247803,
0.006649856090545654,
0.006606847763061524,
0.006657023906707763,
0.006667263984680176,
0.006639584064483643,
0.006668255805969238,
0.006667263984680176,
0.006633471965789795,
0.006622208118438721,
0.0066375679969787596,
0.006654975891113281,
0.006648831844329834,
0.006635519981384277,
0.006627327919006347,
0.006670335769653321,
0.006639616012573242,
0.006639616012573242,
0.00667955207824707,
0.006687744140625,
0.006667263984680176,
0.006725632190704346,
0.0066826238632202144,
0.006663167953491211,
0.006673471927642822,
0.006672383785247803,
0.006667263984680176,
0.006936639785766602,
0.007393280029296875,
0.0066999998092651366
]
},
"throughput": {
"unit": "samples/s",
"value": 145.28155353257407
},
"energy": {
"unit": "kWh",
"cpu": 7.832691003289704e-08,
"ram": 4.282144143824092e-08,
"gpu": 1.4502204584210892e-07,
"total": 2.661703973132469e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3756991.799591951
}
}
}
}