IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b2efd35 verified
raw
history blame
10.6 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": "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.2.1",
"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": 903.794688,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.0010643186569208,
"mean": 0.00741529124931053,
"stdev": 0.0004882032942976823,
"p50": 0.007348159790039063,
"p90": 0.007455743885040283,
"p95": 0.007651430416107178,
"p99": 0.010179071712493895,
"values": [
0.01073151969909668,
0.010239999771118164,
0.010060799598693848,
0.00898252773284912,
0.007477248191833496,
0.007445504188537597,
0.0074301438331604,
0.008047552108764648,
0.007101439952850342,
0.006986752033233643,
0.006918144226074219,
0.00692633581161499,
0.0069283838272094726,
0.006910912036895752,
0.006908959865570068,
0.007078911781311035,
0.006974463939666748,
0.0069621758460998535,
0.007419904232025146,
0.007371776103973389,
0.007348159790039063,
0.0076308479309082035,
0.007361536026000977,
0.007337984085083008,
0.007354368209838867,
0.0073400321006774905,
0.007329792022705078,
0.007358463764190673,
0.007349247932434082,
0.007319551944732666,
0.00733900785446167,
0.007320576190948487,
0.00739737606048584,
0.007364511966705322,
0.0073175039291381834,
0.0073359360694885255,
0.007319551944732666,
0.007331840038299561,
0.007301152229309082,
0.007316480159759522,
0.007334911823272705,
0.007929855823516846,
0.007400447845458984,
0.007478271961212158,
0.007402495861053467,
0.007404543876647949,
0.007300096035003662,
0.007320608139038086,
0.007398399829864502,
0.0073431038856506346,
0.007327744007110596,
0.007329792022705078,
0.00729702377319336,
0.007362559795379638,
0.007373824119567871,
0.007402495861053467,
0.007457791805267334,
0.007375872135162354,
0.007384064197540283,
0.007444479942321777,
0.0074106879234313965,
0.007386112213134765,
0.007479296207427978,
0.0074301438331604,
0.007372799873352051,
0.007400447845458984,
0.007366655826568603,
0.007342144012451172,
0.007367680072784424,
0.007413760185241699,
0.007361536026000977,
0.007357439994812012,
0.007408639907836914,
0.0073697280883789065,
0.007408639907836914,
0.007476223945617676,
0.007368703842163086,
0.0073820161819458,
0.007377855777740479,
0.007320576190948487,
0.007318560123443603,
0.0072509760856628415,
0.007235583782196045,
0.0072468481063842774,
0.007177216053009033,
0.007198719978332519,
0.007264256000518799,
0.007286784172058106,
0.00733081579208374,
0.007316480159759522,
0.007393280029296875,
0.007336959838867187,
0.007373824119567871,
0.007385087966918945,
0.00733900785446167,
0.007359488010406494,
0.00734822416305542,
0.007344128131866455,
0.007344128131866455,
0.0074414081573486324,
0.007385087966918945,
0.007358463764190673,
0.00734822416305542,
0.007354368209838867,
0.007292928218841553,
0.007699456214904785,
0.007452672004699707,
0.007505887985229492,
0.007390207767486572,
0.007325695991516113,
0.007321599960327148,
0.007295040130615235,
0.007322624206542969,
0.007375872135162354,
0.007402495861053467,
0.007332863807678222,
0.00734822416305542,
0.007316480159759522,
0.007319551944732666,
0.007359488010406494,
0.007364607810974121,
0.007327744007110596,
0.007319551944732666,
0.007312384128570557,
0.007284736156463623,
0.0073471999168395995,
0.0073400321006774905,
0.00724070405960083,
0.0071905279159545895,
0.007146495819091797,
0.007233535766601563,
0.007325695991516113,
0.007321568012237549,
0.007346176147460938,
0.0073175039291381834
]
},
"throughput": {
"unit": "samples/s",
"value": 134.8564697432457
},
"energy": {
"unit": "kWh",
"cpu": 8.461303535907988e-08,
"ram": 4.626100755093887e-08,
"gpu": 1.5189694691428479e-07,
"total": 2.8277098982430353e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3536430.6664602985
}
}
}
}