Upload folder using huggingface_hub
Browse files- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/.hydra/config.yaml +96 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/.hydra/hydra.yaml +175 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/.hydra/overrides.yaml +2 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/benchmark_report.json +203 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/cli.log +188 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/error.log +0 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/experiment_config.json +110 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/generate_codecarbon.json +33 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/prefill_codecarbon.json +33 -0
- text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/preprocess_codecarbon.json +33 -0
- text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/.hydra/config.yaml +96 -0
- text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/.hydra/hydra.yaml +175 -0
- text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/.hydra/overrides.yaml +2 -0
- text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/cli.log +17 -0
- text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/error.log +50 -0
- text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/experiment_config.json +110 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/.hydra/config.yaml +96 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/.hydra/hydra.yaml +175 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/.hydra/overrides.yaml +2 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/benchmark_report.json +203 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/cli.log +188 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/error.log +0 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/experiment_config.json +110 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/generate_codecarbon.json +33 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/prefill_codecarbon.json +33 -0
- text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/preprocess_codecarbon.json +33 -0
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-generation
|
| 6 |
+
model: EleutherAI/pythia-1.4b
|
| 7 |
+
processor: EleutherAI/pythia-1.4b
|
| 8 |
+
library: null
|
| 9 |
+
device: cuda
|
| 10 |
+
device_ids: '0'
|
| 11 |
+
seed: 42
|
| 12 |
+
inter_op_num_threads: null
|
| 13 |
+
intra_op_num_threads: null
|
| 14 |
+
hub_kwargs: {}
|
| 15 |
+
no_weights: true
|
| 16 |
+
device_map: null
|
| 17 |
+
torch_dtype: null
|
| 18 |
+
amp_autocast: false
|
| 19 |
+
amp_dtype: null
|
| 20 |
+
eval_mode: true
|
| 21 |
+
to_bettertransformer: false
|
| 22 |
+
low_cpu_mem_usage: null
|
| 23 |
+
attn_implementation: null
|
| 24 |
+
cache_implementation: null
|
| 25 |
+
torch_compile: false
|
| 26 |
+
torch_compile_config: {}
|
| 27 |
+
quantization_scheme: null
|
| 28 |
+
quantization_config: {}
|
| 29 |
+
deepspeed_inference: false
|
| 30 |
+
deepspeed_inference_config: {}
|
| 31 |
+
peft_type: null
|
| 32 |
+
peft_config: {}
|
| 33 |
+
launcher:
|
| 34 |
+
name: process
|
| 35 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 36 |
+
device_isolation: false
|
| 37 |
+
device_isolation_action: warn
|
| 38 |
+
start_method: spawn
|
| 39 |
+
benchmark:
|
| 40 |
+
name: energy_star
|
| 41 |
+
_target_: optimum_benchmark.benchmarks.energy_star.benchmark.EnergyStarBenchmark
|
| 42 |
+
dataset_name: EnergyStarAI/text_generation
|
| 43 |
+
dataset_config: ''
|
| 44 |
+
dataset_split: train
|
| 45 |
+
num_samples: 1000
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
text_column_name: text
|
| 49 |
+
truncation: true
|
| 50 |
+
max_length: -1
|
| 51 |
+
dataset_prefix1: ''
|
| 52 |
+
dataset_prefix2: ''
|
| 53 |
+
t5_task: ''
|
| 54 |
+
image_column_name: image
|
| 55 |
+
resize: false
|
| 56 |
+
question_column_name: question
|
| 57 |
+
context_column_name: context
|
| 58 |
+
sentence1_column_name: sentence1
|
| 59 |
+
sentence2_column_name: sentence2
|
| 60 |
+
audio_column_name: audio
|
| 61 |
+
iterations: 10
|
| 62 |
+
warmup_runs: 10
|
| 63 |
+
energy: true
|
| 64 |
+
forward_kwargs: {}
|
| 65 |
+
generate_kwargs:
|
| 66 |
+
max_new_tokens: 10
|
| 67 |
+
min_new_tokens: 10
|
| 68 |
+
call_kwargs: {}
|
| 69 |
+
experiment_name: text_generation
|
| 70 |
+
environment:
|
| 71 |
+
cpu: ' AMD EPYC 7R32'
|
| 72 |
+
cpu_count: 48
|
| 73 |
+
cpu_ram_mb: 200472.73984
|
| 74 |
+
system: Linux
|
| 75 |
+
machine: x86_64
|
| 76 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 77 |
+
processor: x86_64
|
| 78 |
+
python_version: 3.9.20
|
| 79 |
+
gpu:
|
| 80 |
+
- NVIDIA A10G
|
| 81 |
+
gpu_count: 1
|
| 82 |
+
gpu_vram_mb: 24146608128
|
| 83 |
+
optimum_benchmark_version: 0.2.0
|
| 84 |
+
optimum_benchmark_commit: null
|
| 85 |
+
transformers_version: 4.44.0
|
| 86 |
+
transformers_commit: null
|
| 87 |
+
accelerate_version: 0.33.0
|
| 88 |
+
accelerate_commit: null
|
| 89 |
+
diffusers_version: 0.30.0
|
| 90 |
+
diffusers_commit: null
|
| 91 |
+
optimum_version: null
|
| 92 |
+
optimum_commit: null
|
| 93 |
+
timm_version: null
|
| 94 |
+
timm_commit: null
|
| 95 |
+
peft_version: null
|
| 96 |
+
peft_commit: null
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /runs/text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
colorlog:
|
| 72 |
+
(): colorlog.ColoredFormatter
|
| 73 |
+
format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
|
| 74 |
+
handlers:
|
| 75 |
+
console:
|
| 76 |
+
class: logging.StreamHandler
|
| 77 |
+
formatter: colorlog
|
| 78 |
+
stream: ext://sys.stdout
|
| 79 |
+
root:
|
| 80 |
+
level: INFO
|
| 81 |
+
handlers:
|
| 82 |
+
- console
|
| 83 |
+
disable_existing_loggers: false
|
| 84 |
+
job_logging:
|
| 85 |
+
version: 1
|
| 86 |
+
formatters:
|
| 87 |
+
simple:
|
| 88 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 89 |
+
colorlog:
|
| 90 |
+
(): colorlog.ColoredFormatter
|
| 91 |
+
format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
|
| 92 |
+
- %(message)s'
|
| 93 |
+
log_colors:
|
| 94 |
+
DEBUG: purple
|
| 95 |
+
INFO: green
|
| 96 |
+
WARNING: yellow
|
| 97 |
+
ERROR: red
|
| 98 |
+
CRITICAL: red
|
| 99 |
+
handlers:
|
| 100 |
+
console:
|
| 101 |
+
class: logging.StreamHandler
|
| 102 |
+
formatter: colorlog
|
| 103 |
+
stream: ext://sys.stdout
|
| 104 |
+
file:
|
| 105 |
+
class: logging.FileHandler
|
| 106 |
+
formatter: simple
|
| 107 |
+
filename: ${hydra.job.name}.log
|
| 108 |
+
root:
|
| 109 |
+
level: INFO
|
| 110 |
+
handlers:
|
| 111 |
+
- console
|
| 112 |
+
- file
|
| 113 |
+
disable_existing_loggers: false
|
| 114 |
+
env: {}
|
| 115 |
+
mode: RUN
|
| 116 |
+
searchpath: []
|
| 117 |
+
callbacks: {}
|
| 118 |
+
output_subdir: .hydra
|
| 119 |
+
overrides:
|
| 120 |
+
hydra:
|
| 121 |
+
- hydra.run.dir=/runs/text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task:
|
| 124 |
+
- backend.model=EleutherAI/pythia-1.4b
|
| 125 |
+
- backend.processor=EleutherAI/pythia-1.4b
|
| 126 |
+
job:
|
| 127 |
+
name: cli
|
| 128 |
+
chdir: true
|
| 129 |
+
override_dirname: backend.model=EleutherAI/pythia-1.4b,backend.processor=EleutherAI/pythia-1.4b
|
| 130 |
+
id: ???
|
| 131 |
+
num: ???
|
| 132 |
+
config_name: text_generation
|
| 133 |
+
env_set:
|
| 134 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 135 |
+
env_copy: []
|
| 136 |
+
config:
|
| 137 |
+
override_dirname:
|
| 138 |
+
kv_sep: '='
|
| 139 |
+
item_sep: ','
|
| 140 |
+
exclude_keys: []
|
| 141 |
+
runtime:
|
| 142 |
+
version: 1.3.2
|
| 143 |
+
version_base: '1.3'
|
| 144 |
+
cwd: /
|
| 145 |
+
config_sources:
|
| 146 |
+
- path: hydra.conf
|
| 147 |
+
schema: pkg
|
| 148 |
+
provider: hydra
|
| 149 |
+
- path: optimum_benchmark
|
| 150 |
+
schema: pkg
|
| 151 |
+
provider: main
|
| 152 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 153 |
+
schema: pkg
|
| 154 |
+
provider: hydra-colorlog
|
| 155 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 156 |
+
schema: file
|
| 157 |
+
provider: command-line
|
| 158 |
+
- path: ''
|
| 159 |
+
schema: structured
|
| 160 |
+
provider: schema
|
| 161 |
+
output_dir: /runs/text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11
|
| 162 |
+
choices:
|
| 163 |
+
benchmark: energy_star
|
| 164 |
+
launcher: process
|
| 165 |
+
backend: pytorch
|
| 166 |
+
hydra/env: default
|
| 167 |
+
hydra/callbacks: null
|
| 168 |
+
hydra/job_logging: colorlog
|
| 169 |
+
hydra/hydra_logging: colorlog
|
| 170 |
+
hydra/hydra_help: default
|
| 171 |
+
hydra/help: default
|
| 172 |
+
hydra/sweeper: basic
|
| 173 |
+
hydra/launcher: basic
|
| 174 |
+
hydra/output: default
|
| 175 |
+
verbose: false
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=EleutherAI/pythia-1.4b
|
| 2 |
+
- backend.processor=EleutherAI/pythia-1.4b
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/benchmark_report.json
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": null,
|
| 4 |
+
"latency": null,
|
| 5 |
+
"throughput": null,
|
| 6 |
+
"energy": {
|
| 7 |
+
"unit": "kWh",
|
| 8 |
+
"cpu": 0.0006950257205501962,
|
| 9 |
+
"ram": 7.229079517594969e-06,
|
| 10 |
+
"gpu": 0.004783902188229749,
|
| 11 |
+
"total": 0.00548615698829754
|
| 12 |
+
},
|
| 13 |
+
"efficiency": {
|
| 14 |
+
"unit": "tokens/kWh",
|
| 15 |
+
"value": 54946841.77704233
|
| 16 |
+
},
|
| 17 |
+
"measures": [
|
| 18 |
+
{
|
| 19 |
+
"unit": "kWh",
|
| 20 |
+
"cpu": 0.0007641022352298832,
|
| 21 |
+
"ram": 7.945458815587156e-06,
|
| 22 |
+
"gpu": 0.005254148925537994,
|
| 23 |
+
"total": 0.006026196619583464
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"unit": "kWh",
|
| 27 |
+
"cpu": 0.0007698822285832043,
|
| 28 |
+
"ram": 8.007436582032034e-06,
|
| 29 |
+
"gpu": 0.005301914241527816,
|
| 30 |
+
"total": 0.006079803906693053
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"unit": "kWh",
|
| 34 |
+
"cpu": 0.0007732566303492706,
|
| 35 |
+
"ram": 8.043132134785983e-06,
|
| 36 |
+
"gpu": 0.005305364522065981,
|
| 37 |
+
"total": 0.006086664284550038
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"unit": "kWh",
|
| 41 |
+
"cpu": 0.0007727046854467418,
|
| 42 |
+
"ram": 8.037193759434171e-06,
|
| 43 |
+
"gpu": 0.005334005933867791,
|
| 44 |
+
"total": 0.006114747813073966
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"unit": "kWh",
|
| 48 |
+
"cpu": 0.0007735792766898762,
|
| 49 |
+
"ram": 8.04650520994879e-06,
|
| 50 |
+
"gpu": 0.005336946213998051,
|
| 51 |
+
"total": 0.006118571995897874
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"unit": "kWh",
|
| 55 |
+
"cpu": 0.000773910086490004,
|
| 56 |
+
"ram": 8.050033200335675e-06,
|
| 57 |
+
"gpu": 0.0053161620307038415,
|
| 58 |
+
"total": 0.006098122150394184
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"unit": "kWh",
|
| 62 |
+
"cpu": 0.0,
|
| 63 |
+
"ram": 0.0,
|
| 64 |
+
"gpu": 0.0,
|
| 65 |
+
"total": 0.0
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"unit": "kWh",
|
| 69 |
+
"cpu": 0.0007740681057641875,
|
| 70 |
+
"ram": 8.051292602441139e-06,
|
| 71 |
+
"gpu": 0.005336773991638122,
|
| 72 |
+
"total": 0.006118893390004751
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"unit": "kWh",
|
| 76 |
+
"cpu": 0.0007736332350321597,
|
| 77 |
+
"ram": 8.047155500604038e-06,
|
| 78 |
+
"gpu": 0.00532560537159199,
|
| 79 |
+
"total": 0.006107285762124749
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"unit": "kWh",
|
| 83 |
+
"cpu": 0.0007751207219166339,
|
| 84 |
+
"ram": 8.062587370780708e-06,
|
| 85 |
+
"gpu": 0.005328100651365908,
|
| 86 |
+
"total": 0.006111283960653323
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
"decode": {
|
| 91 |
+
"memory": null,
|
| 92 |
+
"latency": null,
|
| 93 |
+
"throughput": null,
|
| 94 |
+
"energy": {
|
| 95 |
+
"unit": "kWh",
|
| 96 |
+
"cpu": 0.001532609044249083,
|
| 97 |
+
"ram": 1.594622041976216e-05,
|
| 98 |
+
"gpu": 0.006043184112321255,
|
| 99 |
+
"total": 0.0075917393769901025
|
| 100 |
+
},
|
| 101 |
+
"efficiency": {
|
| 102 |
+
"unit": "tokens/kWh",
|
| 103 |
+
"value": 1185499.0738062232
|
| 104 |
+
},
|
| 105 |
+
"measures": [
|
| 106 |
+
{
|
| 107 |
+
"unit": "kWh",
|
| 108 |
+
"cpu": 0.0017120611431651516,
|
| 109 |
+
"ram": 1.781507733712239e-05,
|
| 110 |
+
"gpu": 0.006835263801540092,
|
| 111 |
+
"total": 0.008565140022042382
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"unit": "kWh",
|
| 115 |
+
"cpu": 0.0017026174863408717,
|
| 116 |
+
"ram": 1.771530782239789e-05,
|
| 117 |
+
"gpu": 0.006717194540418081,
|
| 118 |
+
"total": 0.00843752733458136
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"unit": "kWh",
|
| 122 |
+
"cpu": 0.0016996438265546904,
|
| 123 |
+
"ram": 1.768379281359322e-05,
|
| 124 |
+
"gpu": 0.006708423977846101,
|
| 125 |
+
"total": 0.008425751597214388
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"unit": "kWh",
|
| 129 |
+
"cpu": 0.0017036087327997728,
|
| 130 |
+
"ram": 1.772523439230838e-05,
|
| 131 |
+
"gpu": 0.00668814340606616,
|
| 132 |
+
"total": 0.00840947737325825
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"unit": "kWh",
|
| 136 |
+
"cpu": -0.0007735792766898762,
|
| 137 |
+
"ram": -8.04650520994879e-06,
|
| 138 |
+
"gpu": -0.005336946213998051,
|
| 139 |
+
"total": -0.006118571995897874
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"unit": "kWh",
|
| 143 |
+
"cpu": 0.0016993492261053469,
|
| 144 |
+
"ram": 1.7680599692580472e-05,
|
| 145 |
+
"gpu": 0.00669986813766843,
|
| 146 |
+
"total": 0.008416897963466338
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"unit": "kWh",
|
| 150 |
+
"cpu": 0.0024794984861841347,
|
| 151 |
+
"ram": 2.5795559494294352e-05,
|
| 152 |
+
"gpu": 0.012036623518179912,
|
| 153 |
+
"total": 0.014541917563858364
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"unit": "kWh",
|
| 157 |
+
"cpu": 0.0016971929005708168,
|
| 158 |
+
"ram": 1.7658742769242277e-05,
|
| 159 |
+
"gpu": 0.0066783995093817605,
|
| 160 |
+
"total": 0.008393251152721812
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"unit": "kWh",
|
| 164 |
+
"cpu": 0.0017041481349138639,
|
| 165 |
+
"ram": 1.773071350101803e-05,
|
| 166 |
+
"gpu": 0.0067008664718002375,
|
| 167 |
+
"total": 0.008422745320215135
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"unit": "kWh",
|
| 171 |
+
"cpu": 0.0017015497825460567,
|
| 172 |
+
"ram": 1.770368158501338e-05,
|
| 173 |
+
"gpu": 0.006704003974309813,
|
| 174 |
+
"total": 0.008423257438440863
|
| 175 |
+
}
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"per_token": {
|
| 179 |
+
"memory": null,
|
| 180 |
+
"latency": null,
|
| 181 |
+
"throughput": null,
|
| 182 |
+
"energy": null,
|
| 183 |
+
"efficiency": null,
|
| 184 |
+
"measures": null
|
| 185 |
+
},
|
| 186 |
+
"preprocess": {
|
| 187 |
+
"memory": null,
|
| 188 |
+
"latency": null,
|
| 189 |
+
"throughput": null,
|
| 190 |
+
"energy": {
|
| 191 |
+
"unit": "kWh",
|
| 192 |
+
"cpu": 1.1265942924405358e-05,
|
| 193 |
+
"ram": 8.491845032760329e-08,
|
| 194 |
+
"gpu": 1.888834844376852e-05,
|
| 195 |
+
"total": 3.023920981850148e-05
|
| 196 |
+
},
|
| 197 |
+
"efficiency": {
|
| 198 |
+
"unit": "samples/kWh",
|
| 199 |
+
"value": 33069647.189926323
|
| 200 |
+
},
|
| 201 |
+
"measures": null
|
| 202 |
+
}
|
| 203 |
+
}
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/cli.log
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-25 14:19:14,194][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-25 14:19:14,194][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-25 14:19:14,207][process][INFO] - + Launched benchmark in isolated process 351.
|
| 4 |
+
[PROC-0][2024-10-25 14:19:16,766][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 5 |
+
[PROC-0][2024-10-25 14:19:17,741][backend][INFO] - َAllocating pytorch backend
|
| 6 |
+
[PROC-0][2024-10-25 14:19:17,741][backend][INFO] - + Setting random seed to 42
|
| 7 |
+
[PROC-0][2024-10-25 14:19:18,360][pytorch][INFO] - + Using AutoModel class AutoModelForCausalLM
|
| 8 |
+
[PROC-0][2024-10-25 14:19:18,360][pytorch][INFO] - + Creating backend temporary directory
|
| 9 |
+
[PROC-0][2024-10-25 14:19:18,361][pytorch][INFO] - + Loading model with random weights
|
| 10 |
+
[PROC-0][2024-10-25 14:19:18,361][pytorch][INFO] - + Creating no weights model
|
| 11 |
+
[PROC-0][2024-10-25 14:19:18,361][pytorch][INFO] - + Creating no weights model directory
|
| 12 |
+
[PROC-0][2024-10-25 14:19:18,361][pytorch][INFO] - + Creating no weights model state dict
|
| 13 |
+
[PROC-0][2024-10-25 14:19:18,384][pytorch][INFO] - + Saving no weights model safetensors
|
| 14 |
+
[PROC-0][2024-10-25 14:19:18,384][pytorch][INFO] - + Saving no weights model pretrained config
|
| 15 |
+
[PROC-0][2024-10-25 14:19:18,385][pytorch][INFO] - + Loading no weights AutoModel
|
| 16 |
+
[PROC-0][2024-10-25 14:19:18,385][pytorch][INFO] - + Loading model directly on device: cuda
|
| 17 |
+
[PROC-0][2024-10-25 14:19:18,760][pytorch][INFO] - + Turning on model's eval mode
|
| 18 |
+
[PROC-0][2024-10-25 14:19:18,767][benchmark][INFO] - Allocating energy_star benchmark
|
| 19 |
+
[PROC-0][2024-10-25 14:19:18,767][energy_star][INFO] - + Loading raw dataset
|
| 20 |
+
[PROC-0][2024-10-25 14:19:20,814][energy_star][INFO] - + Updating Text Generation kwargs with default values
|
| 21 |
+
[PROC-0][2024-10-25 14:19:20,814][energy_star][INFO] - + Initializing Text Generation report
|
| 22 |
+
[PROC-0][2024-10-25 14:19:20,814][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 23 |
+
[PROC-0][2024-10-25 14:19:25,041][energy_star][INFO] - + Preprocessing dataset
|
| 24 |
+
[PROC-0][2024-10-25 14:19:25,997][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 25 |
+
[PROC-0][2024-10-25 14:19:25,998][energy_star][INFO] - + Preparing backend for Inference
|
| 26 |
+
[PROC-0][2024-10-25 14:19:25,998][energy_star][INFO] - + Initialising dataloader
|
| 27 |
+
[PROC-0][2024-10-25 14:19:25,998][energy_star][INFO] - + Warming up backend for Inference
|
| 28 |
+
[PROC-0][2024-10-25 14:19:27,541][energy_star][INFO] - + Additional warmup for Text Generation
|
| 29 |
+
[PROC-0][2024-10-25 14:19:27,742][energy_star][INFO] - + Running Text Generation energy tracking for 10 iterations
|
| 30 |
+
[PROC-0][2024-10-25 14:19:27,743][energy_star][INFO] - + Prefill iteration 1/10
|
| 31 |
+
[PROC-0][2024-10-25 14:20:32,467][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 32 |
+
[PROC-0][2024-10-25 14:20:32,467][energy_star][INFO] - + Prefill iteration 2/10
|
| 33 |
+
[PROC-0][2024-10-25 14:21:37,682][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 34 |
+
[PROC-0][2024-10-25 14:21:37,682][energy_star][INFO] - + Prefill iteration 3/10
|
| 35 |
+
[PROC-0][2024-10-25 14:22:43,182][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 36 |
+
[PROC-0][2024-10-25 14:22:43,183][energy_star][INFO] - + Prefill iteration 4/10
|
| 37 |
+
[PROC-0][2024-10-25 14:23:48,636][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 38 |
+
[PROC-0][2024-10-25 14:23:48,636][energy_star][INFO] - + Prefill iteration 5/10
|
| 39 |
+
[PROC-0][2024-10-25 14:24:54,164][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 40 |
+
[PROC-0][2024-10-25 14:24:54,164][energy_star][INFO] - + Prefill iteration 6/10
|
| 41 |
+
[PROC-0][2024-10-25 14:25:59,719][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 42 |
+
[PROC-0][2024-10-25 14:25:59,720][energy_star][INFO] - + Prefill iteration 7/10
|
| 43 |
+
[PROC-0][2024-10-25 14:27:05,283][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 44 |
+
[PROC-0][2024-10-25 14:27:05,283][energy_star][INFO] - + Prefill iteration 8/10
|
| 45 |
+
[PROC-0][2024-10-25 14:28:10,852][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 46 |
+
[PROC-0][2024-10-25 14:28:10,852][energy_star][INFO] - + Prefill iteration 9/10
|
| 47 |
+
[PROC-0][2024-10-25 14:29:16,384][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 48 |
+
[PROC-0][2024-10-25 14:29:16,384][energy_star][INFO] - + Prefill iteration 10/10
|
| 49 |
+
[PROC-0][2024-10-25 14:30:22,042][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 50 |
+
[PROC-0][2024-10-25 14:30:22,043][energy_star][INFO] - + Decoding iteration 1/10
|
| 51 |
+
[PROC-0][2024-10-25 14:33:51,789][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 52 |
+
[PROC-0][2024-10-25 14:33:51,789][energy_star][INFO] - + Decoding iteration 2/10
|
| 53 |
+
[PROC-0][2024-10-25 14:37:21,225][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 54 |
+
[PROC-0][2024-10-25 14:37:21,226][energy_star][INFO] - + Decoding iteration 3/10
|
| 55 |
+
[PROC-0][2024-10-25 14:40:50,695][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 56 |
+
[PROC-0][2024-10-25 14:40:50,696][energy_star][INFO] - + Decoding iteration 4/10
|
| 57 |
+
[PROC-0][2024-10-25 14:44:20,455][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 58 |
+
[PROC-0][2024-10-25 14:44:20,455][energy_star][INFO] - + Decoding iteration 5/10
|
| 59 |
+
[PROC-0][2024-10-25 14:47:50,217][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 60 |
+
[PROC-0][2024-10-25 14:47:50,218][energy_star][INFO] - + Decoding iteration 6/10
|
| 61 |
+
[PROC-0][2024-10-25 14:51:19,718][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 62 |
+
[PROC-0][2024-10-25 14:51:19,718][energy_star][INFO] - + Decoding iteration 7/10
|
| 63 |
+
[PROC-0][2024-10-25 14:54:49,747][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 64 |
+
[PROC-0][2024-10-25 14:54:49,747][energy_star][INFO] - + Decoding iteration 8/10
|
| 65 |
+
[PROC-0][2024-10-25 14:58:19,078][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 66 |
+
[PROC-0][2024-10-25 14:58:19,079][energy_star][INFO] - + Decoding iteration 9/10
|
| 67 |
+
[PROC-0][2024-10-25 15:01:48,962][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 68 |
+
[PROC-0][2024-10-25 15:01:48,963][energy_star][INFO] - + Decoding iteration 10/10
|
| 69 |
+
[PROC-0][2024-10-25 15:05:18,752][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 70 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + prefill energy consumption:
|
| 71 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + CPU: 0.000695 (kWh)
|
| 72 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + GPU: 0.004784 (kWh)
|
| 73 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + RAM: 0.000007 (kWh)
|
| 74 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + total: 0.005486 (kWh)
|
| 75 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + prefill_iteration_1 energy consumption:
|
| 76 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + CPU: 0.000764 (kWh)
|
| 77 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + GPU: 0.005254 (kWh)
|
| 78 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 79 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + total: 0.006026 (kWh)
|
| 80 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + prefill_iteration_2 energy consumption:
|
| 81 |
+
[PROC-0][2024-10-25 15:05:18,753][energy][INFO] - + CPU: 0.000770 (kWh)
|
| 82 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + GPU: 0.005302 (kWh)
|
| 83 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 84 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + total: 0.006080 (kWh)
|
| 85 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + prefill_iteration_3 energy consumption:
|
| 86 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + CPU: 0.000773 (kWh)
|
| 87 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + GPU: 0.005305 (kWh)
|
| 88 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 89 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + total: 0.006087 (kWh)
|
| 90 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + prefill_iteration_4 energy consumption:
|
| 91 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + CPU: 0.000773 (kWh)
|
| 92 |
+
[PROC-0][2024-10-25 15:05:18,754][energy][INFO] - + GPU: 0.005334 (kWh)
|
| 93 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 94 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + total: 0.006115 (kWh)
|
| 95 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + prefill_iteration_5 energy consumption:
|
| 96 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + CPU: 0.000774 (kWh)
|
| 97 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + GPU: 0.005337 (kWh)
|
| 98 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 99 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + total: 0.006119 (kWh)
|
| 100 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + prefill_iteration_6 energy consumption:
|
| 101 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + CPU: 0.000774 (kWh)
|
| 102 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + GPU: 0.005316 (kWh)
|
| 103 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 104 |
+
[PROC-0][2024-10-25 15:05:18,755][energy][INFO] - + total: 0.006098 (kWh)
|
| 105 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + prefill_iteration_7 energy consumption:
|
| 106 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + CPU: 0.000000 (kWh)
|
| 107 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + GPU: 0.000000 (kWh)
|
| 108 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 109 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + total: 0.000000 (kWh)
|
| 110 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + prefill_iteration_8 energy consumption:
|
| 111 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + CPU: 0.000774 (kWh)
|
| 112 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + GPU: 0.005337 (kWh)
|
| 113 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 114 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + total: 0.006119 (kWh)
|
| 115 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + prefill_iteration_9 energy consumption:
|
| 116 |
+
[PROC-0][2024-10-25 15:05:18,756][energy][INFO] - + CPU: 0.000774 (kWh)
|
| 117 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + GPU: 0.005326 (kWh)
|
| 118 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 119 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + total: 0.006107 (kWh)
|
| 120 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + prefill_iteration_10 energy consumption:
|
| 121 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + CPU: 0.000775 (kWh)
|
| 122 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + GPU: 0.005328 (kWh)
|
| 123 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + RAM: 0.000008 (kWh)
|
| 124 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + total: 0.006111 (kWh)
|
| 125 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + decode energy consumption:
|
| 126 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + CPU: 0.001533 (kWh)
|
| 127 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + GPU: 0.006043 (kWh)
|
| 128 |
+
[PROC-0][2024-10-25 15:05:18,757][energy][INFO] - + RAM: 0.000016 (kWh)
|
| 129 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + total: 0.007592 (kWh)
|
| 130 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + decode_iteration_1 energy consumption:
|
| 131 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + CPU: 0.001712 (kWh)
|
| 132 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + GPU: 0.006835 (kWh)
|
| 133 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 134 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + total: 0.008565 (kWh)
|
| 135 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + decode_iteration_2 energy consumption:
|
| 136 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + CPU: 0.001703 (kWh)
|
| 137 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + GPU: 0.006717 (kWh)
|
| 138 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 139 |
+
[PROC-0][2024-10-25 15:05:18,758][energy][INFO] - + total: 0.008438 (kWh)
|
| 140 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + decode_iteration_3 energy consumption:
|
| 141 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + CPU: 0.001700 (kWh)
|
| 142 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + GPU: 0.006708 (kWh)
|
| 143 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 144 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + total: 0.008426 (kWh)
|
| 145 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + decode_iteration_4 energy consumption:
|
| 146 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + CPU: 0.001704 (kWh)
|
| 147 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + GPU: 0.006688 (kWh)
|
| 148 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 149 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + total: 0.008409 (kWh)
|
| 150 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + decode_iteration_5 energy consumption:
|
| 151 |
+
[PROC-0][2024-10-25 15:05:18,759][energy][INFO] - + CPU: -0.000774 (kWh)
|
| 152 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + GPU: -0.005337 (kWh)
|
| 153 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + RAM: -0.000008 (kWh)
|
| 154 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + total: -0.006119 (kWh)
|
| 155 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + decode_iteration_6 energy consumption:
|
| 156 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + CPU: 0.001699 (kWh)
|
| 157 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + GPU: 0.006700 (kWh)
|
| 158 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 159 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + total: 0.008417 (kWh)
|
| 160 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + decode_iteration_7 energy consumption:
|
| 161 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + CPU: 0.002479 (kWh)
|
| 162 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + GPU: 0.012037 (kWh)
|
| 163 |
+
[PROC-0][2024-10-25 15:05:18,760][energy][INFO] - + RAM: 0.000026 (kWh)
|
| 164 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + total: 0.014542 (kWh)
|
| 165 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + decode_iteration_8 energy consumption:
|
| 166 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + CPU: 0.001697 (kWh)
|
| 167 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + GPU: 0.006678 (kWh)
|
| 168 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 169 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + total: 0.008393 (kWh)
|
| 170 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + decode_iteration_9 energy consumption:
|
| 171 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + CPU: 0.001704 (kWh)
|
| 172 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + GPU: 0.006701 (kWh)
|
| 173 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 174 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + total: 0.008423 (kWh)
|
| 175 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + decode_iteration_10 energy consumption:
|
| 176 |
+
[PROC-0][2024-10-25 15:05:18,761][energy][INFO] - + CPU: 0.001702 (kWh)
|
| 177 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + GPU: 0.006704 (kWh)
|
| 178 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 179 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + total: 0.008423 (kWh)
|
| 180 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + preprocess energy consumption:
|
| 181 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + CPU: 0.000011 (kWh)
|
| 182 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + GPU: 0.000019 (kWh)
|
| 183 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 184 |
+
[PROC-0][2024-10-25 15:05:18,762][energy][INFO] - + total: 0.000030 (kWh)
|
| 185 |
+
[PROC-0][2024-10-25 15:05:18,763][energy][INFO] - + prefill energy efficiency: 54946841.777042 (tokens/kWh)
|
| 186 |
+
[PROC-0][2024-10-25 15:05:18,763][energy][INFO] - + decode energy efficiency: 1185499.073806 (tokens/kWh)
|
| 187 |
+
[PROC-0][2024-10-25 15:05:18,763][energy][INFO] - + preprocess energy efficiency: 33069647.189926 (samples/kWh)
|
| 188 |
+
[2024-10-25 15:05:19,487][datasets][INFO] - PyTorch version 2.4.0 available.
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/error.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/experiment_config.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_generation",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"model": "EleutherAI/pythia-1.4b",
|
| 9 |
+
"processor": "EleutherAI/pythia-1.4b",
|
| 10 |
+
"library": "transformers",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"hub_kwargs": {
|
| 17 |
+
"revision": "main",
|
| 18 |
+
"force_download": false,
|
| 19 |
+
"local_files_only": false,
|
| 20 |
+
"trust_remote_code": true
|
| 21 |
+
},
|
| 22 |
+
"no_weights": true,
|
| 23 |
+
"device_map": null,
|
| 24 |
+
"torch_dtype": null,
|
| 25 |
+
"amp_autocast": false,
|
| 26 |
+
"amp_dtype": null,
|
| 27 |
+
"eval_mode": true,
|
| 28 |
+
"to_bettertransformer": false,
|
| 29 |
+
"low_cpu_mem_usage": null,
|
| 30 |
+
"attn_implementation": null,
|
| 31 |
+
"cache_implementation": null,
|
| 32 |
+
"torch_compile": false,
|
| 33 |
+
"torch_compile_config": {},
|
| 34 |
+
"quantization_scheme": null,
|
| 35 |
+
"quantization_config": {},
|
| 36 |
+
"deepspeed_inference": false,
|
| 37 |
+
"deepspeed_inference_config": {},
|
| 38 |
+
"peft_type": null,
|
| 39 |
+
"peft_config": {}
|
| 40 |
+
},
|
| 41 |
+
"launcher": {
|
| 42 |
+
"name": "process",
|
| 43 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 44 |
+
"device_isolation": false,
|
| 45 |
+
"device_isolation_action": "warn",
|
| 46 |
+
"start_method": "spawn"
|
| 47 |
+
},
|
| 48 |
+
"benchmark": {
|
| 49 |
+
"name": "energy_star",
|
| 50 |
+
"_target_": "optimum_benchmark.benchmarks.energy_star.benchmark.EnergyStarBenchmark",
|
| 51 |
+
"dataset_name": "EnergyStarAI/text_generation",
|
| 52 |
+
"dataset_config": "",
|
| 53 |
+
"dataset_split": "train",
|
| 54 |
+
"num_samples": 1000,
|
| 55 |
+
"input_shapes": {
|
| 56 |
+
"batch_size": 1
|
| 57 |
+
},
|
| 58 |
+
"text_column_name": "text",
|
| 59 |
+
"truncation": true,
|
| 60 |
+
"max_length": -1,
|
| 61 |
+
"dataset_prefix1": "",
|
| 62 |
+
"dataset_prefix2": "",
|
| 63 |
+
"t5_task": "",
|
| 64 |
+
"image_column_name": "image",
|
| 65 |
+
"resize": false,
|
| 66 |
+
"question_column_name": "question",
|
| 67 |
+
"context_column_name": "context",
|
| 68 |
+
"sentence1_column_name": "sentence1",
|
| 69 |
+
"sentence2_column_name": "sentence2",
|
| 70 |
+
"audio_column_name": "audio",
|
| 71 |
+
"iterations": 10,
|
| 72 |
+
"warmup_runs": 10,
|
| 73 |
+
"energy": true,
|
| 74 |
+
"forward_kwargs": {},
|
| 75 |
+
"generate_kwargs": {
|
| 76 |
+
"max_new_tokens": 10,
|
| 77 |
+
"min_new_tokens": 10
|
| 78 |
+
},
|
| 79 |
+
"call_kwargs": {}
|
| 80 |
+
},
|
| 81 |
+
"environment": {
|
| 82 |
+
"cpu": " AMD EPYC 7R32",
|
| 83 |
+
"cpu_count": 48,
|
| 84 |
+
"cpu_ram_mb": 200472.73984,
|
| 85 |
+
"system": "Linux",
|
| 86 |
+
"machine": "x86_64",
|
| 87 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 88 |
+
"processor": "x86_64",
|
| 89 |
+
"python_version": "3.9.20",
|
| 90 |
+
"gpu": [
|
| 91 |
+
"NVIDIA A10G"
|
| 92 |
+
],
|
| 93 |
+
"gpu_count": 1,
|
| 94 |
+
"gpu_vram_mb": 24146608128,
|
| 95 |
+
"optimum_benchmark_version": "0.2.0",
|
| 96 |
+
"optimum_benchmark_commit": null,
|
| 97 |
+
"transformers_version": "4.44.0",
|
| 98 |
+
"transformers_commit": null,
|
| 99 |
+
"accelerate_version": "0.33.0",
|
| 100 |
+
"accelerate_commit": null,
|
| 101 |
+
"diffusers_version": "0.30.0",
|
| 102 |
+
"diffusers_commit": null,
|
| 103 |
+
"optimum_version": null,
|
| 104 |
+
"optimum_commit": null,
|
| 105 |
+
"timm_version": null,
|
| 106 |
+
"timm_commit": null,
|
| 107 |
+
"peft_version": null,
|
| 108 |
+
"peft_commit": null
|
| 109 |
+
}
|
| 110 |
+
}
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/generate_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-25T15:05:18",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "8248080f-4663-456d-a137-5e9a7085d7e8",
|
| 5 |
+
"duration": -1729590786.5050704,
|
| 6 |
+
"emissions": 0.005365198897281848,
|
| 7 |
+
"emissions_rate": 2.557515390694824e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 206.47512668371553,
|
| 10 |
+
"ram_power": 0.442159652709961,
|
| 11 |
+
"cpu_energy": 0.0024766705044626906,
|
| 12 |
+
"gpu_energy": 0.012032104625675721,
|
| 13 |
+
"ram_energy": 2.576626895579409e-05,
|
| 14 |
+
"energy_consumed": 0.014534541399094186,
|
| 15 |
+
"country_name": "United States",
|
| 16 |
+
"country_iso_code": "USA",
|
| 17 |
+
"region": "virginia",
|
| 18 |
+
"cloud_provider": "",
|
| 19 |
+
"cloud_region": "",
|
| 20 |
+
"os": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 21 |
+
"python_version": "3.9.20",
|
| 22 |
+
"codecarbon_version": "2.5.1",
|
| 23 |
+
"cpu_count": 48,
|
| 24 |
+
"cpu_model": "AMD EPYC 7R32",
|
| 25 |
+
"gpu_count": 1,
|
| 26 |
+
"gpu_model": "1 x NVIDIA A10G",
|
| 27 |
+
"longitude": -77.4903,
|
| 28 |
+
"latitude": 39.0469,
|
| 29 |
+
"ram_total_size": 186.7047882080078,
|
| 30 |
+
"tracking_mode": "process",
|
| 31 |
+
"on_cloud": "N",
|
| 32 |
+
"pue": 1.0
|
| 33 |
+
}
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/prefill_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-25T14:30:22",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "8248080f-4663-456d-a137-5e9a7085d7e8",
|
| 5 |
+
"duration": -1729590930.6361673,
|
| 6 |
+
"emissions": 0.002255885002929423,
|
| 7 |
+
"emissions_rate": 3.436201095544714e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 292.1524531813292,
|
| 10 |
+
"ram_power": 0.4420952796936035,
|
| 11 |
+
"cpu_energy": 0.0007751207219166339,
|
| 12 |
+
"gpu_energy": 0.005328100651365908,
|
| 13 |
+
"ram_energy": 8.062587370780708e-06,
|
| 14 |
+
"energy_consumed": 0.006111283960653323,
|
| 15 |
+
"country_name": "United States",
|
| 16 |
+
"country_iso_code": "USA",
|
| 17 |
+
"region": "virginia",
|
| 18 |
+
"cloud_provider": "",
|
| 19 |
+
"cloud_region": "",
|
| 20 |
+
"os": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 21 |
+
"python_version": "3.9.20",
|
| 22 |
+
"codecarbon_version": "2.5.1",
|
| 23 |
+
"cpu_count": 48,
|
| 24 |
+
"cpu_model": "AMD EPYC 7R32",
|
| 25 |
+
"gpu_count": 1,
|
| 26 |
+
"gpu_model": "1 x NVIDIA A10G",
|
| 27 |
+
"longitude": -77.4903,
|
| 28 |
+
"latitude": 39.0469,
|
| 29 |
+
"ram_total_size": 186.7047882080078,
|
| 30 |
+
"tracking_mode": "process",
|
| 31 |
+
"on_cloud": "N",
|
| 32 |
+
"pue": 1.0
|
| 33 |
+
}
|
text_generation/EleutherAI/pythia-1.4b/2024-10-25-14-19-11/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-25T14:19:25",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "8248080f-4663-456d-a137-5e9a7085d7e8",
|
| 5 |
+
"duration": -1729590995.334638,
|
| 6 |
+
"emissions": 1.11623319042601e-05,
|
| 7 |
+
"emissions_rate": 1.1722706007048627e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 71.42300504715094,
|
| 10 |
+
"ram_power": 0.32139015197753906,
|
| 11 |
+
"cpu_energy": 1.1265942924405358e-05,
|
| 12 |
+
"gpu_energy": 1.888834844376852e-05,
|
| 13 |
+
"ram_energy": 8.491845032760329e-08,
|
| 14 |
+
"energy_consumed": 3.023920981850148e-05,
|
| 15 |
+
"country_name": "United States",
|
| 16 |
+
"country_iso_code": "USA",
|
| 17 |
+
"region": "virginia",
|
| 18 |
+
"cloud_provider": "",
|
| 19 |
+
"cloud_region": "",
|
| 20 |
+
"os": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 21 |
+
"python_version": "3.9.20",
|
| 22 |
+
"codecarbon_version": "2.5.1",
|
| 23 |
+
"cpu_count": 48,
|
| 24 |
+
"cpu_model": "AMD EPYC 7R32",
|
| 25 |
+
"gpu_count": 1,
|
| 26 |
+
"gpu_model": "1 x NVIDIA A10G",
|
| 27 |
+
"longitude": -77.4903,
|
| 28 |
+
"latitude": 39.0469,
|
| 29 |
+
"ram_total_size": 186.7047882080078,
|
| 30 |
+
"tracking_mode": "process",
|
| 31 |
+
"on_cloud": "N",
|
| 32 |
+
"pue": 1.0
|
| 33 |
+
}
|
text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-generation
|
| 6 |
+
model: meta-llama/Llama-3.1-8B-Instruct
|
| 7 |
+
processor: meta-llama/Llama-3.1-8B-Instruct
|
| 8 |
+
library: null
|
| 9 |
+
device: cuda
|
| 10 |
+
device_ids: '0'
|
| 11 |
+
seed: 42
|
| 12 |
+
inter_op_num_threads: null
|
| 13 |
+
intra_op_num_threads: null
|
| 14 |
+
hub_kwargs: {}
|
| 15 |
+
no_weights: true
|
| 16 |
+
device_map: null
|
| 17 |
+
torch_dtype: null
|
| 18 |
+
amp_autocast: false
|
| 19 |
+
amp_dtype: null
|
| 20 |
+
eval_mode: true
|
| 21 |
+
to_bettertransformer: false
|
| 22 |
+
low_cpu_mem_usage: null
|
| 23 |
+
attn_implementation: null
|
| 24 |
+
cache_implementation: null
|
| 25 |
+
torch_compile: false
|
| 26 |
+
torch_compile_config: {}
|
| 27 |
+
quantization_scheme: null
|
| 28 |
+
quantization_config: {}
|
| 29 |
+
deepspeed_inference: false
|
| 30 |
+
deepspeed_inference_config: {}
|
| 31 |
+
peft_type: null
|
| 32 |
+
peft_config: {}
|
| 33 |
+
launcher:
|
| 34 |
+
name: process
|
| 35 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 36 |
+
device_isolation: false
|
| 37 |
+
device_isolation_action: warn
|
| 38 |
+
start_method: spawn
|
| 39 |
+
benchmark:
|
| 40 |
+
name: energy_star
|
| 41 |
+
_target_: optimum_benchmark.benchmarks.energy_star.benchmark.EnergyStarBenchmark
|
| 42 |
+
dataset_name: EnergyStarAI/text_generation
|
| 43 |
+
dataset_config: ''
|
| 44 |
+
dataset_split: train
|
| 45 |
+
num_samples: 1000
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
text_column_name: text
|
| 49 |
+
truncation: true
|
| 50 |
+
max_length: -1
|
| 51 |
+
dataset_prefix1: ''
|
| 52 |
+
dataset_prefix2: ''
|
| 53 |
+
t5_task: ''
|
| 54 |
+
image_column_name: image
|
| 55 |
+
resize: false
|
| 56 |
+
question_column_name: question
|
| 57 |
+
context_column_name: context
|
| 58 |
+
sentence1_column_name: sentence1
|
| 59 |
+
sentence2_column_name: sentence2
|
| 60 |
+
audio_column_name: audio
|
| 61 |
+
iterations: 10
|
| 62 |
+
warmup_runs: 10
|
| 63 |
+
energy: true
|
| 64 |
+
forward_kwargs: {}
|
| 65 |
+
generate_kwargs:
|
| 66 |
+
max_new_tokens: 10
|
| 67 |
+
min_new_tokens: 10
|
| 68 |
+
call_kwargs: {}
|
| 69 |
+
experiment_name: text_generation
|
| 70 |
+
environment:
|
| 71 |
+
cpu: ' AMD EPYC 7R32'
|
| 72 |
+
cpu_count: 48
|
| 73 |
+
cpu_ram_mb: 200472.73984
|
| 74 |
+
system: Linux
|
| 75 |
+
machine: x86_64
|
| 76 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 77 |
+
processor: x86_64
|
| 78 |
+
python_version: 3.9.20
|
| 79 |
+
gpu:
|
| 80 |
+
- NVIDIA A10G
|
| 81 |
+
gpu_count: 1
|
| 82 |
+
gpu_vram_mb: 24146608128
|
| 83 |
+
optimum_benchmark_version: 0.2.0
|
| 84 |
+
optimum_benchmark_commit: null
|
| 85 |
+
transformers_version: 4.44.0
|
| 86 |
+
transformers_commit: null
|
| 87 |
+
accelerate_version: 0.33.0
|
| 88 |
+
accelerate_commit: null
|
| 89 |
+
diffusers_version: 0.30.0
|
| 90 |
+
diffusers_commit: null
|
| 91 |
+
optimum_version: null
|
| 92 |
+
optimum_commit: null
|
| 93 |
+
timm_version: null
|
| 94 |
+
timm_commit: null
|
| 95 |
+
peft_version: null
|
| 96 |
+
peft_commit: null
|
text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /runs/text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
colorlog:
|
| 72 |
+
(): colorlog.ColoredFormatter
|
| 73 |
+
format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
|
| 74 |
+
handlers:
|
| 75 |
+
console:
|
| 76 |
+
class: logging.StreamHandler
|
| 77 |
+
formatter: colorlog
|
| 78 |
+
stream: ext://sys.stdout
|
| 79 |
+
root:
|
| 80 |
+
level: INFO
|
| 81 |
+
handlers:
|
| 82 |
+
- console
|
| 83 |
+
disable_existing_loggers: false
|
| 84 |
+
job_logging:
|
| 85 |
+
version: 1
|
| 86 |
+
formatters:
|
| 87 |
+
simple:
|
| 88 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 89 |
+
colorlog:
|
| 90 |
+
(): colorlog.ColoredFormatter
|
| 91 |
+
format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
|
| 92 |
+
- %(message)s'
|
| 93 |
+
log_colors:
|
| 94 |
+
DEBUG: purple
|
| 95 |
+
INFO: green
|
| 96 |
+
WARNING: yellow
|
| 97 |
+
ERROR: red
|
| 98 |
+
CRITICAL: red
|
| 99 |
+
handlers:
|
| 100 |
+
console:
|
| 101 |
+
class: logging.StreamHandler
|
| 102 |
+
formatter: colorlog
|
| 103 |
+
stream: ext://sys.stdout
|
| 104 |
+
file:
|
| 105 |
+
class: logging.FileHandler
|
| 106 |
+
formatter: simple
|
| 107 |
+
filename: ${hydra.job.name}.log
|
| 108 |
+
root:
|
| 109 |
+
level: INFO
|
| 110 |
+
handlers:
|
| 111 |
+
- console
|
| 112 |
+
- file
|
| 113 |
+
disable_existing_loggers: false
|
| 114 |
+
env: {}
|
| 115 |
+
mode: RUN
|
| 116 |
+
searchpath: []
|
| 117 |
+
callbacks: {}
|
| 118 |
+
output_subdir: .hydra
|
| 119 |
+
overrides:
|
| 120 |
+
hydra:
|
| 121 |
+
- hydra.run.dir=/runs/text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task:
|
| 124 |
+
- backend.model=meta-llama/Llama-3.1-8B-Instruct
|
| 125 |
+
- backend.processor=meta-llama/Llama-3.1-8B-Instruct
|
| 126 |
+
job:
|
| 127 |
+
name: cli
|
| 128 |
+
chdir: true
|
| 129 |
+
override_dirname: backend.model=meta-llama/Llama-3.1-8B-Instruct,backend.processor=meta-llama/Llama-3.1-8B-Instruct
|
| 130 |
+
id: ???
|
| 131 |
+
num: ???
|
| 132 |
+
config_name: text_generation
|
| 133 |
+
env_set:
|
| 134 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 135 |
+
env_copy: []
|
| 136 |
+
config:
|
| 137 |
+
override_dirname:
|
| 138 |
+
kv_sep: '='
|
| 139 |
+
item_sep: ','
|
| 140 |
+
exclude_keys: []
|
| 141 |
+
runtime:
|
| 142 |
+
version: 1.3.2
|
| 143 |
+
version_base: '1.3'
|
| 144 |
+
cwd: /
|
| 145 |
+
config_sources:
|
| 146 |
+
- path: hydra.conf
|
| 147 |
+
schema: pkg
|
| 148 |
+
provider: hydra
|
| 149 |
+
- path: optimum_benchmark
|
| 150 |
+
schema: pkg
|
| 151 |
+
provider: main
|
| 152 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 153 |
+
schema: pkg
|
| 154 |
+
provider: hydra-colorlog
|
| 155 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 156 |
+
schema: file
|
| 157 |
+
provider: command-line
|
| 158 |
+
- path: ''
|
| 159 |
+
schema: structured
|
| 160 |
+
provider: schema
|
| 161 |
+
output_dir: /runs/text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01
|
| 162 |
+
choices:
|
| 163 |
+
benchmark: energy_star
|
| 164 |
+
launcher: process
|
| 165 |
+
backend: pytorch
|
| 166 |
+
hydra/env: default
|
| 167 |
+
hydra/callbacks: null
|
| 168 |
+
hydra/job_logging: colorlog
|
| 169 |
+
hydra/hydra_logging: colorlog
|
| 170 |
+
hydra/hydra_help: default
|
| 171 |
+
hydra/help: default
|
| 172 |
+
hydra/sweeper: basic
|
| 173 |
+
hydra/launcher: basic
|
| 174 |
+
hydra/output: default
|
| 175 |
+
verbose: false
|
text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=meta-llama/Llama-3.1-8B-Instruct
|
| 2 |
+
- backend.processor=meta-llama/Llama-3.1-8B-Instruct
|
text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/cli.log
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-25 14:19:04,867][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-25 14:19:04,867][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-25 14:19:04,880][process][INFO] - + Launched benchmark in isolated process 180.
|
| 4 |
+
[PROC-0][2024-10-25 14:19:07,510][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 5 |
+
[PROC-0][2024-10-25 14:19:08,456][backend][INFO] - َAllocating pytorch backend
|
| 6 |
+
[PROC-0][2024-10-25 14:19:08,456][backend][INFO] - + Setting random seed to 42
|
| 7 |
+
[PROC-0][2024-10-25 14:19:09,909][pytorch][INFO] - + Using AutoModel class AutoModelForCausalLM
|
| 8 |
+
[PROC-0][2024-10-25 14:19:09,909][pytorch][INFO] - + Creating backend temporary directory
|
| 9 |
+
[PROC-0][2024-10-25 14:19:09,909][pytorch][INFO] - + Loading model with random weights
|
| 10 |
+
[PROC-0][2024-10-25 14:19:09,909][pytorch][INFO] - + Creating no weights model
|
| 11 |
+
[PROC-0][2024-10-25 14:19:09,910][pytorch][INFO] - + Creating no weights model directory
|
| 12 |
+
[PROC-0][2024-10-25 14:19:09,910][pytorch][INFO] - + Creating no weights model state dict
|
| 13 |
+
[PROC-0][2024-10-25 14:19:09,932][pytorch][INFO] - + Saving no weights model safetensors
|
| 14 |
+
[PROC-0][2024-10-25 14:19:09,933][pytorch][INFO] - + Saving no weights model pretrained config
|
| 15 |
+
[PROC-0][2024-10-25 14:19:09,934][pytorch][INFO] - + Loading no weights AutoModel
|
| 16 |
+
[PROC-0][2024-10-25 14:19:09,934][pytorch][INFO] - + Loading model directly on device: cuda
|
| 17 |
+
[2024-10-25 14:19:10,960][experiment][ERROR] - Error during experiment
|
text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/error.log
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Error executing job with overrides: ['backend.model=meta-llama/Llama-3.1-8B-Instruct', 'backend.processor=meta-llama/Llama-3.1-8B-Instruct']
|
| 2 |
+
Traceback (most recent call last):
|
| 3 |
+
File "/optimum-benchmark/optimum_benchmark/cli.py", line 65, in benchmark_cli
|
| 4 |
+
benchmark_report: BenchmarkReport = launch(experiment_config=experiment_config)
|
| 5 |
+
File "/optimum-benchmark/optimum_benchmark/experiment.py", line 102, in launch
|
| 6 |
+
raise error
|
| 7 |
+
File "/optimum-benchmark/optimum_benchmark/experiment.py", line 90, in launch
|
| 8 |
+
report = launcher.launch(run, experiment_config.benchmark, experiment_config.backend)
|
| 9 |
+
File "/optimum-benchmark/optimum_benchmark/launchers/process/launcher.py", line 47, in launch
|
| 10 |
+
while not process_context.join():
|
| 11 |
+
File "/opt/conda/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 189, in join
|
| 12 |
+
raise ProcessRaisedException(msg, error_index, failed_process.pid)
|
| 13 |
+
torch.multiprocessing.spawn.ProcessRaisedException:
|
| 14 |
+
|
| 15 |
+
-- Process 0 terminated with the following error:
|
| 16 |
+
Traceback (most recent call last):
|
| 17 |
+
File "/opt/conda/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 76, in _wrap
|
| 18 |
+
fn(i, *args)
|
| 19 |
+
File "/optimum-benchmark/optimum_benchmark/launchers/process/launcher.py", line 63, in entrypoint
|
| 20 |
+
worker_output = worker(*worker_args)
|
| 21 |
+
File "/optimum-benchmark/optimum_benchmark/experiment.py", line 55, in run
|
| 22 |
+
backend: Backend = backend_factory(backend_config)
|
| 23 |
+
File "/optimum-benchmark/optimum_benchmark/backends/pytorch/backend.py", line 81, in __init__
|
| 24 |
+
self.load_model_with_no_weights()
|
| 25 |
+
File "/optimum-benchmark/optimum_benchmark/backends/pytorch/backend.py", line 246, in load_model_with_no_weights
|
| 26 |
+
self.load_model_from_pretrained()
|
| 27 |
+
File "/optimum-benchmark/optimum_benchmark/backends/pytorch/backend.py", line 204, in load_model_from_pretrained
|
| 28 |
+
self.pretrained_model = self.automodel_class.from_pretrained(
|
| 29 |
+
File "/opt/conda/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 564, in from_pretrained
|
| 30 |
+
return model_class.from_pretrained(
|
| 31 |
+
File "/opt/conda/lib/python3.9/site-packages/transformers/modeling_utils.py", line 3810, in from_pretrained
|
| 32 |
+
model = cls(config, *model_args, **model_kwargs)
|
| 33 |
+
File "/opt/conda/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py", line 1116, in __init__
|
| 34 |
+
self.model = LlamaModel(config)
|
| 35 |
+
File "/opt/conda/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py", line 902, in __init__
|
| 36 |
+
[LlamaDecoderLayer(config, layer_idx) for layer_idx in range(config.num_hidden_layers)]
|
| 37 |
+
File "/opt/conda/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py", line 902, in <listcomp>
|
| 38 |
+
[LlamaDecoderLayer(config, layer_idx) for layer_idx in range(config.num_hidden_layers)]
|
| 39 |
+
File "/opt/conda/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py", line 691, in __init__
|
| 40 |
+
self.mlp = LlamaMLP(config)
|
| 41 |
+
File "/opt/conda/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py", line 287, in __init__
|
| 42 |
+
self.up_proj = nn.Linear(self.hidden_size, self.intermediate_size, bias=config.mlp_bias)
|
| 43 |
+
File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/linear.py", line 99, in __init__
|
| 44 |
+
self.weight = Parameter(torch.empty((out_features, in_features), **factory_kwargs))
|
| 45 |
+
File "/opt/conda/lib/python3.9/site-packages/torch/utils/_device.py", line 79, in __torch_function__
|
| 46 |
+
return func(*args, **kwargs)
|
| 47 |
+
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 224.00 MiB. GPU 0 has a total capacity of 22.19 GiB of which 69.50 MiB is free. Process 652519 has 22.12 GiB memory in use. Of the allocated memory 21.83 GiB is allocated by PyTorch, and 1.24 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
|
text_generation/meta-llama/Llama-3.1-8B-Instruct/2024-10-25-14-19-01/experiment_config.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_generation",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"model": "meta-llama/Llama-3.1-8B-Instruct",
|
| 9 |
+
"processor": "meta-llama/Llama-3.1-8B-Instruct",
|
| 10 |
+
"library": "transformers",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"hub_kwargs": {
|
| 17 |
+
"revision": "main",
|
| 18 |
+
"force_download": false,
|
| 19 |
+
"local_files_only": false,
|
| 20 |
+
"trust_remote_code": true
|
| 21 |
+
},
|
| 22 |
+
"no_weights": true,
|
| 23 |
+
"device_map": null,
|
| 24 |
+
"torch_dtype": null,
|
| 25 |
+
"amp_autocast": false,
|
| 26 |
+
"amp_dtype": null,
|
| 27 |
+
"eval_mode": true,
|
| 28 |
+
"to_bettertransformer": false,
|
| 29 |
+
"low_cpu_mem_usage": null,
|
| 30 |
+
"attn_implementation": null,
|
| 31 |
+
"cache_implementation": null,
|
| 32 |
+
"torch_compile": false,
|
| 33 |
+
"torch_compile_config": {},
|
| 34 |
+
"quantization_scheme": null,
|
| 35 |
+
"quantization_config": {},
|
| 36 |
+
"deepspeed_inference": false,
|
| 37 |
+
"deepspeed_inference_config": {},
|
| 38 |
+
"peft_type": null,
|
| 39 |
+
"peft_config": {}
|
| 40 |
+
},
|
| 41 |
+
"launcher": {
|
| 42 |
+
"name": "process",
|
| 43 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 44 |
+
"device_isolation": false,
|
| 45 |
+
"device_isolation_action": "warn",
|
| 46 |
+
"start_method": "spawn"
|
| 47 |
+
},
|
| 48 |
+
"benchmark": {
|
| 49 |
+
"name": "energy_star",
|
| 50 |
+
"_target_": "optimum_benchmark.benchmarks.energy_star.benchmark.EnergyStarBenchmark",
|
| 51 |
+
"dataset_name": "EnergyStarAI/text_generation",
|
| 52 |
+
"dataset_config": "",
|
| 53 |
+
"dataset_split": "train",
|
| 54 |
+
"num_samples": 1000,
|
| 55 |
+
"input_shapes": {
|
| 56 |
+
"batch_size": 1
|
| 57 |
+
},
|
| 58 |
+
"text_column_name": "text",
|
| 59 |
+
"truncation": true,
|
| 60 |
+
"max_length": -1,
|
| 61 |
+
"dataset_prefix1": "",
|
| 62 |
+
"dataset_prefix2": "",
|
| 63 |
+
"t5_task": "",
|
| 64 |
+
"image_column_name": "image",
|
| 65 |
+
"resize": false,
|
| 66 |
+
"question_column_name": "question",
|
| 67 |
+
"context_column_name": "context",
|
| 68 |
+
"sentence1_column_name": "sentence1",
|
| 69 |
+
"sentence2_column_name": "sentence2",
|
| 70 |
+
"audio_column_name": "audio",
|
| 71 |
+
"iterations": 10,
|
| 72 |
+
"warmup_runs": 10,
|
| 73 |
+
"energy": true,
|
| 74 |
+
"forward_kwargs": {},
|
| 75 |
+
"generate_kwargs": {
|
| 76 |
+
"max_new_tokens": 10,
|
| 77 |
+
"min_new_tokens": 10
|
| 78 |
+
},
|
| 79 |
+
"call_kwargs": {}
|
| 80 |
+
},
|
| 81 |
+
"environment": {
|
| 82 |
+
"cpu": " AMD EPYC 7R32",
|
| 83 |
+
"cpu_count": 48,
|
| 84 |
+
"cpu_ram_mb": 200472.73984,
|
| 85 |
+
"system": "Linux",
|
| 86 |
+
"machine": "x86_64",
|
| 87 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 88 |
+
"processor": "x86_64",
|
| 89 |
+
"python_version": "3.9.20",
|
| 90 |
+
"gpu": [
|
| 91 |
+
"NVIDIA A10G"
|
| 92 |
+
],
|
| 93 |
+
"gpu_count": 1,
|
| 94 |
+
"gpu_vram_mb": 24146608128,
|
| 95 |
+
"optimum_benchmark_version": "0.2.0",
|
| 96 |
+
"optimum_benchmark_commit": null,
|
| 97 |
+
"transformers_version": "4.44.0",
|
| 98 |
+
"transformers_commit": null,
|
| 99 |
+
"accelerate_version": "0.33.0",
|
| 100 |
+
"accelerate_commit": null,
|
| 101 |
+
"diffusers_version": "0.30.0",
|
| 102 |
+
"diffusers_commit": null,
|
| 103 |
+
"optimum_version": null,
|
| 104 |
+
"optimum_commit": null,
|
| 105 |
+
"timm_version": null,
|
| 106 |
+
"timm_commit": null,
|
| 107 |
+
"peft_version": null,
|
| 108 |
+
"peft_commit": null
|
| 109 |
+
}
|
| 110 |
+
}
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-generation
|
| 6 |
+
model: openai-community/gpt2-large
|
| 7 |
+
processor: openai-community/gpt2-large
|
| 8 |
+
library: null
|
| 9 |
+
device: cuda
|
| 10 |
+
device_ids: '0'
|
| 11 |
+
seed: 42
|
| 12 |
+
inter_op_num_threads: null
|
| 13 |
+
intra_op_num_threads: null
|
| 14 |
+
hub_kwargs: {}
|
| 15 |
+
no_weights: true
|
| 16 |
+
device_map: null
|
| 17 |
+
torch_dtype: null
|
| 18 |
+
amp_autocast: false
|
| 19 |
+
amp_dtype: null
|
| 20 |
+
eval_mode: true
|
| 21 |
+
to_bettertransformer: false
|
| 22 |
+
low_cpu_mem_usage: null
|
| 23 |
+
attn_implementation: null
|
| 24 |
+
cache_implementation: null
|
| 25 |
+
torch_compile: false
|
| 26 |
+
torch_compile_config: {}
|
| 27 |
+
quantization_scheme: null
|
| 28 |
+
quantization_config: {}
|
| 29 |
+
deepspeed_inference: false
|
| 30 |
+
deepspeed_inference_config: {}
|
| 31 |
+
peft_type: null
|
| 32 |
+
peft_config: {}
|
| 33 |
+
launcher:
|
| 34 |
+
name: process
|
| 35 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 36 |
+
device_isolation: false
|
| 37 |
+
device_isolation_action: warn
|
| 38 |
+
start_method: spawn
|
| 39 |
+
benchmark:
|
| 40 |
+
name: energy_star
|
| 41 |
+
_target_: optimum_benchmark.benchmarks.energy_star.benchmark.EnergyStarBenchmark
|
| 42 |
+
dataset_name: EnergyStarAI/text_generation
|
| 43 |
+
dataset_config: ''
|
| 44 |
+
dataset_split: train
|
| 45 |
+
num_samples: 1000
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
text_column_name: text
|
| 49 |
+
truncation: true
|
| 50 |
+
max_length: -1
|
| 51 |
+
dataset_prefix1: ''
|
| 52 |
+
dataset_prefix2: ''
|
| 53 |
+
t5_task: ''
|
| 54 |
+
image_column_name: image
|
| 55 |
+
resize: false
|
| 56 |
+
question_column_name: question
|
| 57 |
+
context_column_name: context
|
| 58 |
+
sentence1_column_name: sentence1
|
| 59 |
+
sentence2_column_name: sentence2
|
| 60 |
+
audio_column_name: audio
|
| 61 |
+
iterations: 10
|
| 62 |
+
warmup_runs: 10
|
| 63 |
+
energy: true
|
| 64 |
+
forward_kwargs: {}
|
| 65 |
+
generate_kwargs:
|
| 66 |
+
max_new_tokens: 10
|
| 67 |
+
min_new_tokens: 10
|
| 68 |
+
call_kwargs: {}
|
| 69 |
+
experiment_name: text_generation
|
| 70 |
+
environment:
|
| 71 |
+
cpu: ' AMD EPYC 7R32'
|
| 72 |
+
cpu_count: 48
|
| 73 |
+
cpu_ram_mb: 200472.73984
|
| 74 |
+
system: Linux
|
| 75 |
+
machine: x86_64
|
| 76 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 77 |
+
processor: x86_64
|
| 78 |
+
python_version: 3.9.20
|
| 79 |
+
gpu:
|
| 80 |
+
- NVIDIA A10G
|
| 81 |
+
gpu_count: 1
|
| 82 |
+
gpu_vram_mb: 24146608128
|
| 83 |
+
optimum_benchmark_version: 0.2.0
|
| 84 |
+
optimum_benchmark_commit: null
|
| 85 |
+
transformers_version: 4.44.0
|
| 86 |
+
transformers_commit: null
|
| 87 |
+
accelerate_version: 0.33.0
|
| 88 |
+
accelerate_commit: null
|
| 89 |
+
diffusers_version: 0.30.0
|
| 90 |
+
diffusers_commit: null
|
| 91 |
+
optimum_version: null
|
| 92 |
+
optimum_commit: null
|
| 93 |
+
timm_version: null
|
| 94 |
+
timm_commit: null
|
| 95 |
+
peft_version: null
|
| 96 |
+
peft_commit: null
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /runs/text_generation/openai-community/gpt2-large/2024-10-25-15-05-20
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
colorlog:
|
| 72 |
+
(): colorlog.ColoredFormatter
|
| 73 |
+
format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
|
| 74 |
+
handlers:
|
| 75 |
+
console:
|
| 76 |
+
class: logging.StreamHandler
|
| 77 |
+
formatter: colorlog
|
| 78 |
+
stream: ext://sys.stdout
|
| 79 |
+
root:
|
| 80 |
+
level: INFO
|
| 81 |
+
handlers:
|
| 82 |
+
- console
|
| 83 |
+
disable_existing_loggers: false
|
| 84 |
+
job_logging:
|
| 85 |
+
version: 1
|
| 86 |
+
formatters:
|
| 87 |
+
simple:
|
| 88 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 89 |
+
colorlog:
|
| 90 |
+
(): colorlog.ColoredFormatter
|
| 91 |
+
format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
|
| 92 |
+
- %(message)s'
|
| 93 |
+
log_colors:
|
| 94 |
+
DEBUG: purple
|
| 95 |
+
INFO: green
|
| 96 |
+
WARNING: yellow
|
| 97 |
+
ERROR: red
|
| 98 |
+
CRITICAL: red
|
| 99 |
+
handlers:
|
| 100 |
+
console:
|
| 101 |
+
class: logging.StreamHandler
|
| 102 |
+
formatter: colorlog
|
| 103 |
+
stream: ext://sys.stdout
|
| 104 |
+
file:
|
| 105 |
+
class: logging.FileHandler
|
| 106 |
+
formatter: simple
|
| 107 |
+
filename: ${hydra.job.name}.log
|
| 108 |
+
root:
|
| 109 |
+
level: INFO
|
| 110 |
+
handlers:
|
| 111 |
+
- console
|
| 112 |
+
- file
|
| 113 |
+
disable_existing_loggers: false
|
| 114 |
+
env: {}
|
| 115 |
+
mode: RUN
|
| 116 |
+
searchpath: []
|
| 117 |
+
callbacks: {}
|
| 118 |
+
output_subdir: .hydra
|
| 119 |
+
overrides:
|
| 120 |
+
hydra:
|
| 121 |
+
- hydra.run.dir=/runs/text_generation/openai-community/gpt2-large/2024-10-25-15-05-20
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task:
|
| 124 |
+
- backend.model=openai-community/gpt2-large
|
| 125 |
+
- backend.processor=openai-community/gpt2-large
|
| 126 |
+
job:
|
| 127 |
+
name: cli
|
| 128 |
+
chdir: true
|
| 129 |
+
override_dirname: backend.model=openai-community/gpt2-large,backend.processor=openai-community/gpt2-large
|
| 130 |
+
id: ???
|
| 131 |
+
num: ???
|
| 132 |
+
config_name: text_generation
|
| 133 |
+
env_set:
|
| 134 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 135 |
+
env_copy: []
|
| 136 |
+
config:
|
| 137 |
+
override_dirname:
|
| 138 |
+
kv_sep: '='
|
| 139 |
+
item_sep: ','
|
| 140 |
+
exclude_keys: []
|
| 141 |
+
runtime:
|
| 142 |
+
version: 1.3.2
|
| 143 |
+
version_base: '1.3'
|
| 144 |
+
cwd: /
|
| 145 |
+
config_sources:
|
| 146 |
+
- path: hydra.conf
|
| 147 |
+
schema: pkg
|
| 148 |
+
provider: hydra
|
| 149 |
+
- path: optimum_benchmark
|
| 150 |
+
schema: pkg
|
| 151 |
+
provider: main
|
| 152 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 153 |
+
schema: pkg
|
| 154 |
+
provider: hydra-colorlog
|
| 155 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 156 |
+
schema: file
|
| 157 |
+
provider: command-line
|
| 158 |
+
- path: ''
|
| 159 |
+
schema: structured
|
| 160 |
+
provider: schema
|
| 161 |
+
output_dir: /runs/text_generation/openai-community/gpt2-large/2024-10-25-15-05-20
|
| 162 |
+
choices:
|
| 163 |
+
benchmark: energy_star
|
| 164 |
+
launcher: process
|
| 165 |
+
backend: pytorch
|
| 166 |
+
hydra/env: default
|
| 167 |
+
hydra/callbacks: null
|
| 168 |
+
hydra/job_logging: colorlog
|
| 169 |
+
hydra/hydra_logging: colorlog
|
| 170 |
+
hydra/hydra_help: default
|
| 171 |
+
hydra/help: default
|
| 172 |
+
hydra/sweeper: basic
|
| 173 |
+
hydra/launcher: basic
|
| 174 |
+
hydra/output: default
|
| 175 |
+
verbose: false
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=openai-community/gpt2-large
|
| 2 |
+
- backend.processor=openai-community/gpt2-large
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/benchmark_report.json
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": null,
|
| 4 |
+
"latency": null,
|
| 5 |
+
"throughput": null,
|
| 6 |
+
"energy": {
|
| 7 |
+
"unit": "kWh",
|
| 8 |
+
"cpu": 0.00042952262899040045,
|
| 9 |
+
"ram": 4.223514289139063e-06,
|
| 10 |
+
"gpu": 0.0027924934839930414,
|
| 11 |
+
"total": 0.0032262396272725808
|
| 12 |
+
},
|
| 13 |
+
"efficiency": {
|
| 14 |
+
"unit": "tokens/kWh",
|
| 15 |
+
"value": 77907728.2032169
|
| 16 |
+
},
|
| 17 |
+
"measures": [
|
| 18 |
+
{
|
| 19 |
+
"unit": "kWh",
|
| 20 |
+
"cpu": 0.0004767674529698627,
|
| 21 |
+
"ram": 4.686756691400073e-06,
|
| 22 |
+
"gpu": 0.0030707632899420467,
|
| 23 |
+
"total": 0.003552217499603309
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"unit": "kWh",
|
| 27 |
+
"cpu": 0.0004761168440573885,
|
| 28 |
+
"ram": 4.68156140578368e-06,
|
| 29 |
+
"gpu": 0.003081669132000142,
|
| 30 |
+
"total": 0.003562467537463315
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"unit": "kWh",
|
| 34 |
+
"cpu": 0.0004762781842692575,
|
| 35 |
+
"ram": 4.683629835662878e-06,
|
| 36 |
+
"gpu": 0.0031047785949318563,
|
| 37 |
+
"total": 0.003585740409036777
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"unit": "kWh",
|
| 41 |
+
"cpu": 0.00047698079691387333,
|
| 42 |
+
"ram": 4.690545441760647e-06,
|
| 43 |
+
"gpu": 0.0031101838770339896,
|
| 44 |
+
"total": 0.0035918552193896242
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"unit": "kWh",
|
| 48 |
+
"cpu": 0.0004774678291462704,
|
| 49 |
+
"ram": 4.694936535922736e-06,
|
| 50 |
+
"gpu": 0.003104798594947944,
|
| 51 |
+
"total": 0.0035869613606301365
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"unit": "kWh",
|
| 55 |
+
"cpu": 0.00047772778730270334,
|
| 56 |
+
"ram": 4.697792063112075e-06,
|
| 57 |
+
"gpu": 0.003111502489200113,
|
| 58 |
+
"total": 0.003593928068565927
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"unit": "kWh",
|
| 62 |
+
"cpu": 0.0,
|
| 63 |
+
"ram": 0.0,
|
| 64 |
+
"gpu": 0.0,
|
| 65 |
+
"total": 0.0
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"unit": "kWh",
|
| 69 |
+
"cpu": 0.00047796141129025863,
|
| 70 |
+
"ram": 4.699928314731336e-06,
|
| 71 |
+
"gpu": 0.0031138961022261213,
|
| 72 |
+
"total": 0.00359655744183111
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"unit": "kWh",
|
| 76 |
+
"cpu": 0.0004777220907558029,
|
| 77 |
+
"ram": 4.6975279509393065e-06,
|
| 78 |
+
"gpu": 0.0031058152624279245,
|
| 79 |
+
"total": 0.0035882348811346644
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"unit": "kWh",
|
| 83 |
+
"cpu": 0.00047820389319858797,
|
| 84 |
+
"ram": 4.702464652077899e-06,
|
| 85 |
+
"gpu": 0.0031215274972202778,
|
| 86 |
+
"total": 0.0036044338550709418
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
"decode": {
|
| 91 |
+
"memory": null,
|
| 92 |
+
"latency": null,
|
| 93 |
+
"throughput": null,
|
| 94 |
+
"energy": {
|
| 95 |
+
"unit": "kWh",
|
| 96 |
+
"cpu": 0.0016164460666061049,
|
| 97 |
+
"ram": 1.590753237599822e-05,
|
| 98 |
+
"gpu": 0.005067730581958951,
|
| 99 |
+
"total": 0.006700084180941058
|
| 100 |
+
},
|
| 101 |
+
"efficiency": {
|
| 102 |
+
"unit": "tokens/kWh",
|
| 103 |
+
"value": 1343266.704857417
|
| 104 |
+
},
|
| 105 |
+
"measures": [
|
| 106 |
+
{
|
| 107 |
+
"unit": "kWh",
|
| 108 |
+
"cpu": 0.001785880177408763,
|
| 109 |
+
"ram": 1.7576060515605916e-05,
|
| 110 |
+
"gpu": 0.005726895414845945,
|
| 111 |
+
"total": 0.007530351652770312
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"unit": "kWh",
|
| 115 |
+
"cpu": 0.001794188638455832,
|
| 116 |
+
"ram": 1.7656503714432373e-05,
|
| 117 |
+
"gpu": 0.005638713955411712,
|
| 118 |
+
"total": 0.007450559097581981
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"unit": "kWh",
|
| 122 |
+
"cpu": 0.0017975180591892734,
|
| 123 |
+
"ram": 1.768867778453828e-05,
|
| 124 |
+
"gpu": 0.0056178475498300795,
|
| 125 |
+
"total": 0.007433054286803891
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"unit": "kWh",
|
| 129 |
+
"cpu": 0.0017974488683394562,
|
| 130 |
+
"ram": 1.768841365471345e-05,
|
| 131 |
+
"gpu": 0.005605810873534178,
|
| 132 |
+
"total": 0.007420948155528349
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"unit": "kWh",
|
| 136 |
+
"cpu": -0.0004774678291462704,
|
| 137 |
+
"ram": -4.694936535922736e-06,
|
| 138 |
+
"gpu": -0.003104798594947944,
|
| 139 |
+
"total": -0.0035869613606301365
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"unit": "kWh",
|
| 143 |
+
"cpu": 0.0017941301622098576,
|
| 144 |
+
"ram": 1.765602997296569e-05,
|
| 145 |
+
"gpu": 0.005613215879458178,
|
| 146 |
+
"total": 0.007425002071640999
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"unit": "kWh",
|
| 150 |
+
"cpu": 0.0022829135469983955,
|
| 151 |
+
"ram": 2.246275783147848e-05,
|
| 152 |
+
"gpu": 0.008738117823821945,
|
| 153 |
+
"total": 0.011043494128651826
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"unit": "kWh",
|
| 157 |
+
"cpu": 0.0018028321023171477,
|
| 158 |
+
"ram": 1.7741966243245834e-05,
|
| 159 |
+
"gpu": 0.005622537275803641,
|
| 160 |
+
"total": 0.007443111344364043
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"unit": "kWh",
|
| 164 |
+
"cpu": 0.0017882973749673214,
|
| 165 |
+
"ram": 1.7598984262985416e-05,
|
| 166 |
+
"gpu": 0.0056052753175501735,
|
| 167 |
+
"total": 0.007411171676780511
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"unit": "kWh",
|
| 171 |
+
"cpu": 0.0017987195653212731,
|
| 172 |
+
"ram": 1.770086631593952e-05,
|
| 173 |
+
"gpu": 0.005613690324281606,
|
| 174 |
+
"total": 0.007430110755918824
|
| 175 |
+
}
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"per_token": {
|
| 179 |
+
"memory": null,
|
| 180 |
+
"latency": null,
|
| 181 |
+
"throughput": null,
|
| 182 |
+
"energy": null,
|
| 183 |
+
"efficiency": null,
|
| 184 |
+
"measures": null
|
| 185 |
+
},
|
| 186 |
+
"preprocess": {
|
| 187 |
+
"memory": null,
|
| 188 |
+
"latency": null,
|
| 189 |
+
"throughput": null,
|
| 190 |
+
"energy": {
|
| 191 |
+
"unit": "kWh",
|
| 192 |
+
"cpu": 1.0432217698123875e-05,
|
| 193 |
+
"ram": 7.020663859453463e-08,
|
| 194 |
+
"gpu": 1.8202236783837478e-05,
|
| 195 |
+
"total": 2.870466112055589e-05
|
| 196 |
+
},
|
| 197 |
+
"efficiency": {
|
| 198 |
+
"unit": "samples/kWh",
|
| 199 |
+
"value": 34837547.66517286
|
| 200 |
+
},
|
| 201 |
+
"measures": null
|
| 202 |
+
}
|
| 203 |
+
}
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/cli.log
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-25 15:05:23,329][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-25 15:05:23,329][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-25 15:05:23,342][process][INFO] - + Launched benchmark in isolated process 539.
|
| 4 |
+
[PROC-0][2024-10-25 15:05:25,883][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 5 |
+
[PROC-0][2024-10-25 15:05:26,871][backend][INFO] - َAllocating pytorch backend
|
| 6 |
+
[PROC-0][2024-10-25 15:05:26,871][backend][INFO] - + Setting random seed to 42
|
| 7 |
+
[PROC-0][2024-10-25 15:05:27,852][pytorch][INFO] - + Using AutoModel class AutoModelForCausalLM
|
| 8 |
+
[PROC-0][2024-10-25 15:05:27,852][pytorch][INFO] - + Creating backend temporary directory
|
| 9 |
+
[PROC-0][2024-10-25 15:05:27,853][pytorch][INFO] - + Loading model with random weights
|
| 10 |
+
[PROC-0][2024-10-25 15:05:27,853][pytorch][INFO] - + Creating no weights model
|
| 11 |
+
[PROC-0][2024-10-25 15:05:27,853][pytorch][INFO] - + Creating no weights model directory
|
| 12 |
+
[PROC-0][2024-10-25 15:05:27,853][pytorch][INFO] - + Creating no weights model state dict
|
| 13 |
+
[PROC-0][2024-10-25 15:05:27,876][pytorch][INFO] - + Saving no weights model safetensors
|
| 14 |
+
[PROC-0][2024-10-25 15:05:27,877][pytorch][INFO] - + Saving no weights model pretrained config
|
| 15 |
+
[PROC-0][2024-10-25 15:05:27,877][pytorch][INFO] - + Loading no weights AutoModel
|
| 16 |
+
[PROC-0][2024-10-25 15:05:27,877][pytorch][INFO] - + Loading model directly on device: cuda
|
| 17 |
+
[PROC-0][2024-10-25 15:05:28,120][pytorch][INFO] - + Turning on model's eval mode
|
| 18 |
+
[PROC-0][2024-10-25 15:05:28,127][benchmark][INFO] - Allocating energy_star benchmark
|
| 19 |
+
[PROC-0][2024-10-25 15:05:28,127][energy_star][INFO] - + Loading raw dataset
|
| 20 |
+
[PROC-0][2024-10-25 15:05:28,970][energy_star][INFO] - + Updating Text Generation kwargs with default values
|
| 21 |
+
[PROC-0][2024-10-25 15:05:28,971][energy_star][INFO] - + Initializing Text Generation report
|
| 22 |
+
[PROC-0][2024-10-25 15:05:28,971][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 23 |
+
[PROC-0][2024-10-25 15:05:33,200][energy_star][INFO] - + Preprocessing dataset
|
| 24 |
+
[PROC-0][2024-10-25 15:05:34,084][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 25 |
+
[PROC-0][2024-10-25 15:05:34,085][energy_star][INFO] - + Preparing backend for Inference
|
| 26 |
+
[PROC-0][2024-10-25 15:05:34,085][energy_star][INFO] - + Initialising dataloader
|
| 27 |
+
[PROC-0][2024-10-25 15:05:34,085][energy_star][INFO] - + Warming up backend for Inference
|
| 28 |
+
[PROC-0][2024-10-25 15:05:35,392][energy_star][INFO] - + Additional warmup for Text Generation
|
| 29 |
+
[PROC-0][2024-10-25 15:05:35,584][energy_star][INFO] - + Running Text Generation energy tracking for 10 iterations
|
| 30 |
+
[PROC-0][2024-10-25 15:05:35,585][energy_star][INFO] - + Prefill iteration 1/10
|
| 31 |
+
[PROC-0][2024-10-25 15:06:15,970][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 32 |
+
[PROC-0][2024-10-25 15:06:15,971][energy_star][INFO] - + Prefill iteration 2/10
|
| 33 |
+
[PROC-0][2024-10-25 15:06:56,301][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 34 |
+
[PROC-0][2024-10-25 15:06:56,302][energy_star][INFO] - + Prefill iteration 3/10
|
| 35 |
+
[PROC-0][2024-10-25 15:07:36,646][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 36 |
+
[PROC-0][2024-10-25 15:07:36,646][energy_star][INFO] - + Prefill iteration 4/10
|
| 37 |
+
[PROC-0][2024-10-25 15:08:17,050][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 38 |
+
[PROC-0][2024-10-25 15:08:17,050][energy_star][INFO] - + Prefill iteration 5/10
|
| 39 |
+
[PROC-0][2024-10-25 15:08:57,495][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 40 |
+
[PROC-0][2024-10-25 15:08:57,496][energy_star][INFO] - + Prefill iteration 6/10
|
| 41 |
+
[PROC-0][2024-10-25 15:09:37,963][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 42 |
+
[PROC-0][2024-10-25 15:09:37,963][energy_star][INFO] - + Prefill iteration 7/10
|
| 43 |
+
[PROC-0][2024-10-25 15:10:18,490][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 44 |
+
[PROC-0][2024-10-25 15:10:18,490][energy_star][INFO] - + Prefill iteration 8/10
|
| 45 |
+
[PROC-0][2024-10-25 15:10:58,977][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 46 |
+
[PROC-0][2024-10-25 15:10:58,977][energy_star][INFO] - + Prefill iteration 9/10
|
| 47 |
+
[PROC-0][2024-10-25 15:11:39,444][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 48 |
+
[PROC-0][2024-10-25 15:11:39,444][energy_star][INFO] - + Prefill iteration 10/10
|
| 49 |
+
[PROC-0][2024-10-25 15:12:19,951][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
| 50 |
+
[PROC-0][2024-10-25 15:12:19,952][energy_star][INFO] - + Decoding iteration 1/10
|
| 51 |
+
[PROC-0][2024-10-25 15:15:31,612][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 52 |
+
[PROC-0][2024-10-25 15:15:31,612][energy_star][INFO] - + Decoding iteration 2/10
|
| 53 |
+
[PROC-0][2024-10-25 15:18:43,921][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 54 |
+
[PROC-0][2024-10-25 15:18:43,922][energy_star][INFO] - + Decoding iteration 3/10
|
| 55 |
+
[PROC-0][2024-10-25 15:21:56,526][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 56 |
+
[PROC-0][2024-10-25 15:21:56,527][energy_star][INFO] - + Decoding iteration 4/10
|
| 57 |
+
[PROC-0][2024-10-25 15:25:09,185][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 58 |
+
[PROC-0][2024-10-25 15:25:09,185][energy_star][INFO] - + Decoding iteration 5/10
|
| 59 |
+
[PROC-0][2024-10-25 15:28:21,146][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 60 |
+
[PROC-0][2024-10-25 15:28:21,146][energy_star][INFO] - + Decoding iteration 6/10
|
| 61 |
+
[PROC-0][2024-10-25 15:31:33,586][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 62 |
+
[PROC-0][2024-10-25 15:31:33,587][energy_star][INFO] - + Decoding iteration 7/10
|
| 63 |
+
[PROC-0][2024-10-25 15:34:46,964][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 64 |
+
[PROC-0][2024-10-25 15:34:46,964][energy_star][INFO] - + Decoding iteration 8/10
|
| 65 |
+
[PROC-0][2024-10-25 15:38:00,161][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 66 |
+
[PROC-0][2024-10-25 15:38:00,162][energy_star][INFO] - + Decoding iteration 9/10
|
| 67 |
+
[PROC-0][2024-10-25 15:41:12,108][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 68 |
+
[PROC-0][2024-10-25 15:41:12,108][energy_star][INFO] - + Decoding iteration 10/10
|
| 69 |
+
[PROC-0][2024-10-25 15:44:24,977][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
| 70 |
+
[PROC-0][2024-10-25 15:44:24,978][energy][INFO] - + prefill energy consumption:
|
| 71 |
+
[PROC-0][2024-10-25 15:44:24,978][energy][INFO] - + CPU: 0.000430 (kWh)
|
| 72 |
+
[PROC-0][2024-10-25 15:44:24,978][energy][INFO] - + GPU: 0.002792 (kWh)
|
| 73 |
+
[PROC-0][2024-10-25 15:44:24,978][energy][INFO] - + RAM: 0.000004 (kWh)
|
| 74 |
+
[PROC-0][2024-10-25 15:44:24,978][energy][INFO] - + total: 0.003226 (kWh)
|
| 75 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + prefill_iteration_1 energy consumption:
|
| 76 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + CPU: 0.000477 (kWh)
|
| 77 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + GPU: 0.003071 (kWh)
|
| 78 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 79 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + total: 0.003552 (kWh)
|
| 80 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + prefill_iteration_2 energy consumption:
|
| 81 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + CPU: 0.000476 (kWh)
|
| 82 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + GPU: 0.003082 (kWh)
|
| 83 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 84 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + total: 0.003562 (kWh)
|
| 85 |
+
[PROC-0][2024-10-25 15:44:24,979][energy][INFO] - + prefill_iteration_3 energy consumption:
|
| 86 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + CPU: 0.000476 (kWh)
|
| 87 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + GPU: 0.003105 (kWh)
|
| 88 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 89 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + total: 0.003586 (kWh)
|
| 90 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + prefill_iteration_4 energy consumption:
|
| 91 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + CPU: 0.000477 (kWh)
|
| 92 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + GPU: 0.003110 (kWh)
|
| 93 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 94 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + total: 0.003592 (kWh)
|
| 95 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + prefill_iteration_5 energy consumption:
|
| 96 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + CPU: 0.000477 (kWh)
|
| 97 |
+
[PROC-0][2024-10-25 15:44:24,980][energy][INFO] - + GPU: 0.003105 (kWh)
|
| 98 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 99 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + total: 0.003587 (kWh)
|
| 100 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + prefill_iteration_6 energy consumption:
|
| 101 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + CPU: 0.000478 (kWh)
|
| 102 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + GPU: 0.003112 (kWh)
|
| 103 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 104 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + total: 0.003594 (kWh)
|
| 105 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + prefill_iteration_7 energy consumption:
|
| 106 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + CPU: 0.000000 (kWh)
|
| 107 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + GPU: 0.000000 (kWh)
|
| 108 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 109 |
+
[PROC-0][2024-10-25 15:44:24,981][energy][INFO] - + total: 0.000000 (kWh)
|
| 110 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + prefill_iteration_8 energy consumption:
|
| 111 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + CPU: 0.000478 (kWh)
|
| 112 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + GPU: 0.003114 (kWh)
|
| 113 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 114 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + total: 0.003597 (kWh)
|
| 115 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + prefill_iteration_9 energy consumption:
|
| 116 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + CPU: 0.000478 (kWh)
|
| 117 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + GPU: 0.003106 (kWh)
|
| 118 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 119 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + total: 0.003588 (kWh)
|
| 120 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + prefill_iteration_10 energy consumption:
|
| 121 |
+
[PROC-0][2024-10-25 15:44:24,982][energy][INFO] - + CPU: 0.000478 (kWh)
|
| 122 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + GPU: 0.003122 (kWh)
|
| 123 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + RAM: 0.000005 (kWh)
|
| 124 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + total: 0.003604 (kWh)
|
| 125 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + decode energy consumption:
|
| 126 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + CPU: 0.001616 (kWh)
|
| 127 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + GPU: 0.005068 (kWh)
|
| 128 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + RAM: 0.000016 (kWh)
|
| 129 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + total: 0.006700 (kWh)
|
| 130 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + decode_iteration_1 energy consumption:
|
| 131 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + CPU: 0.001786 (kWh)
|
| 132 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + GPU: 0.005727 (kWh)
|
| 133 |
+
[PROC-0][2024-10-25 15:44:24,983][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 134 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + total: 0.007530 (kWh)
|
| 135 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + decode_iteration_2 energy consumption:
|
| 136 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + CPU: 0.001794 (kWh)
|
| 137 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + GPU: 0.005639 (kWh)
|
| 138 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 139 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + total: 0.007451 (kWh)
|
| 140 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + decode_iteration_3 energy consumption:
|
| 141 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + CPU: 0.001798 (kWh)
|
| 142 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + GPU: 0.005618 (kWh)
|
| 143 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 144 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + total: 0.007433 (kWh)
|
| 145 |
+
[PROC-0][2024-10-25 15:44:24,984][energy][INFO] - + decode_iteration_4 energy consumption:
|
| 146 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + CPU: 0.001797 (kWh)
|
| 147 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + GPU: 0.005606 (kWh)
|
| 148 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 149 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + total: 0.007421 (kWh)
|
| 150 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + decode_iteration_5 energy consumption:
|
| 151 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + CPU: -0.000477 (kWh)
|
| 152 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + GPU: -0.003105 (kWh)
|
| 153 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + RAM: -0.000005 (kWh)
|
| 154 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + total: -0.003587 (kWh)
|
| 155 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + decode_iteration_6 energy consumption:
|
| 156 |
+
[PROC-0][2024-10-25 15:44:24,985][energy][INFO] - + CPU: 0.001794 (kWh)
|
| 157 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + GPU: 0.005613 (kWh)
|
| 158 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 159 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + total: 0.007425 (kWh)
|
| 160 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + decode_iteration_7 energy consumption:
|
| 161 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + CPU: 0.002283 (kWh)
|
| 162 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + GPU: 0.008738 (kWh)
|
| 163 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + RAM: 0.000022 (kWh)
|
| 164 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + total: 0.011043 (kWh)
|
| 165 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + decode_iteration_8 energy consumption:
|
| 166 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + CPU: 0.001803 (kWh)
|
| 167 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + GPU: 0.005623 (kWh)
|
| 168 |
+
[PROC-0][2024-10-25 15:44:24,986][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 169 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + total: 0.007443 (kWh)
|
| 170 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + decode_iteration_9 energy consumption:
|
| 171 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + CPU: 0.001788 (kWh)
|
| 172 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + GPU: 0.005605 (kWh)
|
| 173 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 174 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + total: 0.007411 (kWh)
|
| 175 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + decode_iteration_10 energy consumption:
|
| 176 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + CPU: 0.001799 (kWh)
|
| 177 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + GPU: 0.005614 (kWh)
|
| 178 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + RAM: 0.000018 (kWh)
|
| 179 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + total: 0.007430 (kWh)
|
| 180 |
+
[PROC-0][2024-10-25 15:44:24,987][energy][INFO] - + preprocess energy consumption:
|
| 181 |
+
[PROC-0][2024-10-25 15:44:24,988][energy][INFO] - + CPU: 0.000010 (kWh)
|
| 182 |
+
[PROC-0][2024-10-25 15:44:24,988][energy][INFO] - + GPU: 0.000018 (kWh)
|
| 183 |
+
[PROC-0][2024-10-25 15:44:24,988][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 184 |
+
[PROC-0][2024-10-25 15:44:24,988][energy][INFO] - + total: 0.000029 (kWh)
|
| 185 |
+
[PROC-0][2024-10-25 15:44:24,988][energy][INFO] - + prefill energy efficiency: 77907728.203217 (tokens/kWh)
|
| 186 |
+
[PROC-0][2024-10-25 15:44:24,988][energy][INFO] - + decode energy efficiency: 1343266.704857 (tokens/kWh)
|
| 187 |
+
[PROC-0][2024-10-25 15:44:24,988][energy][INFO] - + preprocess energy efficiency: 34837547.665173 (samples/kWh)
|
| 188 |
+
[2024-10-25 15:44:25,707][datasets][INFO] - PyTorch version 2.4.0 available.
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/error.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/experiment_config.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_generation",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"model": "openai-community/gpt2-large",
|
| 9 |
+
"processor": "openai-community/gpt2-large",
|
| 10 |
+
"library": "transformers",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"hub_kwargs": {
|
| 17 |
+
"revision": "main",
|
| 18 |
+
"force_download": false,
|
| 19 |
+
"local_files_only": false,
|
| 20 |
+
"trust_remote_code": true
|
| 21 |
+
},
|
| 22 |
+
"no_weights": true,
|
| 23 |
+
"device_map": null,
|
| 24 |
+
"torch_dtype": null,
|
| 25 |
+
"amp_autocast": false,
|
| 26 |
+
"amp_dtype": null,
|
| 27 |
+
"eval_mode": true,
|
| 28 |
+
"to_bettertransformer": false,
|
| 29 |
+
"low_cpu_mem_usage": null,
|
| 30 |
+
"attn_implementation": null,
|
| 31 |
+
"cache_implementation": null,
|
| 32 |
+
"torch_compile": false,
|
| 33 |
+
"torch_compile_config": {},
|
| 34 |
+
"quantization_scheme": null,
|
| 35 |
+
"quantization_config": {},
|
| 36 |
+
"deepspeed_inference": false,
|
| 37 |
+
"deepspeed_inference_config": {},
|
| 38 |
+
"peft_type": null,
|
| 39 |
+
"peft_config": {}
|
| 40 |
+
},
|
| 41 |
+
"launcher": {
|
| 42 |
+
"name": "process",
|
| 43 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 44 |
+
"device_isolation": false,
|
| 45 |
+
"device_isolation_action": "warn",
|
| 46 |
+
"start_method": "spawn"
|
| 47 |
+
},
|
| 48 |
+
"benchmark": {
|
| 49 |
+
"name": "energy_star",
|
| 50 |
+
"_target_": "optimum_benchmark.benchmarks.energy_star.benchmark.EnergyStarBenchmark",
|
| 51 |
+
"dataset_name": "EnergyStarAI/text_generation",
|
| 52 |
+
"dataset_config": "",
|
| 53 |
+
"dataset_split": "train",
|
| 54 |
+
"num_samples": 1000,
|
| 55 |
+
"input_shapes": {
|
| 56 |
+
"batch_size": 1
|
| 57 |
+
},
|
| 58 |
+
"text_column_name": "text",
|
| 59 |
+
"truncation": true,
|
| 60 |
+
"max_length": -1,
|
| 61 |
+
"dataset_prefix1": "",
|
| 62 |
+
"dataset_prefix2": "",
|
| 63 |
+
"t5_task": "",
|
| 64 |
+
"image_column_name": "image",
|
| 65 |
+
"resize": false,
|
| 66 |
+
"question_column_name": "question",
|
| 67 |
+
"context_column_name": "context",
|
| 68 |
+
"sentence1_column_name": "sentence1",
|
| 69 |
+
"sentence2_column_name": "sentence2",
|
| 70 |
+
"audio_column_name": "audio",
|
| 71 |
+
"iterations": 10,
|
| 72 |
+
"warmup_runs": 10,
|
| 73 |
+
"energy": true,
|
| 74 |
+
"forward_kwargs": {},
|
| 75 |
+
"generate_kwargs": {
|
| 76 |
+
"max_new_tokens": 10,
|
| 77 |
+
"min_new_tokens": 10
|
| 78 |
+
},
|
| 79 |
+
"call_kwargs": {}
|
| 80 |
+
},
|
| 81 |
+
"environment": {
|
| 82 |
+
"cpu": " AMD EPYC 7R32",
|
| 83 |
+
"cpu_count": 48,
|
| 84 |
+
"cpu_ram_mb": 200472.73984,
|
| 85 |
+
"system": "Linux",
|
| 86 |
+
"machine": "x86_64",
|
| 87 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 88 |
+
"processor": "x86_64",
|
| 89 |
+
"python_version": "3.9.20",
|
| 90 |
+
"gpu": [
|
| 91 |
+
"NVIDIA A10G"
|
| 92 |
+
],
|
| 93 |
+
"gpu_count": 1,
|
| 94 |
+
"gpu_vram_mb": 24146608128,
|
| 95 |
+
"optimum_benchmark_version": "0.2.0",
|
| 96 |
+
"optimum_benchmark_commit": null,
|
| 97 |
+
"transformers_version": "4.44.0",
|
| 98 |
+
"transformers_commit": null,
|
| 99 |
+
"accelerate_version": "0.33.0",
|
| 100 |
+
"accelerate_commit": null,
|
| 101 |
+
"diffusers_version": "0.30.0",
|
| 102 |
+
"diffusers_commit": null,
|
| 103 |
+
"optimum_version": null,
|
| 104 |
+
"optimum_commit": null,
|
| 105 |
+
"timm_version": null,
|
| 106 |
+
"timm_commit": null,
|
| 107 |
+
"peft_version": null,
|
| 108 |
+
"peft_commit": null
|
| 109 |
+
}
|
| 110 |
+
}
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/generate_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-25T15:44:24",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "e4243e0d-df87-44ee-aaf5-8b066e4079be",
|
| 5 |
+
"duration": -1729590803.4208233,
|
| 6 |
+
"emissions": 0.004073229760285325,
|
| 7 |
+
"emissions_rate": 2.1119490268700117e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 163.0529485498306,
|
| 10 |
+
"ram_power": 0.4181857109069824,
|
| 11 |
+
"cpu_energy": 0.002276923458519861,
|
| 12 |
+
"gpu_energy": 0.008735217821501884,
|
| 13 |
+
"ram_energy": 2.240333096801742e-05,
|
| 14 |
+
"energy_consumed": 0.011034544610989766,
|
| 15 |
+
"country_name": "United States",
|
| 16 |
+
"country_iso_code": "USA",
|
| 17 |
+
"region": "virginia",
|
| 18 |
+
"cloud_provider": "",
|
| 19 |
+
"cloud_region": "",
|
| 20 |
+
"os": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 21 |
+
"python_version": "3.9.20",
|
| 22 |
+
"codecarbon_version": "2.5.1",
|
| 23 |
+
"cpu_count": 48,
|
| 24 |
+
"cpu_model": "AMD EPYC 7R32",
|
| 25 |
+
"gpu_count": 1,
|
| 26 |
+
"gpu_model": "1 x NVIDIA A10G",
|
| 27 |
+
"longitude": -77.4903,
|
| 28 |
+
"latitude": 39.0469,
|
| 29 |
+
"ram_total_size": 186.7047882080078,
|
| 30 |
+
"tracking_mode": "process",
|
| 31 |
+
"on_cloud": "N",
|
| 32 |
+
"pue": 1.0
|
| 33 |
+
}
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/prefill_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-25T15:12:19",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "e4243e0d-df87-44ee-aaf5-8b066e4079be",
|
| 5 |
+
"duration": -1729590955.782403,
|
| 6 |
+
"emissions": 0.001330520448739934,
|
| 7 |
+
"emissions_rate": 3.284884212435003e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 277.45042609856483,
|
| 10 |
+
"ram_power": 0.41797542572021484,
|
| 11 |
+
"cpu_energy": 0.00047820389319858797,
|
| 12 |
+
"gpu_energy": 0.0031215274972202778,
|
| 13 |
+
"ram_energy": 4.702464652077899e-06,
|
| 14 |
+
"energy_consumed": 0.0036044338550709418,
|
| 15 |
+
"country_name": "United States",
|
| 16 |
+
"country_iso_code": "USA",
|
| 17 |
+
"region": "virginia",
|
| 18 |
+
"cloud_provider": "",
|
| 19 |
+
"cloud_region": "",
|
| 20 |
+
"os": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 21 |
+
"python_version": "3.9.20",
|
| 22 |
+
"codecarbon_version": "2.5.1",
|
| 23 |
+
"cpu_count": 48,
|
| 24 |
+
"cpu_model": "AMD EPYC 7R32",
|
| 25 |
+
"gpu_count": 1,
|
| 26 |
+
"gpu_model": "1 x NVIDIA A10G",
|
| 27 |
+
"longitude": -77.4903,
|
| 28 |
+
"latitude": 39.0469,
|
| 29 |
+
"ram_total_size": 186.7047882080078,
|
| 30 |
+
"tracking_mode": "process",
|
| 31 |
+
"on_cloud": "N",
|
| 32 |
+
"pue": 1.0
|
| 33 |
+
}
|
text_generation/openai-community/gpt2-large/2024-10-25-15-05-20/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-25T15:05:34",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "e4243e0d-df87-44ee-aaf5-8b066e4079be",
|
| 5 |
+
"duration": -1729590995.4052339,
|
| 6 |
+
"emissions": 1.059587722530091e-05,
|
| 7 |
+
"emissions_rate": 1.2018578689230604e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 74.34211928093428,
|
| 10 |
+
"ram_power": 0.28699636459350586,
|
| 11 |
+
"cpu_energy": 1.0432217698123875e-05,
|
| 12 |
+
"gpu_energy": 1.8202236783837478e-05,
|
| 13 |
+
"ram_energy": 7.020663859453463e-08,
|
| 14 |
+
"energy_consumed": 2.870466112055589e-05,
|
| 15 |
+
"country_name": "United States",
|
| 16 |
+
"country_iso_code": "USA",
|
| 17 |
+
"region": "virginia",
|
| 18 |
+
"cloud_provider": "",
|
| 19 |
+
"cloud_region": "",
|
| 20 |
+
"os": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 21 |
+
"python_version": "3.9.20",
|
| 22 |
+
"codecarbon_version": "2.5.1",
|
| 23 |
+
"cpu_count": 48,
|
| 24 |
+
"cpu_model": "AMD EPYC 7R32",
|
| 25 |
+
"gpu_count": 1,
|
| 26 |
+
"gpu_model": "1 x NVIDIA A10G",
|
| 27 |
+
"longitude": -77.4903,
|
| 28 |
+
"latitude": 39.0469,
|
| 29 |
+
"ram_total_size": 186.7047882080078,
|
| 30 |
+
"tracking_mode": "process",
|
| 31 |
+
"on_cloud": "N",
|
| 32 |
+
"pue": 1.0
|
| 33 |
+
}
|