IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
74403a8 verified
raw
history blame
10.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "9a8b29987613b8b04c221447a49b37ee314548ff",
"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": 1010.040832,
"max_global_vram": 897.687552,
"max_process_vram": 200340.6848,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 128,
"total": 0.9970108065605162,
"mean": 0.007789146926254034,
"stdev": 0.00034209279895787794,
"p50": 0.007701303958892822,
"p90": 0.007846343851089477,
"p95": 0.00826522626876831,
"p99": 0.009414378137588502,
"values": [
0.00775874376296997,
0.007798744201660156,
0.007833623886108398,
0.007767545223236084,
0.007738264083862305,
0.007688024044036865,
0.007708663940429687,
0.0076896238327026365,
0.007742424011230469,
0.007776185035705567,
0.007721144199371338,
0.007721784114837646,
0.007790744781494141,
0.007808184146881104,
0.007761464118957519,
0.009003707885742188,
0.007906905174255371,
0.007713944911956787,
0.007692024230957031,
0.007695703983306885,
0.007681784152984619,
0.007666903972625733,
0.007628663063049317,
0.0076438641548156735,
0.007644023895263672,
0.008144024848937989,
0.008569626808166505,
0.0077225852012634275,
0.007819704055786133,
0.007643383979797363,
0.008008984565734864,
0.007692344188690185,
0.007642903804779053,
0.007633463859558105,
0.007668504238128662,
0.007625944137573242,
0.007636983871459961,
0.0076272239685058595,
0.007615863800048828,
0.007668505191802979,
0.007675704002380371,
0.007681303977966308,
0.007664185047149658,
0.007655064105987549,
0.007686264038085937,
0.00765442419052124,
0.0076469039916992184,
0.007645143985748291,
0.00761954402923584,
0.007624184131622315,
0.007676504135131836,
0.007653304100036621,
0.007643383979797363,
0.0076560239791870115,
0.008727867126464844,
0.008203866004943848,
0.009566269874572753,
0.007896504878997802,
0.007733304977416992,
0.007708183765411377,
0.007693943977355957,
0.007669784069061279,
0.0076584239006042484,
0.007672023773193359,
0.00771938419342041,
0.007654263973236084,
0.0076584239006042484,
0.007671703815460205,
0.007678904056549072,
0.007678103923797607,
0.007654104232788086,
0.007683703899383545,
0.0076534638404846195,
0.007734904766082764,
0.0076859440803527836,
0.007664504051208496,
0.007677624225616455,
0.007667543888092041,
0.007737464904785156,
0.007703224182128906,
0.007669623851776123,
0.007725625038146972,
0.007678423881530762,
0.007741943836212158,
0.0077843451499938964,
0.007708183765411377,
0.007697944164276123,
0.0077241849899292,
0.007764503955841064,
0.007744665145874023,
0.007759384155273438,
0.0077361841201782225,
0.007734903812408447,
0.007728663921356202,
0.007794105052947998,
0.00891554832458496,
0.008298266410827636,
0.007813304901123046,
0.007780824184417725,
0.007766744136810303,
0.007741464138031006,
0.007734904766082764,
0.007742424011230469,
0.0077195439338684085,
0.007701623916625977,
0.0077241849899292,
0.007703224182128906,
0.007699063777923584,
0.007681943893432617,
0.007673624038696289,
0.007730743885040283,
0.0077459440231323244,
0.007737143993377686,
0.0076982641220092775,
0.0076889839172363285,
0.007648983955383301,
0.007693143844604492,
0.007692344188690185,
0.007685463905334472,
0.0076792240142822266,
0.007696023941040039,
0.01019923210144043,
0.007876023769378663,
0.007720344066619873,
0.007700984001159668,
0.007726425170898437,
0.0077221040725708005,
0.007741943836212158
]
},
"throughput": {
"unit": "samples/s",
"value": 128.38376390480045
},
"energy": null,
"efficiency": null
}
}
}