IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f05b3f1 verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model_type": "resnet50",
"model": "timm/resnet50.a1_in1k",
"processor": "timm/resnet50.a1_in1k",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": false,
"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,
"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.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.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.983232,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.42622607421875,
"mean": 7.42622607421875,
"stdev": 0.0,
"p50": 7.42622607421875,
"p90": 7.42622607421875,
"p95": 7.42622607421875,
"p99": 7.42622607421875,
"values": [
7.42622607421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.31330336464776e-06,
"ram": 2.3481483304258668e-06,
"gpu": 4.959726189999753e-06,
"total": 1.162117788507338e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.134144,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9983797435760501,
"mean": 0.006791698935891495,
"stdev": 0.00033446478691521325,
"p50": 0.00682912015914917,
"p90": 0.007124991989135743,
"p95": 0.007274086475372314,
"p99": 0.007956965312957764,
"values": [
0.007326720237731933,
0.0073471999168395995,
0.007181312084197998,
0.007300096035003662,
0.007170048236846924,
0.007233535766601563,
0.007282688140869141,
0.007177216053009033,
0.00709222412109375,
0.007128064155578613,
0.006974463939666748,
0.007004159927368164,
0.006873087882995605,
0.006672383785247803,
0.006899712085723877,
0.007076863765716553,
0.007079936027526855,
0.006895616054534912,
0.007001088142395019,
0.006945856094360351,
0.006804480075836182,
0.006776832103729248,
0.007128064155578613,
0.0071188478469848635,
0.007122943878173828,
0.00708403205871582,
0.006975520133972168,
0.006915071964263916,
0.006933504104614257,
0.006787007808685303,
0.006946815967559815,
0.006969344139099121,
0.0068249602317810056,
0.006767615795135498,
0.006918144226074219,
0.006892543792724609,
0.006690815925598144,
0.006881279945373535,
0.006978559970855713,
0.006871039867401123,
0.006865920066833496,
0.0069928960800170895,
0.007101439952850342,
0.007000063896179199,
0.00682912015914917,
0.006941696166992187,
0.006873087882995605,
0.006908927917480469,
0.006879231929779053,
0.006928351879119873,
0.006909952163696289,
0.006884384155273438,
0.00682809591293335,
0.006796288013458252,
0.006883327960968018,
0.006758431911468506,
0.007000031948089599,
0.006910975933074951,
0.006762495994567871,
0.006771743774414063,
0.006890495777130127,
0.006863872051239014,
0.006758399963378906,
0.006952960014343262,
0.006967296123504638,
0.006998015880584717,
0.006889472007751465,
0.007006207942962647,
0.007020544052124023,
0.007004159927368164,
0.0068884482383728025,
0.00693452787399292,
0.006910975933074951,
0.006767648220062256,
0.006843391895294189,
0.007095263957977295,
0.007073791980743408,
0.006879231929779053,
0.006843391895294189,
0.0070266880989074704,
0.006910975933074951,
0.00658739185333252,
0.0066713600158691405,
0.007883776187896728,
0.00790937614440918,
0.008075263977050781,
0.007997504234313965,
0.0072540159225463864,
0.007008255958557129,
0.007002175807952881,
0.0066007041931152345,
0.006535168170928955,
0.0064726719856262206,
0.006526976108551025,
0.006512639999389648,
0.006462463855743408,
0.0065710082054138185,
0.006475776195526123,
0.006509568214416504,
0.006567935943603515,
0.0064880638122558594,
0.006492127895355224,
0.006489088058471679,
0.006448128223419189,
0.006471680164337158,
0.006436863899230957,
0.0066979842185974124,
0.006625279903411865,
0.006501376152038574,
0.006492159843444824,
0.006467584133148193,
0.0064542717933654785,
0.0064542717933654785,
0.0064542717933654785,
0.006434815883636475,
0.006457344055175781,
0.006458367824554443,
0.0064849920272827145,
0.006397952079772949,
0.006221824169158936,
0.0063610877990722655,
0.006392831802368164,
0.0063283519744873045,
0.006328320026397705,
0.006206463813781738,
0.00638156795501709,
0.006309887886047363,
0.00637337589263916,
0.006311935901641846,
0.006403071880340576,
0.006437888145446777,
0.0062975997924804685,
0.00638156795501709,
0.0064102401733398436,
0.006499328136444092,
0.0064778242111206055,
0.006527999877929688,
0.006455296039581298,
0.0067768640518188475,
0.006448128223419189,
0.006576128005981445,
0.0066109437942504885,
0.006491072177886963,
0.006460447788238525,
0.006795263767242431,
0.006434815883636475,
0.00644704008102417
]
},
"throughput": {
"unit": "samples/s",
"value": 147.23856422954614
},
"energy": {
"unit": "kWh",
"cpu": 7.829285439169199e-08,
"ram": 4.275183571649758e-08,
"gpu": 1.8392924071052295e-07,
"total": 3.0497393081871253e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3278968.7869893247
}
}
}
}