
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d658664
verified
{ | |
"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": "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": {}, | |
"hub_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, | |
"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.2.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": 952.918016, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 0.9991565446853637, | |
"mean": 0.005371809380028837, | |
"stdev": 0.000177245527169732, | |
"p50": 0.005281280040740967, | |
"p90": 0.005559808015823365, | |
"p95": 0.005697280049324035, | |
"p99": 0.006021631836891175, | |
"values": [ | |
0.006020095825195313, | |
0.005696512222290039, | |
0.005822463989257813, | |
0.005720064163208007, | |
0.005783552169799804, | |
0.005697535991668701, | |
0.005690368175506591, | |
0.006205440044403076, | |
0.0052633600234985355, | |
0.0052633600234985355, | |
0.00521727991104126, | |
0.005752831935882568, | |
0.006030335903167725, | |
0.005734399795532226, | |
0.005780479907989502, | |
0.005439487934112549, | |
0.005489664077758789, | |
0.00550707197189331, | |
0.005422080039978027, | |
0.005462016105651855, | |
0.005414912223815918, | |
0.005398528099060058, | |
0.005450751781463623, | |
0.005392384052276611, | |
0.005486591815948487, | |
0.005429247856140137, | |
0.005605375766754151, | |
0.00542310380935669, | |
0.005220352172851562, | |
0.00521727991104126, | |
0.005257215976715088, | |
0.005231616020202637, | |
0.00521830415725708, | |
0.005227519989013672, | |
0.005248000144958496, | |
0.005228608131408691, | |
0.005221375942230225, | |
0.005248000144958496, | |
0.0052971520423889164, | |
0.005220352172851562, | |
0.005255167961120606, | |
0.005219327926635742, | |
0.005213183879852295, | |
0.005253087997436523, | |
0.005227519989013672, | |
0.005257152080535889, | |
0.005275648117065429, | |
0.0052295680046081545, | |
0.005221375942230225, | |
0.005250048160552978, | |
0.005237760066986084, | |
0.005278719902038574, | |
0.005256192207336426, | |
0.005248000144958496, | |
0.005220352172851562, | |
0.005389311790466309, | |
0.0052633600234985355, | |
0.005243904113769531, | |
0.0052408318519592285, | |
0.005257215976715088, | |
0.005232639789581299, | |
0.005230591773986816, | |
0.005283840179443359, | |
0.005248000144958496, | |
0.005224448204040527, | |
0.005307392120361328, | |
0.00522652816772461, | |
0.0052295680046081545, | |
0.0052971520423889164, | |
0.005295104026794434, | |
0.005249023914337158, | |
0.005276671886444092, | |
0.0052336640357971195, | |
0.005253119945526123, | |
0.005288959980010987, | |
0.005423136234283447, | |
0.0052705278396606445, | |
0.005285888195037842, | |
0.005249023914337158, | |
0.005241856098175048, | |
0.005269504070281982, | |
0.005219327926635742, | |
0.00521830415725708, | |
0.0052367358207702636, | |
0.005256192207336426, | |
0.005395455837249756, | |
0.005560319900512695, | |
0.005421023845672607, | |
0.005399551868438721, | |
0.005462016105651855, | |
0.005422080039978027, | |
0.0054271998405456545, | |
0.0052622718811035155, | |
0.005331967830657959, | |
0.005393407821655274, | |
0.00552345609664917, | |
0.0054241280555725096, | |
0.005269504070281982, | |
0.00522547197341919, | |
0.005212160110473632, | |
0.0052899842262268066, | |
0.005246975898742676, | |
0.005194752216339111, | |
0.005221375942230225, | |
0.005667840003967285, | |
0.005426144123077393, | |
0.005441535949707031, | |
0.005444608211517334, | |
0.0054568958282470706, | |
0.005465087890625, | |
0.00542310380935669, | |
0.005442560195922852, | |
0.0054988799095153805, | |
0.005420032024383545, | |
0.005256159782409668, | |
0.005259263992309571, | |
0.00522547197341919, | |
0.0052295680046081545, | |
0.005465087890625, | |
0.005219327926635742, | |
0.00522649621963501, | |
0.005261312007904053, | |
0.005215231895446777, | |
0.005204991817474365, | |
0.005251071929931641, | |
0.005198847770690918, | |
0.00536575984954834, | |
0.0052408318519592285, | |
0.005213183879852295, | |
0.005303296089172363, | |
0.005250048160552978, | |
0.005222400188446045, | |
0.0052008957862854, | |
0.005223423957824707, | |
0.005231616020202637, | |
0.005215231895446777, | |
0.005244927883148193, | |
0.005286911964416504, | |
0.005231616020202637, | |
0.0052367358207702636, | |
0.005245952129364013, | |
0.005213183879852295, | |
0.005310463905334473, | |
0.005260287761688232, | |
0.005229599952697754, | |
0.005261312007904053, | |
0.005252096176147461, | |
0.005224448204040527, | |
0.005224448204040527, | |
0.005234687805175781, | |
0.005216256141662597, | |
0.005219327926635742, | |
0.00521830415725708, | |
0.005230527877807617, | |
0.0053012480735778805, | |
0.005477375984191894, | |
0.005549056053161621, | |
0.00556441593170166, | |
0.00566374397277832, | |
0.00552345609664917, | |
0.005505023956298828, | |
0.005526527881622314, | |
0.005533696174621582, | |
0.005541888236999512, | |
0.005512191772460938, | |
0.00551526403427124, | |
0.005559296131134033, | |
0.005517312049865723, | |
0.005544960021972656, | |
0.005517312049865723, | |
0.005499904155731201, | |
0.005529600143432617, | |
0.005518335819244385, | |
0.005529600143432617, | |
0.005534719944000244, | |
0.005512191772460938, | |
0.005547008037567139, | |
0.00550707197189331, | |
0.0055316481590271, | |
0.0055582718849182125, | |
0.0055848960876464845, | |
0.0055766720771789555, | |
0.0055511040687561035, | |
0.00553984022140503, | |
0.005530623912811279, | |
0.005541888236999512 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 186.15701512376296 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.358346553763958e-08, | |
"ram": 3.473180801000798e-08, | |
"gpu": 1.4456191006417073e-07, | |
"total": 2.4287718361181826e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4117307.295518806 | |
} | |
} | |
} | |
} |