IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e1147d5 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.739904,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.99680712890625,
"mean": 7.99680712890625,
"stdev": 0.0,
"p50": 7.99680712890625,
"p90": 7.99680712890625,
"p95": 7.99680712890625,
"p99": 7.99680712890625,
"values": [
7.99680712890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.459180722916838e-06,
"ram": 1.3286509064281483e-06,
"gpu": 3.4438916440004963e-06,
"total": 7.2317232733454825e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1090.260992,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0014459843635561,
"mean": 0.0070031187717731185,
"stdev": 0.00019346014122903967,
"p50": 0.0070830078125,
"p90": 0.007183769702911377,
"p95": 0.007235231924057007,
"p99": 0.0073424825191497805,
"values": [
0.0073471999168395995,
0.007335968017578125,
0.007363584041595459,
0.007326720237731933,
0.00728985595703125,
0.00729702377319336,
0.007222271919250488,
0.0071157760620117185,
0.007147520065307617,
0.007156735897064209,
0.007139328002929687,
0.007127039909362793,
0.007105535984039306,
0.0071198720932006835,
0.007070720195770264,
0.007032735824584961,
0.007061503887176514,
0.007074816226959229,
0.0071485438346862796,
0.007145472049713135,
0.007132160186767578,
0.007087103843688965,
0.007109600067138672,
0.007098368167877197,
0.00714137601852417,
0.007156735897064209,
0.007112703800201416,
0.007159743785858154,
0.007119967937469483,
0.007124991893768311,
0.007160831928253173,
0.007044095993041993,
0.0071157760620117185,
0.0070891518592834475,
0.007108607769012451,
0.007072768211364746,
0.0070348801612854,
0.007020512104034424,
0.007095295906066895,
0.007073791980743408,
0.007021567821502686,
0.007069695949554444,
0.007089087963104248,
0.007070720195770264,
0.0070830078125,
0.007163904190063477,
0.007193600177764893,
0.007193535804748535,
0.007168000221252442,
0.007137311935424805,
0.007106560230255127,
0.007074816226959229,
0.007094272136688232,
0.007159808158874512,
0.007067647933959961,
0.0070830078125,
0.007114751815795899,
0.007143424034118652,
0.007018496036529541,
0.006997983932495117,
0.00710041618347168,
0.007096255779266357,
0.007144383907318115,
0.007147520065307617,
0.007048192024230957,
0.007093247890472412,
0.007112703800201416,
0.0070685758590698245,
0.007050240039825439,
0.007097343921661377,
0.0071055998802185055,
0.007145472049713135,
0.007121920108795166,
0.007222271919250488,
0.007185408115386963,
0.007195648193359375,
0.007214079856872559,
0.007109632015228271,
0.00713318395614624,
0.007154687881469727,
0.007105535984039306,
0.007044095993041993,
0.007136256217956543,
0.0070830078125,
0.007041024208068848,
0.0069928960800170895,
0.006871039867401123,
0.007038976192474365,
0.0070358400344848636,
0.007090176105499267,
0.00677785587310791,
0.0067358717918396,
0.007007232189178467,
0.007177216053009033,
0.007236671924591064,
0.007048192024230957,
0.007142399787902832,
0.007136256217956543,
0.007256063938140869,
0.007088128089904785,
0.007160831928253173,
0.006970367908477783,
0.007090176105499267,
0.006933504104614257,
0.006804480075836182,
0.006822912216186523,
0.00675328016281128,
0.006689792156219483,
0.006747136116027832,
0.006729728221893311,
0.006683648109436035,
0.00672873592376709,
0.006756351947784424,
0.006711264133453369,
0.0067420158386230465,
0.006739967823028564,
0.0067358717918396,
0.006769599914550781,
0.006711296081542969,
0.006717440128326416,
0.006668288230895996,
0.0067051520347595215,
0.006717440128326416,
0.006687744140625,
0.0067257280349731444,
0.006707200050354004,
0.006677504062652588,
0.00667955207824707,
0.0067276802062988285,
0.006670335769653321,
0.0067051520347595215,
0.006712287902832031,
0.006694911956787109,
0.006711296081542969,
0.006710271835327148,
0.006709248065948486,
0.006684671878814697,
0.006709248065948486,
0.006708223819732666,
0.006670335769653321,
0.0067337918281555175,
0.006718463897705078,
0.006683648109436035
]
},
"throughput": {
"unit": "samples/s",
"value": 142.79352279881584
},
"energy": {
"unit": "kWh",
"cpu": 7.657752038082922e-08,
"ram": 4.18421330369845e-08,
"gpu": 1.4470441683869885e-07,
"total": 2.631240702565126e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3800488.488282835
}
}
}
}