![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f59f5c5
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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", | |
"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.0", | |
"optimum_benchmark_commit": "a84403909b6e036e6ac3ccba23f1df81c197a364", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1003.425792, | |
"max_global_vram": 1878.843392, | |
"max_process_vram": 206768.119808, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.0004524488449102, | |
"mean": 0.0075221988634955606, | |
"stdev": 0.0003529573298637755, | |
"p50": 0.007391374111175537, | |
"p90": 0.008042510986328124, | |
"p95": 0.008129519844055175, | |
"p99": 0.008220085792541505, | |
"values": [ | |
0.008164976119995117, | |
0.007945294857025147, | |
0.007964015007019043, | |
0.008045934677124023, | |
0.008135855674743652, | |
0.008132015228271484, | |
0.008127856254577636, | |
0.008082414627075195, | |
0.008064814567565918, | |
0.008028816223144532, | |
0.007988814830780028, | |
0.00793473482131958, | |
0.007907855033874511, | |
0.00788993501663208, | |
0.007901134967803956, | |
0.007895695209503175, | |
0.007895054817199708, | |
0.007779853820800781, | |
0.0076152138710021975, | |
0.007455373764038086, | |
0.007291694164276123, | |
0.007305133819580078, | |
0.007212654113769531, | |
0.007362092971801758, | |
0.009235857009887695, | |
0.0080504150390625, | |
0.007766894817352295, | |
0.007765134811401367, | |
0.007860654830932618, | |
0.007850735187530518, | |
0.007631053924560547, | |
0.008113615989685059, | |
0.007972495079040527, | |
0.007824174880981445, | |
0.007418734073638916, | |
0.007492973804473877, | |
0.007606733798980713, | |
0.007570573806762695, | |
0.0073798542022705076, | |
0.00771521520614624, | |
0.007506574153900146, | |
0.007810255050659179, | |
0.007474413871765137, | |
0.007787215232849121, | |
0.007716814994812012, | |
0.007919054985046386, | |
0.0075155339241027835, | |
0.007622893810272217, | |
0.007515854835510254, | |
0.007443533897399902, | |
0.0076550540924072265, | |
0.00788673496246338, | |
0.007551215171813965, | |
0.007176972866058349, | |
0.0071480140686035155, | |
0.007156332969665527, | |
0.007172332763671875, | |
0.007152493953704834, | |
0.007195853233337403, | |
0.007158254146575928, | |
0.0071907339096069335, | |
0.007172173023223877, | |
0.007187213897705078, | |
0.007187213897705078, | |
0.0071451330184936525, | |
0.007196653842926026, | |
0.007207532882690429, | |
0.007258573055267334, | |
0.007192014217376709, | |
0.007191534042358398, | |
0.007204973220825196, | |
0.007158894062042237, | |
0.007191854000091553, | |
0.0071952128410339355, | |
0.007200334072113037, | |
0.00716705322265625, | |
0.007157612800598145, | |
0.007160654067993164, | |
0.00721953296661377, | |
0.00720993423461914, | |
0.007174734115600586, | |
0.007203213214874268, | |
0.0072451338768005375, | |
0.0072169737815856935, | |
0.0072169737815856935, | |
0.007182733058929443, | |
0.007294894218444824, | |
0.0073142538070678715, | |
0.0072830538749694826, | |
0.0072500939369201664, | |
0.007279053211212159, | |
0.007281773090362549, | |
0.007496335029602051, | |
0.0072472128868103025, | |
0.007313293933868408, | |
0.007278093814849854, | |
0.007298093795776367, | |
0.007427854061126709, | |
0.007294734001159668, | |
0.0072875342369079586, | |
0.007269293785095215, | |
0.007270732879638672, | |
0.007290894031524658, | |
0.008089136123657227, | |
0.008164335250854492, | |
0.008200176239013672, | |
0.00822945499420166, | |
0.007660813808441162, | |
0.007647214889526367, | |
0.007709613800048828, | |
0.00785393476486206, | |
0.007583215236663819, | |
0.007657614231109619, | |
0.007723535060882568, | |
0.007694573879241944, | |
0.007562253952026367, | |
0.007391374111175537, | |
0.007434733867645264, | |
0.007407534122467041, | |
0.007344654083251953, | |
0.007281134128570557, | |
0.007246734142303467, | |
0.007243853092193603, | |
0.007295534133911132, | |
0.007556175231933594, | |
0.007302893161773682, | |
0.0073176131248474125, | |
0.007264974117279052, | |
0.007303053855895996, | |
0.007253613948822022, | |
0.007283854007720947, | |
0.00728721284866333, | |
0.007302093029022217 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.93985151773836 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |