IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2f8fe12 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.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.1",
"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": 719.44192,
"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.25933447265625,
"mean": 7.25933447265625,
"stdev": 0.0,
"p50": 7.25933447265625,
"p90": 7.25933447265625,
"p95": 7.25933447265625,
"p99": 7.25933447265625,
"values": [
7.25933447265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.060396432876587e-06,
"ram": 5.655667666462705e-07,
"gpu": 1.6566679919998752e-06,
"total": 3.2826311915227327e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 911.89248,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 154,
"total": 0.9995239353179932,
"mean": 0.006490415164402553,
"stdev": 0.00023716161524637671,
"p50": 0.006522879838943481,
"p90": 0.006802022457122803,
"p95": 0.006851481628417968,
"p99": 0.006936074013710021,
"values": [
0.006796288013458252,
0.006846464157104492,
0.006776832103729248,
0.006808576107025147,
0.006778880119323731,
0.006691808223724365,
0.006686719894409179,
0.006673408031463623,
0.0065781760215759275,
0.006553631782531738,
0.006592512130737305,
0.0065771517753601075,
0.006576128005981445,
0.0065064959526062015,
0.006873087882995605,
0.006820864200592041,
0.006860799789428711,
0.006892543792724609,
0.006916096210479736,
0.006920191764831543,
0.006649856090545654,
0.006609983921051025,
0.006499328136444092,
0.006653952121734619,
0.006642687797546387,
0.006716415882110595,
0.006647808074951172,
0.006609920024871826,
0.006600543975830078,
0.006686719894409179,
0.00657919979095459,
0.006560768127441406,
0.0065484800338745115,
0.006540224075317382,
0.006737919807434082,
0.006550528049468994,
0.0064204797744750975,
0.006340608119964599,
0.006492159843444824,
0.006470655918121338,
0.006479872226715088,
0.006392831802368164,
0.0065146880149841305,
0.006503424167633057,
0.006562816143035889,
0.006646783828735352,
0.006691840171813965,
0.006604832172393799,
0.006596640110015869,
0.006617087841033936,
0.0065146880149841305,
0.006503424167633057,
0.006620160102844238,
0.006597663879394531,
0.00655456018447876,
0.006953983783721924,
0.006810624122619629,
0.006805568218231201,
0.006766592025756836,
0.006699007987976074,
0.006559743881225586,
0.006598656177520752,
0.006666175842285156,
0.006501408100128174,
0.00653004789352417,
0.006497280120849609,
0.006486015796661377,
0.00653004789352417,
0.0064849920272827145,
0.006515711784362793,
0.006597631931304931,
0.006622208118438721,
0.006690815925598144,
0.006632448196411133,
0.006622208118438721,
0.006635519981384277,
0.006635519981384277,
0.006545375823974609,
0.0066221442222595215,
0.0064778242111206055,
0.0064839677810668945,
0.006571904182434082,
0.006426623821258545,
0.006366015911102295,
0.006313983917236328,
0.006240255832672119,
0.006497280120849609,
0.006364160060882569,
0.006209536075592041,
0.006140927791595459,
0.006180863857269287,
0.006304768085479737,
0.006498303890228272,
0.006729728221893311,
0.006758399963378906,
0.0066303682327270505,
0.006804480075836182,
0.006959104061126709,
0.006650879859924317,
0.0064245758056640625,
0.0064778242111206055,
0.0063907837867736815,
0.006486015796661377,
0.006449183940887451,
0.006449151992797852,
0.006432767868041992,
0.0063907837867736815,
0.006355967998504639,
0.006147071838378906,
0.0061623997688293455,
0.006186975955963135,
0.00611737585067749,
0.006166528224945069,
0.006110208034515381,
0.006139904022216797,
0.006106112003326416,
0.00612556791305542,
0.006118400096893311,
0.00616755199432373,
0.006100992202758789,
0.006074368000030517,
0.0061142721176147465,
0.006146048069000244,
0.006170623779296875,
0.006147071838378906,
0.006164480209350586,
0.0061521921157836916,
0.006148096084594727,
0.006148096084594727,
0.006127615928649902,
0.006094848155975342,
0.006135807991027832,
0.006112256050109863,
0.006095967769622803,
0.006045695781707764,
0.0061337599754333495,
0.006128640174865723,
0.006091839790344238,
0.006127615928649902,
0.00612556791305542,
0.006164480209350586,
0.006737919807434082,
0.006808576107025147,
0.0066406397819519045,
0.006594560146331787,
0.0066304001808166506,
0.006464511871337891,
0.006660096168518067,
0.006494207859039307,
0.006471712112426758,
0.0064133119583129885,
0.006426623821258545,
0.006897664070129395,
0.006822912216186523
]
},
"throughput": {
"unit": "samples/s",
"value": 154.0733488798402
},
"energy": {
"unit": "kWh",
"cpu": 7.26083965226754e-08,
"ram": 3.969906307963125e-08,
"gpu": 1.3524380280981653e-07,
"total": 2.475512624121232e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4039567.36174991
}
}
}
}