IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
652691f
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", | |
"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.2.1", | |
"optimum_benchmark_commit": "cc9b50765eac8085269af1a207e20c6a9b260b67", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1005.203456, | |
"max_global_vram": 898.473984, | |
"max_process_vram": 182442.438656, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9960567660331726, | |
"mean": 0.00837022492464851, | |
"stdev": 0.0004638822321548343, | |
"p50": 0.008190374374389648, | |
"p90": 0.009003491592407226, | |
"p95": 0.009053171825408936, | |
"p99": 0.009178585205078124, | |
"values": [ | |
0.009002211570739747, | |
0.0089926118850708, | |
0.009110371589660644, | |
0.009132612228393554, | |
0.0091882905960083, | |
0.009134371757507325, | |
0.00905533218383789, | |
0.009046531677246094, | |
0.009015972137451173, | |
0.008968932151794434, | |
0.009014532089233399, | |
0.009014371871948243, | |
0.009052931785583496, | |
0.009008611679077148, | |
0.00890189266204834, | |
0.007926855087280273, | |
0.008008296012878419, | |
0.008068614959716797, | |
0.00812141513824463, | |
0.0080530948638916, | |
0.00803133487701416, | |
0.008073095321655274, | |
0.007972296237945556, | |
0.007950695037841796, | |
0.007934535026550293, | |
0.007894696235656739, | |
0.007920294761657716, | |
0.007888775825500488, | |
0.007984614849090577, | |
0.008039814949035645, | |
0.009294530868530274, | |
0.008130535125732422, | |
0.007845096111297608, | |
0.007810535907745361, | |
0.007802694797515869, | |
0.00780125617980957, | |
0.007840136051177978, | |
0.007859496116638184, | |
0.008282374382019043, | |
0.00810269546508789, | |
0.00813613510131836, | |
0.008465574264526368, | |
0.008534534454345703, | |
0.008833413124084472, | |
0.008525733947753905, | |
0.008875492095947266, | |
0.008816773414611817, | |
0.008744772911071777, | |
0.008860132217407227, | |
0.008764133453369141, | |
0.008317254066467284, | |
0.008776453018188477, | |
0.008453093528747558, | |
0.008168774604797363, | |
0.00815805435180664, | |
0.008848773002624512, | |
0.008848933219909668, | |
0.00832493495941162, | |
0.008153894424438476, | |
0.008205254554748536, | |
0.008191655158996582, | |
0.008190374374389648, | |
0.008103175163269043, | |
0.007818535804748535, | |
0.008544133186340333, | |
0.008629254341125488, | |
0.008959332466125488, | |
0.00888061237335205, | |
0.008858853340148926, | |
0.008837733268737793, | |
0.008859333038330077, | |
0.008833413124084472, | |
0.008848132133483887, | |
0.008808773040771484, | |
0.00888381290435791, | |
0.008827652931213379, | |
0.008826852798461914, | |
0.008808773040771484, | |
0.008900933265686035, | |
0.008894532203674317, | |
0.008899972915649415, | |
0.008900932312011719, | |
0.008860133171081542, | |
0.00884957218170166, | |
0.008887972831726074, | |
0.008736772537231445, | |
0.00828701400756836, | |
0.008276293754577637, | |
0.0082791748046875, | |
0.008144133567810059, | |
0.007860136032104493, | |
0.007847655773162841, | |
0.007839815139770508, | |
0.007851655960083009, | |
0.007922056198120118, | |
0.007891816139221191, | |
0.007909736156463624, | |
0.007899335861206055, | |
0.007942535877227784, | |
0.007895976066589356, | |
0.007929094791412353, | |
0.007962215900421142, | |
0.007945415019989013, | |
0.00791917610168457, | |
0.007835976123809815, | |
0.007895174980163575, | |
0.007940775871276855, | |
0.007935174942016602, | |
0.007934375762939453, | |
0.007873095035552979, | |
0.007950856208801269, | |
0.007938535213470458, | |
0.007918856143951415, | |
0.007959176063537597, | |
0.00790957498550415, | |
0.007902855873107911, | |
0.007908454895019531, | |
0.007898375988006592, | |
0.007921574115753173 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.47110250946966 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |