IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
85d2d5a verified
raw
history blame
10.2 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": "f85421c91b2a2b1bc0a30ceba32f9580499bf023",
"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.352128,
"max_global_vram": 897.142784,
"max_process_vram": 197301.993472,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0008188214302063,
"mean": 0.007581960768410653,
"stdev": 0.0004017907584648971,
"p50": 0.007611093997955322,
"p90": 0.007977124977111815,
"p95": 0.008008276605606079,
"p99": 0.008179169349670409,
"values": [
0.007904613018035888,
0.007579654216766357,
0.007624612808227539,
0.007526215076446533,
0.00756957483291626,
0.007825573921203614,
0.007536774158477783,
0.007611333847045898,
0.007596774101257324,
0.0076086149215698244,
0.007975973129272462,
0.007730053901672363,
0.007684134006500244,
0.007668134212493897,
0.007649094104766846,
0.00772877311706543,
0.00755773401260376,
0.007558854103088379,
0.007801252841949463,
0.0076577339172363285,
0.0075892539024353025,
0.007587014198303222,
0.00774573278427124,
0.007828932762145996,
0.007843974113464356,
0.007670214176177978,
0.007827652931213378,
0.007750534057617188,
0.007693253040313721,
0.007539494037628174,
0.007532615184783936,
0.007904613018035888,
0.007702693939208984,
0.007610854148864746,
0.007795332908630371,
0.007637574195861817,
0.008023971557617188,
0.0097588472366333,
0.008240772247314452,
0.008000773429870605,
0.007926053047180175,
0.007965572834014892,
0.007977252960205078,
0.007948933124542236,
0.007950852870941163,
0.00794493293762207,
0.007955972194671632,
0.00795261287689209,
0.007874853134155273,
0.007967493057250977,
0.007926533222198487,
0.007948293209075927,
0.007939332962036133,
0.007964453220367432,
0.007995652198791505,
0.008002212524414062,
0.007958693027496338,
0.007968132972717284,
0.007933413028717041,
0.007953893184661866,
0.007937252044677734,
0.007943172931671143,
0.007975012779235839,
0.008003972053527831,
0.00804205322265625,
0.007958692073822021,
0.008014212608337403,
0.008008131980895996,
0.007979173183441162,
0.008008453369140625,
0.008014053344726562,
0.00785101318359375,
0.007475173950195312,
0.007564774036407471,
0.007629893779754639,
0.007500454902648925,
0.007038856029510498,
0.007006055831909179,
0.007121255874633789,
0.00709773588180542,
0.007263815879821777,
0.007038694858551025,
0.007110695838928222,
0.007084136009216309,
0.007080454826354981,
0.00762269401550293,
0.007228614807128907,
0.007147975921630859,
0.007685254096984864,
0.007316774845123291,
0.007346374988555908,
0.007444934844970703,
0.007219494819641114,
0.007691493988037109,
0.007974692821502686,
0.007924132823944092,
0.00794109296798706,
0.007440934181213379,
0.007392614841461182,
0.007513894081115723,
0.00753101396560669,
0.007492934226989746,
0.0070262160301208494,
0.0070756559371948245,
0.006994855880737305,
0.007058856010437012,
0.00704045581817627,
0.007080776214599609,
0.006993896007537842,
0.007015336036682129,
0.007045735836029052,
0.007037096023559571,
0.007131494998931885,
0.0071380558013916014,
0.007136775016784668,
0.007109096050262451,
0.007129734992980957,
0.007122056007385254,
0.007128934860229492,
0.007126696109771728,
0.007152295112609864,
0.00710205602645874,
0.007123015880584717,
0.0070866961479187016,
0.007240614891052246,
0.007488454818725586,
0.007219494819641114,
0.007404613971710205,
0.007027495861053467,
0.0070262160301208494,
0.007082215785980225,
0.0070770950317382815
]
},
"throughput": {
"unit": "samples/s",
"value": 131.8920040006514
},
"energy": null,
"efficiency": null
}
}
}