IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e79f933 verified
raw
history blame
10.4 kB
{
"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.0",
"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": 909.017088,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.9988422412872316,
"mean": 0.007683401856055626,
"stdev": 0.0005123954613422857,
"p50": 0.007456255912780762,
"p90": 0.007938048124313354,
"p95": 0.008009984302520753,
"p99": 0.010345533714294431,
"values": [
0.010926079750061036,
0.010400768280029296,
0.010210304260253907,
0.00822169589996338,
0.008083456039428711,
0.00801689624786377,
0.007993343830108643,
0.007816192150115966,
0.007896063804626464,
0.007868415832519531,
0.007811071872711181,
0.00784281587600708,
0.007868415832519531,
0.007947264194488525,
0.0079267840385437,
0.007897056102752686,
0.00787660789489746,
0.007916543960571289,
0.007868383884429932,
0.007841760158538819,
0.007869440078735352,
0.007869440078735352,
0.007875584125518798,
0.007887872219085693,
0.007799808025360107,
0.007809023857116699,
0.007789567947387695,
0.007792640209197998,
0.007816192150115966,
0.007831552028656007,
0.007885824203491211,
0.007921664237976075,
0.007885824203491211,
0.007814144134521485,
0.007824384212493896,
0.007937024116516114,
0.0078438401222229,
0.007856128215789794,
0.007824384212493896,
0.007827455997467042,
0.007881728172302246,
0.007959551811218261,
0.007857151985168457,
0.007867392063140868,
0.00890880012512207,
0.007819263935089112,
0.0078438401222229,
0.007955455780029297,
0.007954432010650634,
0.007903232097625732,
0.007874559879302979,
0.00786947202682495,
0.007435264110565186,
0.007415808200836181,
0.007371776103973389,
0.007334911823272705,
0.007277567863464355,
0.007321599960327148,
0.0074403839111328125,
0.007177216053009033,
0.007087103843688965,
0.007106560230255127,
0.007226367950439453,
0.007575551986694336,
0.007778304100036621,
0.007773183822631836,
0.00789299201965332,
0.00800153636932373,
0.007746560096740723,
0.007543807983398438,
0.007482367992401123,
0.007456768035888672,
0.007455743789672851,
0.007472095966339111,
0.0074670081138610836,
0.007442431926727295,
0.0073994240760803225,
0.007442431926727295,
0.00742195177078247,
0.007417856216430664,
0.007401472091674805,
0.007420928001403809,
0.007412735939025879,
0.007448575973510742,
0.00739737606048584,
0.007418879985809326,
0.007469056129455566,
0.007443456172943115,
0.007395328044891358,
0.007420896053314209,
0.007427040100097656,
0.00742300796508789,
0.007432191848754883,
0.007423999786376953,
0.007434239864349365,
0.007413760185241699,
0.0074035201072692874,
0.0074035201072692874,
0.007394303798675537,
0.007404543876647949,
0.00743939208984375,
0.0074291200637817386,
0.007413760185241699,
0.007448575973510742,
0.007442431926727295,
0.00743833589553833,
0.007404543876647949,
0.007442431926727295,
0.00742195177078247,
0.007415808200836181,
0.007402495861053467,
0.007417856216430664,
0.007401472091674805,
0.007398399829864502,
0.007434207916259766,
0.0073994240760803225,
0.007412735939025879,
0.0074301438331604,
0.007423999786376953,
0.007404543876647949,
0.007391200065612793,
0.00743833589553833,
0.007417856216430664,
0.007418879985809326,
0.007450623989105225,
0.007468063831329346,
0.0074106879234313965,
0.007358463764190673,
0.007396351814270019,
0.0074301438331604
]
},
"throughput": {
"unit": "samples/s",
"value": 130.15068308731713
},
"energy": {
"unit": "kWh",
"cpu": 8.757511774698895e-08,
"ram": 4.787732542873529e-08,
"gpu": 1.5560469964705714e-07,
"total": 2.9105714282278136e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3435751.448329441
}
}
}
}