IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ab81a63
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.1", | |
"optimum_benchmark_commit": "c1d0b062e90b79e7705510c58cea731c0d90da8a", | |
"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": 1004.146688, | |
"max_global_vram": 1878.827008, | |
"max_process_vram": 207526.064128, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.996648693561554, | |
"mean": 0.007666528412011954, | |
"stdev": 0.0006570371053670661, | |
"p50": 0.007380008935928345, | |
"p90": 0.008584106254577636, | |
"p95": 0.00937273178100586, | |
"p99": 0.009651641445159911, | |
"values": [ | |
0.008584010124206542, | |
0.007609929084777832, | |
0.007298569202423096, | |
0.007431368827819824, | |
0.007248007774353028, | |
0.007257769107818604, | |
0.007265768051147461, | |
0.007198728084564209, | |
0.0071828880310058595, | |
0.007233287811279297, | |
0.007208488941192627, | |
0.007200808048248291, | |
0.007182088851928711, | |
0.007168327808380127, | |
0.007174889087677002, | |
0.007222248077392578, | |
0.007225608825683594, | |
0.007797769069671631, | |
0.007509288787841797, | |
0.007375688076019287, | |
0.007370408058166504, | |
0.007198248863220215, | |
0.007172327995300293, | |
0.0072332887649536135, | |
0.007297287940979004, | |
0.007230729103088379, | |
0.007208807945251465, | |
0.0071945681571960445, | |
0.007224809169769287, | |
0.007189288139343262, | |
0.007177608966827393, | |
0.0071473679542541505, | |
0.0071657681465148925, | |
0.007310729026794433, | |
0.007299048900604248, | |
0.007349448204040527, | |
0.007318249225616455, | |
0.007311368942260742, | |
0.007318408012390137, | |
0.007300969123840332, | |
0.007255049228668213, | |
0.0072849678993225095, | |
0.0073276891708374025, | |
0.007338249206542969, | |
0.007324488162994385, | |
0.0073795289993286136, | |
0.0073942489624023435, | |
0.00735456895828247, | |
0.00735152816772461, | |
0.007342729091644287, | |
0.007344809055328369, | |
0.007295207977294922, | |
0.007360329151153564, | |
0.0073404889106750484, | |
0.007347367763519287, | |
0.007323369026184082, | |
0.007297449111938477, | |
0.007296487808227539, | |
0.007297769069671631, | |
0.007321448802947998, | |
0.007383687973022461, | |
0.0073184089660644535, | |
0.007423849105834961, | |
0.007528968811035156, | |
0.007347688198089599, | |
0.007397129058837891, | |
0.007389449119567871, | |
0.007383529186248779, | |
0.007346568107604981, | |
0.007577448844909668, | |
0.0074064087867736815, | |
0.007401128768920898, | |
0.007433769226074219, | |
0.0074249677658081055, | |
0.007625769138336182, | |
0.007386088848114014, | |
0.007358728885650635, | |
0.007371849060058594, | |
0.007420807838439941, | |
0.007406249046325684, | |
0.007399368762969971, | |
0.0073972887992858885, | |
0.007411528110504151, | |
0.0073992090225219725, | |
0.007380488872528076, | |
0.007364169120788574, | |
0.0073889679908752445, | |
0.007372488975524902, | |
0.0074176092147827145, | |
0.0073916888236999516, | |
0.007387207984924316, | |
0.007364008903503418, | |
0.007317769050598145, | |
0.007338088035583496, | |
0.007389769077301025, | |
0.007371849060058594, | |
0.007417448997497559, | |
0.007380807876586914, | |
0.007571528911590577, | |
0.007522889137268066, | |
0.007657128810882569, | |
0.00809568977355957, | |
0.00767936897277832, | |
0.008192009925842285, | |
0.008395210266113281, | |
0.008528969764709472, | |
0.007949288845062255, | |
0.008016969680786133, | |
0.009199371337890625, | |
0.009529451370239257, | |
0.009662731170654297, | |
0.00962449073791504, | |
0.009605450630187988, | |
0.009857932090759277, | |
0.009605610847473144, | |
0.009514572143554688, | |
0.008963210105895996, | |
0.008778890609741212, | |
0.00881408977508545, | |
0.008726090431213378, | |
0.008584971427917481, | |
0.008499210357666015, | |
0.008504329681396484, | |
0.008484649658203124, | |
0.008530409812927246, | |
0.008493929862976075, | |
0.008480970382690429, | |
0.00844929027557373, | |
0.008511369705200195, | |
0.008424328804016114 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.4371348097002 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |