IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
1092cff verified
raw
history blame
33.2 kB
{
"config": {
"name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-to-image",
"library": "diffusers",
"model_type": "stable-diffusion",
"model": "hf-internal-testing/tiny-stable-diffusion-torch",
"processor": "hf-internal-testing/tiny-stable-diffusion-torch",
"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": 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": 802.152448,
"max_global_vram": 603.455488,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.9504931640625
],
"count": 1,
"total": 0.9504931640625,
"mean": 0.9504931640625,
"p50": 0.9504931640625,
"p90": 0.9504931640625,
"p95": 0.9504931640625,
"p99": 0.9504931640625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010691023980208316,
"ram": 5.8577059771635014e-05,
"gpu": 0.0001434459480899996,
"total": 0.00030893324766371777
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1363.632128,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.053607105255126956,
0.05725321578979492,
0.053881694793701175,
0.05561967849731445,
0.056958240509033205,
0.0540208969116211,
0.05174576187133789,
0.05029894256591797,
0.050087135314941404,
0.050472320556640624,
0.050431262969970705,
0.0510555191040039,
0.05237932968139648,
0.050105438232421876,
0.052831806182861325,
0.05013011169433594,
0.052751808166503905,
0.0515736312866211,
0.05263824081420899,
0.050246753692626954
],
"count": 20,
"total": 1.0480888938903807,
"mean": 0.05240444469451905,
"p50": 0.05206254577636719,
"p90": 0.05575353469848633,
"p95": 0.05697298927307129,
"p99": 0.05719717048645019,
"stdev": 0.0021985507987942092,
"stdev_": 4.195351771419791
},
"throughput": {
"unit": "images/s",
"value": 38.16470170915061
},
"energy": {
"unit": "kWh",
"cpu": 6.408782181286592e-07,
"ram": 3.4987275477539575e-07,
"gpu": 2.2128965071578668e-06,
"total": 3.2036474800619215e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 624288.4126443722
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.012942336082458495,
0.012878848075866698,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.02590105628967285,
0.012093440055847168,
0.012088319778442384,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.02590105628967285,
0.012093440055847168,
0.012088319778442384,
0.027403263092041014,
0.012816384315490722,
0.012713983535766601,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.02590105628967285,
0.012093440055847168,
0.012088319778442384,
0.027403263092041014,
0.012816384315490722,
0.012713983535766601,
0.026186752319335937,
0.012085247993469238,
0.011982848167419433,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.02590105628967285,
0.012093440055847168,
0.012088319778442384,
0.027403263092041014,
0.012816384315490722,
0.012713983535766601,
0.026186752319335937,
0.012085247993469238,
0.011982848167419433,
0.027043872833251954,
0.012817407608032226,
0.012770272254943848,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.02590105628967285,
0.012093440055847168,
0.012088319778442384,
0.027403263092041014,
0.012816384315490722,
0.012713983535766601,
0.026186752319335937,
0.012085247993469238,
0.011982848167419433,
0.027043872833251954,
0.012817407608032226,
0.012770272254943848,
0.026343423843383788,
0.01244159984588623,
0.012840959548950195,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.02590105628967285,
0.012093440055847168,
0.012088319778442384,
0.027403263092041014,
0.012816384315490722,
0.012713983535766601,
0.026186752319335937,
0.012085247993469238,
0.011982848167419433,
0.027043872833251954,
0.012817407608032226,
0.012770272254943848,
0.026343423843383788,
0.01244159984588623,
0.012840959548950195,
0.027056192398071287,
0.012922816276550293,
0.012685312271118163,
0.012942336082458495,
0.012878848075866698,
0.029054975509643553,
0.0142673921585083,
0.013964287757873535,
0.028244991302490235,
0.013019264221191406,
0.012782464027404785,
0.02913382339477539,
0.013127679824829102,
0.013332480430603028,
0.029807615280151366,
0.013739007949829102,
0.013505536079406738,
0.028049407958984376,
0.013096960067749023,
0.01285529613494873,
0.026393600463867187,
0.012729344367980957,
0.012916895866394043,
0.026162015914916993,
0.01215385627746582,
0.012118016242980957,
0.02569932746887207,
0.012134400367736817,
0.012121248245239257,
0.02633718490600586,
0.012149696350097655,
0.012124159812927245,
0.025980928421020507,
0.012205056190490723,
0.012239871978759765,
0.026145792007446288,
0.01205247974395752,
0.012835840225219726,
0.027270143508911132,
0.012676095962524414,
0.012496895790100097,
0.02590105628967285,
0.012093440055847168,
0.012088319778442384,
0.027403263092041014,
0.012816384315490722,
0.012713983535766601,
0.026186752319335937,
0.012085247993469238,
0.011982848167419433,
0.027043872833251954,
0.012817407608032226,
0.012770272254943848,
0.026343423843383788,
0.01244159984588623,
0.012840959548950195,
0.027056192398071287,
0.012922816276550293,
0.012685312271118163,
0.026224639892578124,
0.012040287971496581,
0.012119968414306641
],
"count": 610,
"total": 10.609731901168812,
"mean": 0.017393003116670202,
"p50": 0.013096960067749023,
"p90": 0.028244991302490235,
"p95": 0.02913382339477539,
"p99": 0.029807615280151366,
"stdev": 0.006837288336376676,
"stdev_": 39.310568108985876
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}