
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3d60bcd
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.086656, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 0.9996312637329106, | |
"mean": 0.006491112102161754, | |
"stdev": 0.00024105997339047294, | |
"p50": 0.0065075201988220215, | |
"p90": 0.006588825464248657, | |
"p95": 0.006657075262069702, | |
"p99": 0.0075615436029434204, | |
"values": [ | |
0.007646207809448242, | |
0.007228415966033935, | |
0.00743833589553833, | |
0.007486464023590088, | |
0.00791756820678711, | |
0.0069324798583984375, | |
0.006340608119964599, | |
0.006339583873748779, | |
0.0062494721412658695, | |
0.006336512088775635, | |
0.006512639999389648, | |
0.006516736030578613, | |
0.006482944011688232, | |
0.006432767868041992, | |
0.006474751949310303, | |
0.006477791786193848, | |
0.006464511871337891, | |
0.0065064959526062015, | |
0.006718463897705078, | |
0.006518784046173095, | |
0.0065771517753601075, | |
0.0065372161865234375, | |
0.006584320068359375, | |
0.0066416640281677245, | |
0.00658739185333252, | |
0.006520832061767578, | |
0.006542335987091064, | |
0.006492159843444824, | |
0.0064839677810668945, | |
0.006475679874420166, | |
0.00658739185333252, | |
0.00658739185333252, | |
0.006558720111846924, | |
0.00653004789352417, | |
0.006582272052764892, | |
0.006536191940307618, | |
0.006483039855957031, | |
0.0064982080459594724, | |
0.006475776195526123, | |
0.00658739185333252, | |
0.006604800224304199, | |
0.006558720111846924, | |
0.0065474557876586915, | |
0.006519807815551758, | |
0.0065064959526062015, | |
0.006486015796661377, | |
0.006492224216461182, | |
0.0065372161865234375, | |
0.0065669121742248536, | |
0.0064951682090759275, | |
0.0065075201988220215, | |
0.006504447937011719, | |
0.006474751949310303, | |
0.006508543968200684, | |
0.006566783905029297, | |
0.0064440321922302245, | |
0.006467584133148193, | |
0.006498303890228272, | |
0.006475840091705322, | |
0.00652288007736206, | |
0.006554624080657959, | |
0.00653107213973999, | |
0.006299647808074951, | |
0.006341631889343262, | |
0.0063129281997680664, | |
0.006210559844970703, | |
0.0062494721412658695, | |
0.006302720069885254, | |
0.006302720069885254, | |
0.006242303848266601, | |
0.006223743915557862, | |
0.006275072097778321, | |
0.00623308801651001, | |
0.006333439826965332, | |
0.006252543926239014, | |
0.00625545597076416, | |
0.006299647808074951, | |
0.006281216144561768, | |
0.006308864116668702, | |
0.006270976066589356, | |
0.006284287929534912, | |
0.006331391811370849, | |
0.006232063770294189, | |
0.0062566399574279785, | |
0.006205440044403076, | |
0.006220767974853516, | |
0.006202367782592774, | |
0.006214655876159668, | |
0.006210495948791504, | |
0.006196224212646485, | |
0.006195199966430664, | |
0.006207488059997559, | |
0.0062791681289672855, | |
0.006260735988616943, | |
0.006293504238128662, | |
0.0062791681289672855, | |
0.006190080165863037, | |
0.006188032150268555, | |
0.006201344013214111, | |
0.0062791681289672855, | |
0.006244351863861084, | |
0.00620851182937622, | |
0.006280191898345947, | |
0.006561791896820069, | |
0.006559743881225586, | |
0.006467584133148193, | |
0.006546432018280029, | |
0.006542335987091064, | |
0.006549503803253174, | |
0.006560768127441406, | |
0.006609920024871826, | |
0.006493184089660644, | |
0.006616064071655273, | |
0.006564864158630371, | |
0.006584320068359375, | |
0.006685696125030518, | |
0.0065075201988220215, | |
0.006474912166595459, | |
0.0065443840026855465, | |
0.006527999877929688, | |
0.0065781760215759275, | |
0.006545472145080567, | |
0.006486911773681641, | |
0.006597631931304931, | |
0.006511648178100586, | |
0.006467584133148193, | |
0.0065771517753601075, | |
0.006495232105255127, | |
0.006449151992797852, | |
0.006509439945220947, | |
0.0065372161865234375, | |
0.006523903846740723, | |
0.006549503803253174, | |
0.006550528049468994, | |
0.006554624080657959, | |
0.00657203197479248, | |
0.0065474557876586915, | |
0.006535168170928955, | |
0.006569983959197998, | |
0.0065372161865234375, | |
0.006589439868927002, | |
0.006562816143035889, | |
0.006586368083953857, | |
0.006582272052764892, | |
0.006543360233306885, | |
0.006608895778656006, | |
0.006620160102844238, | |
0.006508543968200684, | |
0.006557695865631104, | |
0.006498303890228272, | |
0.006525951862335205, | |
0.00658022403717041, | |
0.006549503803253174, | |
0.006505472183227539 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 154.05680633168654 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.691982633623728e-08, | |
"ram": 4.2052318518212163e-08, | |
"gpu": 1.4675516790909231e-07, | |
"total": 2.6572731276354173e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3763256.3608162217 | |
} | |
} | |
} | |
} |