
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
105d425
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 817.23392, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.09704959869384766 | |
], | |
"count": 1, | |
"total": 0.09704959869384766, | |
"mean": 0.09704959869384766, | |
"p50": 0.09704959869384766, | |
"p90": 0.09704959869384766, | |
"p95": 0.09704959869384766, | |
"p99": 0.09704959869384766, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.688146026041687e-05, | |
"ram": 5.3078142714528016e-05, | |
"gpu": 0.00013658677593599965, | |
"total": 0.00028654637891094455 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1085.58336, | |
"max_global_vram": 1205.338112, | |
"max_process_vram": 0.0, | |
"max_reserved": 557.842432, | |
"max_allocated": 509.729792 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0064757118225097655, | |
0.006304800033569336, | |
0.006223872184753418, | |
0.006276095867156982, | |
0.006244351863861084, | |
0.006206463813781738, | |
0.006377471923828125, | |
0.006205440044403076, | |
0.0062566399574279785, | |
0.00621670389175415, | |
0.00622489595413208, | |
0.006135807991027832, | |
0.006076416015625, | |
0.006112256050109863, | |
0.00611737585067749, | |
0.0062044157981872555, | |
0.006155263900756836, | |
0.00619212818145752, | |
0.0061859841346740725, | |
0.006259712219238281, | |
0.0062044157981872555, | |
0.006210559844970703, | |
0.006302720069885254, | |
0.006284287929534912, | |
0.00626585578918457, | |
0.0063508481979370115, | |
0.006271999835968017, | |
0.006243328094482422, | |
0.0062044157981872555, | |
0.006253568172454834, | |
0.0062269439697265625, | |
0.006333439826965332, | |
0.006207488059997559, | |
0.0063211522102355954, | |
0.0062197761535644535, | |
0.006146048069000244, | |
0.006153215885162353, | |
0.00618393611907959, | |
0.006252543926239014, | |
0.0061562881469726565, | |
0.0061859841346740725, | |
0.006232063770294189, | |
0.006260767936706543, | |
0.006153215885162353, | |
0.006100992202758789, | |
0.006145023822784424, | |
0.006141952037811279, | |
0.0062259202003479, | |
0.0061265921592712404, | |
0.006203392028808594, | |
0.006127615928649902, | |
0.00617574405670166, | |
0.006146048069000244, | |
0.006135807991027832, | |
0.006179776191711426, | |
0.006196224212646485, | |
0.007192575931549072, | |
0.006496255874633789, | |
0.0065064959526062015, | |
0.006498303890228272, | |
0.006412288188934326, | |
0.0064880638122558594, | |
0.006460415840148926, | |
0.006110208034515381, | |
0.0062679038047790524, | |
0.006104063987731933, | |
0.006135839939117432, | |
0.006178815841674804, | |
0.006064127922058105, | |
0.005943264007568359, | |
0.006115327835083008, | |
0.006078464031219482, | |
0.005899263858795166, | |
0.005832672119140625, | |
0.005839871883392334, | |
0.005914624214172363, | |
0.0058716158866882326, | |
0.005873663902282715, | |
0.006330368041992188, | |
0.006388735771179199, | |
0.006377471923828125, | |
0.006462463855743408, | |
0.00655353593826294, | |
0.006503424167633057, | |
0.006515711784362793, | |
0.006597631931304931, | |
0.0063272957801818845, | |
0.006157311916351318, | |
0.006713344097137451, | |
0.0064143362045288085, | |
0.006118400096893311, | |
0.006187007904052734, | |
0.006098944187164307, | |
0.006178815841674804, | |
0.006147071838378906, | |
0.006079487800598145, | |
0.006147007942199707, | |
0.006058015823364258, | |
0.006086656093597412, | |
0.005989376068115234, | |
0.006015999794006348, | |
0.0060405759811401364, | |
0.006094848155975342, | |
0.006033408164978027, | |
0.0061296639442443845, | |
0.006082560062408447, | |
0.006074368000030517, | |
0.006062079906463623, | |
0.006088704109191895, | |
0.006044672012329101, | |
0.006073344230651856, | |
0.006067200183868408, | |
0.0060631041526794435, | |
0.006078464031219482, | |
0.006078464031219482, | |
0.006089727878570556, | |
0.006086656093597412, | |
0.0061634559631347655, | |
0.006057983875274659, | |
0.006090752124786377, | |
0.006041600227355957, | |
0.006112256050109863, | |
0.006110208034515381, | |
0.00615008020401001, | |
0.006201344013214111, | |
0.005979135990142822, | |
0.006620160102844238, | |
0.0065781760215759275, | |
0.006266880035400391, | |
0.006196224212646485, | |
0.00618287992477417, | |
0.006153215885162353, | |
0.005912576198577881, | |
0.00586137580871582, | |
0.005879807949066162, | |
0.005970975875854492, | |
0.005910528182983398, | |
0.005943295955657959, | |
0.005888000011444092, | |
0.0058716158866882326, | |
0.005853184223175049, | |
0.00586956787109375, | |
0.00653004789352417, | |
0.007256063938140869, | |
0.006643712043762207, | |
0.006213632106781006, | |
0.006120448112487793, | |
0.006156352043151856, | |
0.0062679038047790524, | |
0.006093823909759521, | |
0.006159359931945801, | |
0.006079487800598145, | |
0.006213632106781006, | |
0.006077439785003662, | |
0.006141952037811279, | |
0.0060702719688415525, | |
0.006149119853973388, | |
0.006072319984436035, | |
0.006170623779296875, | |
0.006079487800598145, | |
0.0061634559631347655 | |
], | |
"count": 161, | |
"total": 0.9964265580177312, | |
"mean": 0.006188984832408265, | |
"p50": 0.0061562881469726565, | |
"p90": 0.006462463855743408, | |
"p95": 0.00653004789352417, | |
"p99": 0.006905036830902102, | |
"stdev": 0.00020573215187587887, | |
"stdev_": 3.324166360831492 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 323.15477483918113 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.336367154493013e-08, | |
"ram": 4.008698106086302e-08, | |
"gpu": 1.577556131728355e-07, | |
"total": 2.712062657786286e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7374460.889603836 | |
} | |
} | |
} | |
} |