![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0ff67c4
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": "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": 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.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": 908.41088, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.0025133738517762, | |
"mean": 0.007711641337321354, | |
"stdev": 0.000483235348233153, | |
"p50": 0.007514623880386352, | |
"p90": 0.007943651390075683, | |
"p95": 0.008097228574752808, | |
"p99": 0.010142044544219964, | |
"values": [ | |
0.010848256111145019, | |
0.010425344467163086, | |
0.009448448181152343, | |
0.007865344047546387, | |
0.007726079940795898, | |
0.007640063762664795, | |
0.007522304058074952, | |
0.0074997758865356446, | |
0.007475200176239013, | |
0.007478271961212158, | |
0.007393280029296875, | |
0.007392255783081054, | |
0.007445504188537597, | |
0.007693312168121338, | |
0.007862271785736084, | |
0.007904255867004394, | |
0.007863296031951903, | |
0.007943136215209961, | |
0.007932928085327149, | |
0.007939072132110595, | |
0.00793497610092163, | |
0.007898111820220948, | |
0.008058879852294922, | |
0.008004608154296875, | |
0.009362431526184082, | |
0.008342528343200683, | |
0.007864319801330566, | |
0.007860223770141601, | |
0.00788479995727539, | |
0.007854080200195313, | |
0.00790835189819336, | |
0.007962624073028564, | |
0.007865344047546387, | |
0.00810598373413086, | |
0.007858176231384278, | |
0.007882751941680909, | |
0.007841792106628418, | |
0.007877632141113282, | |
0.008086527824401855, | |
0.007763967990875244, | |
0.00784281587600708, | |
0.007904255867004394, | |
0.007821375846862794, | |
0.007776256084442139, | |
0.007836671829223632, | |
0.007836671829223632, | |
0.007782400131225586, | |
0.007875584125518798, | |
0.007958528041839599, | |
0.007869440078735352, | |
0.00790015983581543, | |
0.007854080200195313, | |
0.007894015789031983, | |
0.007948287963867188, | |
0.00829030418395996, | |
0.007897088050842285, | |
0.007673855781555176, | |
0.00763804817199707, | |
0.007778304100036621, | |
0.007680064201354981, | |
0.007514111995697022, | |
0.007483391761779785, | |
0.007577631950378418, | |
0.007679999828338623, | |
0.007829567909240723, | |
0.007788544178009033, | |
0.007771135807037354, | |
0.007862271785736084, | |
0.007885824203491211, | |
0.007870463848114014, | |
0.007481279850006103, | |
0.007476223945617676, | |
0.007515135765075683, | |
0.007478208065032959, | |
0.0074486079216003415, | |
0.007455743789672851, | |
0.00745366382598877, | |
0.007468031883239746, | |
0.007460864067077637, | |
0.007450623989105225, | |
0.007505919933319092, | |
0.007448575973510742, | |
0.007400415897369385, | |
0.00744755220413208, | |
0.0074106879234313965, | |
0.00738918399810791, | |
0.007456768035888672, | |
0.007423999786376953, | |
0.007419904232025146, | |
0.00740556812286377, | |
0.007423999786376953, | |
0.007391200065612793, | |
0.0074700798988342285, | |
0.007482367992401123, | |
0.007689216136932373, | |
0.007468031883239746, | |
0.007469056129455566, | |
0.007354368209838867, | |
0.007444479942321777, | |
0.0074332160949707035, | |
0.007522304058074952, | |
0.0074700798988342285, | |
0.007465983867645264, | |
0.007418879985809326, | |
0.007463935852050781, | |
0.007422944068908691, | |
0.007402495861053467, | |
0.007480319976806641, | |
0.00744755220413208, | |
0.00738099193572998, | |
0.007451648235321045, | |
0.0074106879234313965, | |
0.007352320194244385, | |
0.007434239864349365, | |
0.007486464023590088, | |
0.007392255783081054, | |
0.007459839820861816, | |
0.0074629120826721195, | |
0.007394303798675537, | |
0.007400447845458984, | |
0.0074403839111328125, | |
0.007396351814270019, | |
0.007459839820861816, | |
0.00745472002029419, | |
0.007406527996063232, | |
0.007452672004699707, | |
0.007434239864349365, | |
0.0073820161819458, | |
0.00743939208984375, | |
0.007465983867645264 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.67408055667576 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.69185022484067e-08, | |
"ram": 4.750480571156728e-08, | |
"gpu": 1.61835084861313e-07, | |
"total": 2.96258392821287e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3375431.799507647 | |
} | |
} | |
} | |
} |