
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
56defcf
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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.831616, | |
"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.177298828125, | |
"mean": 7.177298828125, | |
"stdev": 0.0, | |
"p50": 7.177298828125, | |
"p90": 7.177298828125, | |
"p95": 7.177298828125, | |
"p99": 7.177298828125, | |
"values": [ | |
7.177298828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.526348405414158e-07, | |
"ram": 4.519835115213293e-07, | |
"gpu": 1.676112452000337e-06, | |
"total": 2.980730804063082e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.380544, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9999263687133788, | |
"mean": 0.007091676373853751, | |
"stdev": 0.00021252474429630069, | |
"p50": 0.007044095993041993, | |
"p90": 0.0072202239036560055, | |
"p95": 0.007359488010406494, | |
"p99": 0.007951616096496581, | |
"values": [ | |
0.007956480026245117, | |
0.00794432020187378, | |
0.00785203218460083, | |
0.007921664237976075, | |
0.007766016006469726, | |
0.008307776451110839, | |
0.007158751964569092, | |
0.006822912216186523, | |
0.006762495994567871, | |
0.006759327888488769, | |
0.006766496181488037, | |
0.006961152076721191, | |
0.007409664154052734, | |
0.007067647933959961, | |
0.007074816226959229, | |
0.007053311824798584, | |
0.006905856132507324, | |
0.006960127830505371, | |
0.007046144008636474, | |
0.007098368167877197, | |
0.007223296165466309, | |
0.0069928960800170895, | |
0.007080959796905518, | |
0.00722431993484497, | |
0.007045184135437012, | |
0.007196735858917236, | |
0.007108607769012451, | |
0.007208960056304932, | |
0.007140416145324707, | |
0.007063648223876953, | |
0.007020544052124023, | |
0.007346176147460938, | |
0.0071075520515441895, | |
0.007031807899475098, | |
0.007045119762420654, | |
0.007039968013763428, | |
0.007161856174468994, | |
0.0072202239036560055, | |
0.007088128089904785, | |
0.007120895862579346, | |
0.007215104103088379, | |
0.006987775802612305, | |
0.007009280204772949, | |
0.007018496036529541, | |
0.007073791980743408, | |
0.007073791980743408, | |
0.007027711868286133, | |
0.007114751815795899, | |
0.007010303974151612, | |
0.00698367977142334, | |
0.007032832145690918, | |
0.0071198720932006835, | |
0.006939648151397705, | |
0.006980671882629395, | |
0.007227392196655274, | |
0.007040063858032227, | |
0.006999040126800537, | |
0.0070676798820495604, | |
0.007220096111297607, | |
0.007095295906066895, | |
0.006987775802612305, | |
0.006976511955261231, | |
0.007045119762420654, | |
0.0070829758644104, | |
0.007005184173583984, | |
0.007017471790313721, | |
0.007063551902770996, | |
0.006957056045532227, | |
0.006970304012298584, | |
0.007015423774719238, | |
0.007071839809417725, | |
0.00707583999633789, | |
0.0073523840904235836, | |
0.007061503887176514, | |
0.00695091199874878, | |
0.0069928960800170895, | |
0.007064576148986816, | |
0.007070720195770264, | |
0.007030943870544434, | |
0.007036767959594727, | |
0.007003136157989502, | |
0.007113759994506836, | |
0.007064576148986816, | |
0.007005184173583984, | |
0.007065631866455078, | |
0.006977536201477051, | |
0.007193600177764893, | |
0.007066688060760498, | |
0.007037951946258545, | |
0.007203904151916504, | |
0.007000927925109863, | |
0.006980607986450196, | |
0.006944767951965332, | |
0.007175168037414551, | |
0.00713318395614624, | |
0.007017600059509277, | |
0.007008255958557129, | |
0.007041024208068848, | |
0.007000063896179199, | |
0.007019680023193359, | |
0.0069816322326660156, | |
0.007110655784606934, | |
0.007047167778015137, | |
0.00733081579208374, | |
0.007070687770843506, | |
0.007110655784606934, | |
0.006980607986450196, | |
0.0069816322326660156, | |
0.007023615837097168, | |
0.006948736190795899, | |
0.006960127830505371, | |
0.006996992111206054, | |
0.007011328220367432, | |
0.006934463977813721, | |
0.0069632000923156735, | |
0.0070522880554199216, | |
0.006969247817993164, | |
0.0069324798583984375, | |
0.007005184173583984, | |
0.007076032161712646, | |
0.007169023990631103, | |
0.00694374418258667, | |
0.0070390720367431645, | |
0.007030784130096435, | |
0.0072202239036560055, | |
0.007048192024230957, | |
0.007057407855987549, | |
0.007044095993041993, | |
0.007145472049713135, | |
0.007004255771636963, | |
0.006944767951965332, | |
0.007000063896179199, | |
0.00701529598236084, | |
0.007002111911773682, | |
0.006945856094360351, | |
0.007019519805908203, | |
0.00704204797744751, | |
0.00707583999633789, | |
0.007156735897064209, | |
0.0069918718338012695, | |
0.007359488010406494 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.01038277591073 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.113910323590086e-08, | |
"ram": 4.4359415901946924e-08, | |
"gpu": 1.5680948617808267e-07, | |
"total": 2.823080053159305e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3542230.4049823224 | |
} | |
} | |
} | |
} |