IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
991ad06 verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.285632,
"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.1",
"optimum_benchmark_commit": null,
"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": 719.740928,
"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.145046875,
"mean": 7.145046875,
"stdev": 0.0,
"p50": 7.145046875,
"p90": 7.145046875,
"p95": 7.145046875,
"p99": 7.145046875,
"values": [
7.145046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0370431674851313e-06,
"ram": 5.515035841040116e-07,
"gpu": 0.0,
"total": 1.588546751589143e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.596992,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 155,
"total": 0.9996645731925963,
"mean": 0.006449448859307073,
"stdev": 0.00029965396906188763,
"p50": 0.006519807815551758,
"p90": 0.006756172847747803,
"p95": 0.006872064113616944,
"p99": 0.007026087646484376,
"values": [
0.006897664070129395,
0.0069263682365417484,
0.006821887969970703,
0.006880256175994873,
0.006872064113616944,
0.006872064113616944,
0.006713344097137451,
0.0066744318008422855,
0.00683622407913208,
0.006689792156219483,
0.0067573761940002445,
0.006725632190704346,
0.006732800006866455,
0.0066713600158691405,
0.006602752208709717,
0.006652927875518798,
0.006713344097137451,
0.006737919807434082,
0.006744063854217529,
0.006718400001525879,
0.006725632190704346,
0.006687744140625,
0.006628352165222168,
0.006724607944488525,
0.006731840133666992,
0.006699007987976074,
0.00667852783203125,
0.006714367866516113,
0.00669593620300293,
0.0067051520347595215,
0.006666240215301514,
0.006750207901000976,
0.00679423999786377,
0.0065883522033691405,
0.006567935943603515,
0.006591487884521485,
0.006616064071655273,
0.006599679946899414,
0.006646783828735352,
0.00697760009765625,
0.0067420158386230465,
0.006730751991271973,
0.007251967906951904,
0.0070830078125,
0.0067543678283691405,
0.006721536159515381,
0.0067123198509216305,
0.006660096168518067,
0.006609920024871826,
0.006668288230895996,
0.006729728221893311,
0.006639679908752441,
0.006725632190704346,
0.006717440128326416,
0.006583295822143555,
0.00659660816192627,
0.006628352165222168,
0.006416384220123291,
0.006426623821258545,
0.006409215927124024,
0.006322175979614258,
0.006556672096252441,
0.006609920024871826,
0.006606847763061524,
0.006645760059356689,
0.006595583915710449,
0.006654975891113281,
0.0067338237762451176,
0.006761407852172852,
0.006519807815551758,
0.0066917757987976076,
0.006720448017120361,
0.006465536117553711,
0.006409215927124024,
0.006428671836853027,
0.006396927833557129,
0.00643177604675293,
0.006407167911529541,
0.0064091839790344236,
0.0064880638122558594,
0.0065771517753601075,
0.006515711784362793,
0.006585343837738037,
0.006874112129211426,
0.0063569917678833006,
0.006307839870452881,
0.0063569917678833006,
0.00642252779006958,
0.0065064959526062015,
0.0066416640281677245,
0.006550528049468994,
0.006633471965789795,
0.006709248065948486,
0.006797311782836914,
0.006620160102844238,
0.006377471923828125,
0.006393856048583985,
0.006455296039581298,
0.006758399963378906,
0.006425600051879882,
0.006379519939422608,
0.006230016231536865,
0.006273024082183838,
0.006331391811370849,
0.006276095867156982,
0.006301695823669433,
0.006294528007507324,
0.0062791681289672855,
0.005992447853088379,
0.006007808208465576,
0.006057919979095459,
0.0060364799499511715,
0.0060702719688415525,
0.00608460807800293,
0.0060661759376525876,
0.006049791812896729,
0.006085631847381592,
0.006017024040222168,
0.006096896171569824,
0.006069248199462891,
0.006041600227355957,
0.006074368000030517,
0.006095871925354004,
0.006034431934356689,
0.0060928001403808595,
0.006060031890869141,
0.006062079906463623,
0.006067200183868408,
0.006077439785003662,
0.006047743797302246,
0.006057983875274659,
0.006043647766113281,
0.006038527965545654,
0.006045663833618164,
0.00609388780593872,
0.006032383918762207,
0.00608358383178711,
0.00607539176940918,
0.006015999794006348,
0.0060928001403808595,
0.006061056137084961,
0.006032383918762207,
0.006048768043518066,
0.006087679862976075,
0.006049791812896729,
0.006062079906463623,
0.006073344230651856,
0.006064127922058105,
0.006052864074707031,
0.006074368000030517,
0.006022143840789795,
0.006046720027923584,
0.00606822395324707,
0.006053887844085694,
0.006074368000030517
]
},
"throughput": {
"unit": "samples/s",
"value": 155.0520086002263
},
"energy": {
"unit": "kWh",
"cpu": 7.532827671402451e-08,
"ram": 4.118503201089459e-08,
"gpu": 1.402954708860698e-07,
"total": 2.568087796109889e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3893947.8685845123
}
}
}
}