IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
aeee82a
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_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": 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.3.1", | |
"optimum_benchmark_commit": "8bf68d01ce920e01ece8935a1cc6d7e3f17c2d2b", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.254592, | |
"max_global_vram": 841.760768, | |
"max_process_vram": 44218.445824, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.2824736328125, | |
"mean": 7.2824736328125, | |
"stdev": 0.0, | |
"p50": 7.2824736328125, | |
"p90": 7.2824736328125, | |
"p95": 7.2824736328125, | |
"p99": 7.2824736328125, | |
"values": [ | |
7.2824736328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.035584, | |
"max_global_vram": 898.256896, | |
"max_process_vram": 213279.588352, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 1.0004249167442323, | |
"mean": 0.008133535908489692, | |
"stdev": 0.0004042198530924685, | |
"p50": 0.008216583251953125, | |
"p90": 0.008337606620788574, | |
"p95": 0.008614692306518554, | |
"p99": 0.008808444919586182, | |
"values": [ | |
0.008687140464782715, | |
0.00863833999633789, | |
0.00846410083770752, | |
0.008619620323181152, | |
0.008842658996582032, | |
0.00867930030822754, | |
0.008135623931884765, | |
0.008364901542663575, | |
0.008214662551879883, | |
0.008422500610351562, | |
0.008243462562561036, | |
0.00828922176361084, | |
0.008220422744750976, | |
0.007851786136627197, | |
0.008331461906433106, | |
0.008570340156555176, | |
0.00846570110321045, | |
0.008258823394775391, | |
0.00822346305847168, | |
0.008301703453063965, | |
0.008191943168640137, | |
0.008062984466552734, | |
0.007868585109710693, | |
0.011161683082580566, | |
0.008193702697753906, | |
0.008133222579956054, | |
0.00819082260131836, | |
0.007830666065216065, | |
0.007710826873779297, | |
0.008234663009643555, | |
0.008143143653869629, | |
0.008201542854309083, | |
0.008142342567443847, | |
0.00819002342224121, | |
0.008204103469848633, | |
0.008158023834228516, | |
0.008168744087219239, | |
0.008126182556152344, | |
0.00815290355682373, | |
0.008166342735290528, | |
0.0081961030960083, | |
0.008225543022155762, | |
0.008249222755432129, | |
0.008201864242553711, | |
0.008226183891296387, | |
0.008184743881225585, | |
0.008171624183654785, | |
0.008241703033447265, | |
0.00818458366394043, | |
0.008217063903808594, | |
0.00821754264831543, | |
0.00821914291381836, | |
0.0082125825881958, | |
0.008224263191223144, | |
0.008226503372192382, | |
0.008208263397216796, | |
0.008216583251953125, | |
0.008206184387207032, | |
0.008222184181213378, | |
0.00820522403717041, | |
0.008223302841186523, | |
0.008254822731018066, | |
0.008264263153076172, | |
0.008238822937011718, | |
0.008171783447265626, | |
0.008218502998352051, | |
0.00825722312927246, | |
0.008228423118591309, | |
0.008276902198791503, | |
0.008242982864379883, | |
0.008275781631469727, | |
0.008232743263244628, | |
0.008243143081665039, | |
0.008239143371582032, | |
0.008234502792358399, | |
0.008254663467407226, | |
0.008219782829284667, | |
0.008213382720947265, | |
0.008293222427368165, | |
0.008221543312072754, | |
0.008272743225097657, | |
0.008261543273925781, | |
0.0082692232131958, | |
0.008230504035949706, | |
0.008223782539367676, | |
0.008216583251953125, | |
0.008235782623291015, | |
0.008220903396606445, | |
0.00816170310974121, | |
0.007471948146820068, | |
0.007649867057800293, | |
0.007512907981872558, | |
0.007456108093261719, | |
0.007748425960540772, | |
0.008264903068542481, | |
0.007664267063140869, | |
0.007703466892242432, | |
0.007766826152801514, | |
0.00787914514541626, | |
0.007947784900665283, | |
0.008644579887390137, | |
0.007746826171875, | |
0.008006665229797363, | |
0.008339142799377442, | |
0.00774138593673706, | |
0.0074593091011047365, | |
0.0075162677764892575, | |
0.007450509071350098, | |
0.007516908168792725, | |
0.007419309139251709, | |
0.007532588005065918, | |
0.0077049069404602055, | |
0.007499467849731445, | |
0.007545228004455566, | |
0.007584107875823975, | |
0.007524588108062744, | |
0.007496588230133057, | |
0.00789226484298706, | |
0.008245062828063966, | |
0.008237382888793946, | |
0.008235782623291015, | |
0.007939465045928955, | |
0.007868424892425537 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.9477574391983 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |