
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
03c84b4
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"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": 720.19968, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.170505859375, | |
"mean": 7.170505859375, | |
"stdev": 0.0, | |
"p50": 7.170505859375, | |
"p90": 7.170505859375, | |
"p95": 7.170505859375, | |
"p99": 7.170505859375, | |
"values": [ | |
7.170505859375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.089900387658014e-07, | |
"ram": 4.6215288984427616e-07, | |
"gpu": 0.0, | |
"total": 1.3711429286100776e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.891968, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9967841577529909, | |
"mean": 0.007494617727466096, | |
"stdev": 0.00024357880302132903, | |
"p50": 0.007601151943206787, | |
"p90": 0.00773713903427124, | |
"p95": 0.007812710285186767, | |
"p99": 0.008005959510803224, | |
"values": [ | |
0.008054783821105957, | |
0.007902207851409913, | |
0.007882751941680909, | |
0.007873536109924317, | |
0.00783564805984497, | |
0.007788544178009033, | |
0.007677951812744141, | |
0.007639039993286132, | |
0.007658463954925537, | |
0.007764992237091065, | |
0.007714816093444824, | |
0.007609344005584716, | |
0.007619584083557129, | |
0.007621632099151611, | |
0.007664639949798584, | |
0.007733248233795166, | |
0.007741439819335938, | |
0.0077199358940124516, | |
0.007620607852935791, | |
0.0076308479309082035, | |
0.007723008155822754, | |
0.007714816093444824, | |
0.00774451208114624, | |
0.007717887878417969, | |
0.00773529577255249, | |
0.007649280071258545, | |
0.0076871681213378906, | |
0.007669760227203369, | |
0.007667679786682129, | |
0.007580671787261963, | |
0.0076165437698364254, | |
0.008228863716125488, | |
0.007683072090148926, | |
0.007821311950683594, | |
0.0076267518997192385, | |
0.007677951812744141, | |
0.007737343788146973, | |
0.00773529577255249, | |
0.007716864109039307, | |
0.0076871681213378906, | |
0.007658495903015137, | |
0.007648255825042725, | |
0.007620607852935791, | |
0.007796735763549805, | |
0.007703551769256592, | |
0.007661568164825439, | |
0.007703551769256592, | |
0.007584767818450928, | |
0.0075673599243164065, | |
0.007605247974395752, | |
0.0076349759101867675, | |
0.007730175971984863, | |
0.007639039993286132, | |
0.007604288101196289, | |
0.007613440036773681, | |
0.007592959880828858, | |
0.007631872177124023, | |
0.007607295989990235, | |
0.00765337610244751, | |
0.007806975841522217, | |
0.00773632001876831, | |
0.007711743831634522, | |
0.007692287921905518, | |
0.007618559837341309, | |
0.007632895946502686, | |
0.007572480201721191, | |
0.007602176189422607, | |
0.007616511821746826, | |
0.0077209601402282715, | |
0.007459839820861816, | |
0.007363584041595459, | |
0.007560192108154297, | |
0.007400447845458984, | |
0.007211008071899414, | |
0.007256063938140869, | |
0.00729702377319336, | |
0.007486464023590088, | |
0.007646207809448242, | |
0.007571455955505371, | |
0.007561215877532959, | |
0.007601151943206787, | |
0.0077209601402282715, | |
0.0075008001327514645, | |
0.007401472091674805, | |
0.007278656005859375, | |
0.007320576190948487, | |
0.007377920150756836, | |
0.007300096035003662, | |
0.007195648193359375, | |
0.007219200134277344, | |
0.007274496078491211, | |
0.007236608028411865, | |
0.007222271919250488, | |
0.007223296165466309, | |
0.007358463764190673, | |
0.007223296165466309, | |
0.007251967906951904, | |
0.007244800090789795, | |
0.007208960056304932, | |
0.007162879943847656, | |
0.007197696208953858, | |
0.007196671962738037, | |
0.007209983825683594, | |
0.007269375801086426, | |
0.00728879976272583, | |
0.0072202239036560055, | |
0.00719974422454834, | |
0.007208960056304932, | |
0.007154687881469727, | |
0.0072509760856628415, | |
0.007176191806793213, | |
0.007187456130981445, | |
0.007204864025115967, | |
0.007228415966033935, | |
0.007180223941802979, | |
0.0071526398658752445, | |
0.007184383869171143, | |
0.007159808158874512, | |
0.0071905279159545895, | |
0.00719155216217041, | |
0.007173088073730469, | |
0.0072202239036560055, | |
0.007223296165466309, | |
0.007247871875762939, | |
0.007219200134277344, | |
0.007159808158874512, | |
0.007192575931549072, | |
0.007193600177764893, | |
0.0072202239036560055, | |
0.0071495680809020995, | |
0.007135231971740722, | |
0.007156735897064209, | |
0.007158783912658692 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.42908689461555 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.173806913967792e-08, | |
"ram": 4.4685142469871085e-08, | |
"gpu": 1.5560548846896643e-07, | |
"total": 2.820287000785154e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3545738.429179743 | |
} | |
} | |
} | |
} |