Upload folder using huggingface_hub
Browse files- cli.log +0 -31
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/.hydra/config.yaml +96 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/.hydra/hydra.yaml +175 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/.hydra/overrides.yaml +2 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/benchmark_report.json +203 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/cli.log +188 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/error.log +0 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/experiment_config.json +110 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/generate_codecarbon.json +33 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/prefill_codecarbon.json +33 -0
- text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/preprocess_codecarbon.json +33 -0
cli.log
CHANGED
@@ -1,31 +0,0 @@
|
|
1 |
-
[2024-10-07 19:58:01,182][launcher][INFO] - ََAllocating process launcher
|
2 |
-
[2024-10-07 19:58:01,182][process][INFO] - + Setting multiprocessing start method to spawn.
|
3 |
-
[2024-10-07 19:58:01,192][device-isolation][INFO] - + Launched device(s) isolation process 179
|
4 |
-
[2024-10-07 19:58:01,193][device-isolation][INFO] - + Isolating device(s) [0]
|
5 |
-
[2024-10-07 19:58:01,198][process][INFO] - + Launched benchmark in isolated process 180.
|
6 |
-
[PROC-0][2024-10-07 19:58:03,909][datasets][INFO] - PyTorch version 2.4.0 available.
|
7 |
-
[PROC-0][2024-10-07 19:58:04,829][backend][INFO] - َAllocating pytorch backend
|
8 |
-
[PROC-0][2024-10-07 19:58:04,829][backend][INFO] - + Setting random seed to 42
|
9 |
-
[PROC-0][2024-10-07 19:58:05,609][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
10 |
-
[PROC-0][2024-10-07 19:58:05,609][pytorch][INFO] - + Creating backend temporary directory
|
11 |
-
[PROC-0][2024-10-07 19:58:05,609][pytorch][INFO] - + Loading model with random weights
|
12 |
-
[PROC-0][2024-10-07 19:58:05,609][pytorch][INFO] - + Creating no weights model
|
13 |
-
[PROC-0][2024-10-07 19:58:05,610][pytorch][INFO] - + Creating no weights model directory
|
14 |
-
[PROC-0][2024-10-07 19:58:05,610][pytorch][INFO] - + Creating no weights model state dict
|
15 |
-
[PROC-0][2024-10-07 19:58:05,612][pytorch][INFO] - + Saving no weights model safetensors
|
16 |
-
[PROC-0][2024-10-07 19:58:05,612][pytorch][INFO] - + Saving no weights model pretrained config
|
17 |
-
[PROC-0][2024-10-07 19:58:05,613][pytorch][INFO] - + Loading no weights AutoModel
|
18 |
-
[PROC-0][2024-10-07 19:58:05,613][pytorch][INFO] - + Loading model directly on device: cuda
|
19 |
-
[PROC-0][2024-10-07 19:58:05,781][pytorch][INFO] - + Turning on model's eval mode
|
20 |
-
[PROC-0][2024-10-07 19:58:05,787][benchmark][INFO] - Allocating energy_star benchmark
|
21 |
-
[PROC-0][2024-10-07 19:58:05,787][energy_star][INFO] - + Loading raw dataset
|
22 |
-
[PROC-0][2024-10-07 19:58:06,658][energy_star][INFO] - + Initializing Inference report
|
23 |
-
[PROC-0][2024-10-07 19:58:06,658][energy][INFO] - + Tracking GPU energy on devices [0]
|
24 |
-
[PROC-0][2024-10-07 19:58:10,834][energy_star][INFO] - + Preprocessing dataset
|
25 |
-
[PROC-0][2024-10-07 19:58:11,242][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
26 |
-
[PROC-0][2024-10-07 19:58:11,243][energy_star][INFO] - + Preparing backend for Inference
|
27 |
-
[PROC-0][2024-10-07 19:58:11,243][energy_star][INFO] - + Initialising dataloader
|
28 |
-
[PROC-0][2024-10-07 19:58:11,243][energy_star][INFO] - + Warming up backend for Inference
|
29 |
-
[PROC-0][2024-10-07 19:58:11,751][energy_star][INFO] - + Running Inference energy tracking for 10 iterations
|
30 |
-
[PROC-0][2024-10-07 19:58:11,751][energy_star][INFO] - + Iteration 1/10
|
31 |
-
[2024-10-07 19:58:12,540][experiment][ERROR] - Error during experiment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/.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: HuggingFaceTB/SmolLM-135M
|
7 |
+
processor: HuggingFaceTB/SmolLM-135M
|
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/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: ./runs/text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15
|
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/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15
|
122 |
+
- hydra.mode=RUN
|
123 |
+
task:
|
124 |
+
- backend.model=HuggingFaceTB/SmolLM-135M
|
125 |
+
- backend.processor=HuggingFaceTB/SmolLM-135M
|
126 |
+
job:
|
127 |
+
name: cli
|
128 |
+
chdir: true
|
129 |
+
override_dirname: backend.model=HuggingFaceTB/SmolLM-135M,backend.processor=HuggingFaceTB/SmolLM-135M
|
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/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15
|
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/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
- backend.model=HuggingFaceTB/SmolLM-135M
|
2 |
+
- backend.processor=HuggingFaceTB/SmolLM-135M
|
text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/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.00028216661832921095,
|
9 |
+
"ram": 2.878352463094162e-06,
|
10 |
+
"gpu": 0.0011204146741087939,
|
11 |
+
"total": 0.001405459644901099
|
12 |
+
},
|
13 |
+
"efficiency": {
|
14 |
+
"unit": "tokens/kWh",
|
15 |
+
"value": 218923397.1364946
|
16 |
+
},
|
17 |
+
"measures": [
|
18 |
+
{
|
19 |
+
"unit": "kWh",
|
20 |
+
"cpu": 0.00031336019538074554,
|
21 |
+
"ram": 3.1952333195117534e-06,
|
22 |
+
"gpu": 0.00122852237170612,
|
23 |
+
"total": 0.0015450778004063774
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"unit": "kWh",
|
27 |
+
"cpu": 0.00031393739547250644,
|
28 |
+
"ram": 3.202335114385519e-06,
|
29 |
+
"gpu": 0.0012359929332390607,
|
30 |
+
"total": 0.001553132663825953
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"unit": "kWh",
|
34 |
+
"cpu": 0.0003159219112732292,
|
35 |
+
"ram": 3.222888771863899e-06,
|
36 |
+
"gpu": 0.0012393301581283822,
|
37 |
+
"total": 0.0015584749581734753
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"unit": "kWh",
|
41 |
+
"cpu": 0.0003150893582905055,
|
42 |
+
"ram": 3.2143926946747804e-06,
|
43 |
+
"gpu": 0.0012481104429333811,
|
44 |
+
"total": 0.0015664141939185612
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"unit": "kWh",
|
48 |
+
"cpu": 0.0003144043295370163,
|
49 |
+
"ram": 3.207396461775205e-06,
|
50 |
+
"gpu": 0.001258061839781277,
|
51 |
+
"total": 0.0015756735657800683
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"unit": "kWh",
|
55 |
+
"cpu": 0.0003145929484800339,
|
56 |
+
"ram": 3.2093337072112605e-06,
|
57 |
+
"gpu": 0.0012565132274318103,
|
58 |
+
"total": 0.001574315509619055
|
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.00031270235966302526,
|
70 |
+
"ram": 3.190109472312273e-06,
|
71 |
+
"gpu": 0.0012584437845308827,
|
72 |
+
"total": 0.001574336253666219
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"unit": "kWh",
|
76 |
+
"cpu": 0.0003087726142439349,
|
77 |
+
"ram": 3.149867500644629e-06,
|
78 |
+
"gpu": 0.0012466090528420182,
|
79 |
+
"total": 0.001558531534586599
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"unit": "kWh",
|
83 |
+
"cpu": 0.00031288507095111233,
|
84 |
+
"ram": 3.1919675885623027e-06,
|
85 |
+
"gpu": 0.001232562930495007,
|
86 |
+
"total": 0.0015486399690346833
|
87 |
+
}
|
88 |
+
]
|
89 |
+
},
|
90 |
+
"decode": {
|
91 |
+
"memory": null,
|
92 |
+
"latency": null,
|
93 |
+
"throughput": null,
|
94 |
+
"energy": {
|
95 |
+
"unit": "kWh",
|
96 |
+
"cpu": 0.0020209151121617142,
|
97 |
+
"ram": 2.0623012510417966e-05,
|
98 |
+
"gpu": 0.004044847485875458,
|
99 |
+
"total": 0.00608638561054759
|
100 |
+
},
|
101 |
+
"efficiency": {
|
102 |
+
"unit": "tokens/kWh",
|
103 |
+
"value": 1478710.1205686298
|
104 |
+
},
|
105 |
+
"measures": [
|
106 |
+
{
|
107 |
+
"unit": "kWh",
|
108 |
+
"cpu": 0.002228578082469823,
|
109 |
+
"ram": 2.2743844645549306e-05,
|
110 |
+
"gpu": 0.004435512992850832,
|
111 |
+
"total": 0.006686834919966205
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"unit": "kWh",
|
115 |
+
"cpu": 0.0022643340706578674,
|
116 |
+
"ram": 2.3107646810448203e-05,
|
117 |
+
"gpu": 0.004506180549384453,
|
118 |
+
"total": 0.00679362226685277
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"unit": "kWh",
|
122 |
+
"cpu": 0.002240564864718504,
|
123 |
+
"ram": 2.2864817856105112e-05,
|
124 |
+
"gpu": 0.004480500528844189,
|
125 |
+
"total": 0.006743930211418801
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"unit": "kWh",
|
129 |
+
"cpu": 0.002231354974089644,
|
130 |
+
"ram": 2.277091024922105e-05,
|
131 |
+
"gpu": 0.0044298010438375,
|
132 |
+
"total": 0.0066839269281763645
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"unit": "kWh",
|
136 |
+
"cpu": -0.0003144043295370163,
|
137 |
+
"ram": -3.207396461775205e-06,
|
138 |
+
"gpu": -0.001258061839781277,
|
139 |
+
"total": -0.0015756735657800683
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"unit": "kWh",
|
143 |
+
"cpu": 0.0022437327763739938,
|
144 |
+
"ram": 2.2895809829293018e-05,
|
145 |
+
"gpu": 0.004527934455678562,
|
146 |
+
"total": 0.006794563041881842
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"unit": "kWh",
|
150 |
+
"cpu": 0.0025504533577234215,
|
151 |
+
"ram": 2.6025299423921498e-05,
|
152 |
+
"gpu": 0.00576570933478493,
|
153 |
+
"total": 0.008342187991932273
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"unit": "kWh",
|
157 |
+
"cpu": 0.0022642733620749727,
|
158 |
+
"ram": 2.3105812715842442e-05,
|
159 |
+
"gpu": 0.004556943645553702,
|
160 |
+
"total": 0.006844322820344518
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"unit": "kWh",
|
164 |
+
"cpu": 0.0022470556892481295,
|
165 |
+
"ram": 2.2930371845914078e-05,
|
166 |
+
"gpu": 0.004533760849227519,
|
167 |
+
"total": 0.006803746910321554
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"unit": "kWh",
|
171 |
+
"cpu": 0.0022532082737978065,
|
172 |
+
"ram": 2.299300818966014e-05,
|
173 |
+
"gpu": 0.00447019329837417,
|
174 |
+
"total": 0.00674639458036163
|
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.0718486329682895e-05,
|
193 |
+
"ram": 7.992339706452299e-08,
|
194 |
+
"gpu": 1.7620569652265772e-05,
|
195 |
+
"total": 2.841897937901319e-05
|
196 |
+
},
|
197 |
+
"efficiency": {
|
198 |
+
"unit": "samples/kWh",
|
199 |
+
"value": 35187752.05342098
|
200 |
+
},
|
201 |
+
"measures": null
|
202 |
+
}
|
203 |
+
}
|
text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/cli.log
ADDED
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2024-10-23 19:09:18,036][launcher][INFO] - ََAllocating process launcher
|
2 |
+
[2024-10-23 19:09:18,036][process][INFO] - + Setting multiprocessing start method to spawn.
|
3 |
+
[2024-10-23 19:09:18,048][process][INFO] - + Launched benchmark in isolated process 200.
|
4 |
+
[PROC-0][2024-10-23 19:09:20,588][datasets][INFO] - PyTorch version 2.4.0 available.
|
5 |
+
[PROC-0][2024-10-23 19:09:21,586][backend][INFO] - َAllocating pytorch backend
|
6 |
+
[PROC-0][2024-10-23 19:09:21,586][backend][INFO] - + Setting random seed to 42
|
7 |
+
[PROC-0][2024-10-23 19:09:22,339][pytorch][INFO] - + Using AutoModel class AutoModelForCausalLM
|
8 |
+
[PROC-0][2024-10-23 19:09:22,339][pytorch][INFO] - + Creating backend temporary directory
|
9 |
+
[PROC-0][2024-10-23 19:09:22,339][pytorch][INFO] - + Loading model with random weights
|
10 |
+
[PROC-0][2024-10-23 19:09:22,339][pytorch][INFO] - + Creating no weights model
|
11 |
+
[PROC-0][2024-10-23 19:09:22,339][pytorch][INFO] - + Creating no weights model directory
|
12 |
+
[PROC-0][2024-10-23 19:09:22,339][pytorch][INFO] - + Creating no weights model state dict
|
13 |
+
[PROC-0][2024-10-23 19:09:22,362][pytorch][INFO] - + Saving no weights model safetensors
|
14 |
+
[PROC-0][2024-10-23 19:09:22,362][pytorch][INFO] - + Saving no weights model pretrained config
|
15 |
+
[PROC-0][2024-10-23 19:09:22,363][pytorch][INFO] - + Loading no weights AutoModel
|
16 |
+
[PROC-0][2024-10-23 19:09:22,363][pytorch][INFO] - + Loading model directly on device: cuda
|
17 |
+
[PROC-0][2024-10-23 19:09:22,632][pytorch][INFO] - + Turning on model's eval mode
|
18 |
+
[PROC-0][2024-10-23 19:09:22,639][benchmark][INFO] - Allocating energy_star benchmark
|
19 |
+
[PROC-0][2024-10-23 19:09:22,639][energy_star][INFO] - + Loading raw dataset
|
20 |
+
[PROC-0][2024-10-23 19:09:23,925][energy_star][INFO] - + Updating Text Generation kwargs with default values
|
21 |
+
[PROC-0][2024-10-23 19:09:23,925][energy_star][INFO] - + Initializing Text Generation report
|
22 |
+
[PROC-0][2024-10-23 19:09:23,925][energy][INFO] - + Tracking GPU energy on devices [0]
|
23 |
+
[PROC-0][2024-10-23 19:09:28,124][energy_star][INFO] - + Preprocessing dataset
|
24 |
+
[PROC-0][2024-10-23 19:09:29,033][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
25 |
+
[PROC-0][2024-10-23 19:09:29,034][energy_star][INFO] - + Preparing backend for Inference
|
26 |
+
[PROC-0][2024-10-23 19:09:29,034][energy_star][INFO] - + Initialising dataloader
|
27 |
+
[PROC-0][2024-10-23 19:09:29,034][energy_star][INFO] - + Warming up backend for Inference
|
28 |
+
[PROC-0][2024-10-23 19:09:30,243][energy_star][INFO] - + Additional warmup for Text Generation
|
29 |
+
[PROC-0][2024-10-23 19:09:30,452][energy_star][INFO] - + Running Text Generation energy tracking for 10 iterations
|
30 |
+
[PROC-0][2024-10-23 19:09:30,452][energy_star][INFO] - + Prefill iteration 1/10
|
31 |
+
[PROC-0][2024-10-23 19:09:56,997][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
32 |
+
[PROC-0][2024-10-23 19:09:56,997][energy_star][INFO] - + Prefill iteration 2/10
|
33 |
+
[PROC-0][2024-10-23 19:10:23,590][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
34 |
+
[PROC-0][2024-10-23 19:10:23,590][energy_star][INFO] - + Prefill iteration 3/10
|
35 |
+
[PROC-0][2024-10-23 19:10:50,351][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
36 |
+
[PROC-0][2024-10-23 19:10:50,352][energy_star][INFO] - + Prefill iteration 4/10
|
37 |
+
[PROC-0][2024-10-23 19:11:17,042][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
38 |
+
[PROC-0][2024-10-23 19:11:17,043][energy_star][INFO] - + Prefill iteration 5/10
|
39 |
+
[PROC-0][2024-10-23 19:11:43,675][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
40 |
+
[PROC-0][2024-10-23 19:11:43,676][energy_star][INFO] - + Prefill iteration 6/10
|
41 |
+
[PROC-0][2024-10-23 19:12:10,324][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
42 |
+
[PROC-0][2024-10-23 19:12:10,324][energy_star][INFO] - + Prefill iteration 7/10
|
43 |
+
[PROC-0][2024-10-23 19:12:36,878][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
44 |
+
[PROC-0][2024-10-23 19:12:36,878][energy_star][INFO] - + Prefill iteration 8/10
|
45 |
+
[PROC-0][2024-10-23 19:13:03,366][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
46 |
+
[PROC-0][2024-10-23 19:13:03,367][energy_star][INFO] - + Prefill iteration 9/10
|
47 |
+
[PROC-0][2024-10-23 19:13:29,522][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
48 |
+
[PROC-0][2024-10-23 19:13:29,523][energy_star][INFO] - + Prefill iteration 10/10
|
49 |
+
[PROC-0][2024-10-23 19:13:56,027][energy][INFO] - + Saving codecarbon emission data to prefill_codecarbon.json
|
50 |
+
[PROC-0][2024-10-23 19:13:56,027][energy_star][INFO] - + Decoding iteration 1/10
|
51 |
+
[PROC-0][2024-10-23 19:17:31,345][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
52 |
+
[PROC-0][2024-10-23 19:17:31,345][energy_star][INFO] - + Decoding iteration 2/10
|
53 |
+
[PROC-0][2024-10-23 19:21:09,741][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
54 |
+
[PROC-0][2024-10-23 19:21:09,741][energy_star][INFO] - + Decoding iteration 3/10
|
55 |
+
[PROC-0][2024-10-23 19:24:46,291][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
56 |
+
[PROC-0][2024-10-23 19:24:46,292][energy_star][INFO] - + Decoding iteration 4/10
|
57 |
+
[PROC-0][2024-10-23 19:28:21,991][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
58 |
+
[PROC-0][2024-10-23 19:28:21,991][energy_star][INFO] - + Decoding iteration 5/10
|
59 |
+
[PROC-0][2024-10-23 19:31:58,797][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
60 |
+
[PROC-0][2024-10-23 19:31:58,797][energy_star][INFO] - + Decoding iteration 6/10
|
61 |
+
[PROC-0][2024-10-23 19:35:35,503][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
62 |
+
[PROC-0][2024-10-23 19:35:35,503][energy_star][INFO] - + Decoding iteration 7/10
|
63 |
+
[PROC-0][2024-10-23 19:39:11,542][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
64 |
+
[PROC-0][2024-10-23 19:39:11,543][energy_star][INFO] - + Decoding iteration 8/10
|
65 |
+
[PROC-0][2024-10-23 19:42:49,828][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
66 |
+
[PROC-0][2024-10-23 19:42:49,829][energy_star][INFO] - + Decoding iteration 9/10
|
67 |
+
[PROC-0][2024-10-23 19:46:26,323][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
68 |
+
[PROC-0][2024-10-23 19:46:26,323][energy_star][INFO] - + Decoding iteration 10/10
|
69 |
+
[PROC-0][2024-10-23 19:50:03,687][energy][INFO] - + Saving codecarbon emission data to generate_codecarbon.json
|
70 |
+
[PROC-0][2024-10-23 19:50:03,688][energy][INFO] - + prefill energy consumption:
|
71 |
+
[PROC-0][2024-10-23 19:50:03,688][energy][INFO] - + CPU: 0.000282 (kWh)
|
72 |
+
[PROC-0][2024-10-23 19:50:03,688][energy][INFO] - + GPU: 0.001120 (kWh)
|
73 |
+
[PROC-0][2024-10-23 19:50:03,688][energy][INFO] - + RAM: 0.000003 (kWh)
|
74 |
+
[PROC-0][2024-10-23 19:50:03,688][energy][INFO] - + total: 0.001405 (kWh)
|
75 |
+
[PROC-0][2024-10-23 19:50:03,688][energy][INFO] - + prefill_iteration_1 energy consumption:
|
76 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + CPU: 0.000313 (kWh)
|
77 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + GPU: 0.001229 (kWh)
|
78 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + RAM: 0.000003 (kWh)
|
79 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + total: 0.001545 (kWh)
|
80 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + prefill_iteration_2 energy consumption:
|
81 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + CPU: 0.000314 (kWh)
|
82 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + GPU: 0.001236 (kWh)
|
83 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + RAM: 0.000003 (kWh)
|
84 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + total: 0.001553 (kWh)
|
85 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + prefill_iteration_3 energy consumption:
|
86 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + CPU: 0.000316 (kWh)
|
87 |
+
[PROC-0][2024-10-23 19:50:03,689][energy][INFO] - + GPU: 0.001239 (kWh)
|
88 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + RAM: 0.000003 (kWh)
|
89 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + total: 0.001558 (kWh)
|
90 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + prefill_iteration_4 energy consumption:
|
91 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + CPU: 0.000315 (kWh)
|
92 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + GPU: 0.001248 (kWh)
|
93 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + RAM: 0.000003 (kWh)
|
94 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + total: 0.001566 (kWh)
|
95 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + prefill_iteration_5 energy consumption:
|
96 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + CPU: 0.000314 (kWh)
|
97 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + GPU: 0.001258 (kWh)
|
98 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + RAM: 0.000003 (kWh)
|
99 |
+
[PROC-0][2024-10-23 19:50:03,690][energy][INFO] - + total: 0.001576 (kWh)
|
100 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + prefill_iteration_6 energy consumption:
|
101 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + CPU: 0.000315 (kWh)
|
102 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + GPU: 0.001257 (kWh)
|
103 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + RAM: 0.000003 (kWh)
|
104 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + total: 0.001574 (kWh)
|
105 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + prefill_iteration_7 energy consumption:
|
106 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + CPU: 0.000000 (kWh)
|
107 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + GPU: 0.000000 (kWh)
|
108 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + RAM: 0.000000 (kWh)
|
109 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + total: 0.000000 (kWh)
|
110 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + prefill_iteration_8 energy consumption:
|
111 |
+
[PROC-0][2024-10-23 19:50:03,691][energy][INFO] - + CPU: 0.000313 (kWh)
|
112 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + GPU: 0.001258 (kWh)
|
113 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + RAM: 0.000003 (kWh)
|
114 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + total: 0.001574 (kWh)
|
115 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + prefill_iteration_9 energy consumption:
|
116 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + CPU: 0.000309 (kWh)
|
117 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + GPU: 0.001247 (kWh)
|
118 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + RAM: 0.000003 (kWh)
|
119 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + total: 0.001559 (kWh)
|
120 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + prefill_iteration_10 energy consumption:
|
121 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + CPU: 0.000313 (kWh)
|
122 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + GPU: 0.001233 (kWh)
|
123 |
+
[PROC-0][2024-10-23 19:50:03,692][energy][INFO] - + RAM: 0.000003 (kWh)
|
124 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + total: 0.001549 (kWh)
|
125 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + decode energy consumption:
|
126 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + CPU: 0.002021 (kWh)
|
127 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + GPU: 0.004045 (kWh)
|
128 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + RAM: 0.000021 (kWh)
|
129 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + total: 0.006086 (kWh)
|
130 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + decode_iteration_1 energy consumption:
|
131 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + CPU: 0.002229 (kWh)
|
132 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + GPU: 0.004436 (kWh)
|
133 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + RAM: 0.000023 (kWh)
|
134 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + total: 0.006687 (kWh)
|
135 |
+
[PROC-0][2024-10-23 19:50:03,693][energy][INFO] - + decode_iteration_2 energy consumption:
|
136 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + CPU: 0.002264 (kWh)
|
137 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + GPU: 0.004506 (kWh)
|
138 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + RAM: 0.000023 (kWh)
|
139 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + total: 0.006794 (kWh)
|
140 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + decode_iteration_3 energy consumption:
|
141 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + CPU: 0.002241 (kWh)
|
142 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + GPU: 0.004481 (kWh)
|
143 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + RAM: 0.000023 (kWh)
|
144 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + total: 0.006744 (kWh)
|
145 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + decode_iteration_4 energy consumption:
|
146 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + CPU: 0.002231 (kWh)
|
147 |
+
[PROC-0][2024-10-23 19:50:03,694][energy][INFO] - + GPU: 0.004430 (kWh)
|
148 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + RAM: 0.000023 (kWh)
|
149 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + total: 0.006684 (kWh)
|
150 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + decode_iteration_5 energy consumption:
|
151 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + CPU: -0.000314 (kWh)
|
152 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + GPU: -0.001258 (kWh)
|
153 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + RAM: -0.000003 (kWh)
|
154 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + total: -0.001576 (kWh)
|
155 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + decode_iteration_6 energy consumption:
|
156 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + CPU: 0.002244 (kWh)
|
157 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + GPU: 0.004528 (kWh)
|
158 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + RAM: 0.000023 (kWh)
|
159 |
+
[PROC-0][2024-10-23 19:50:03,695][energy][INFO] - + total: 0.006795 (kWh)
|
160 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + decode_iteration_7 energy consumption:
|
161 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + CPU: 0.002550 (kWh)
|
162 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + GPU: 0.005766 (kWh)
|
163 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + RAM: 0.000026 (kWh)
|
164 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + total: 0.008342 (kWh)
|
165 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + decode_iteration_8 energy consumption:
|
166 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + CPU: 0.002264 (kWh)
|
167 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + GPU: 0.004557 (kWh)
|
168 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + RAM: 0.000023 (kWh)
|
169 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + total: 0.006844 (kWh)
|
170 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + decode_iteration_9 energy consumption:
|
171 |
+
[PROC-0][2024-10-23 19:50:03,696][energy][INFO] - + CPU: 0.002247 (kWh)
|
172 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + GPU: 0.004534 (kWh)
|
173 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + RAM: 0.000023 (kWh)
|
174 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + total: 0.006804 (kWh)
|
175 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + decode_iteration_10 energy consumption:
|
176 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + CPU: 0.002253 (kWh)
|
177 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + GPU: 0.004470 (kWh)
|
178 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + RAM: 0.000023 (kWh)
|
179 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + total: 0.006746 (kWh)
|
180 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + preprocess energy consumption:
|
181 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + CPU: 0.000011 (kWh)
|
182 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + GPU: 0.000018 (kWh)
|
183 |
+
[PROC-0][2024-10-23 19:50:03,697][energy][INFO] - + RAM: 0.000000 (kWh)
|
184 |
+
[PROC-0][2024-10-23 19:50:03,698][energy][INFO] - + total: 0.000028 (kWh)
|
185 |
+
[PROC-0][2024-10-23 19:50:03,698][energy][INFO] - + prefill energy efficiency: 218923397.136495 (tokens/kWh)
|
186 |
+
[PROC-0][2024-10-23 19:50:03,698][energy][INFO] - + decode energy efficiency: 1478710.120569 (tokens/kWh)
|
187 |
+
[PROC-0][2024-10-23 19:50:03,698][energy][INFO] - + preprocess energy efficiency: 35187752.053421 (samples/kWh)
|
188 |
+
[2024-10-23 19:50:04,393][datasets][INFO] - PyTorch version 2.4.0 available.
|
text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/error.log
ADDED
The diff for this file is too large to render.
See raw diff
|
|
text_generation/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/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": "HuggingFaceTB/SmolLM-135M",
|
9 |
+
"processor": "HuggingFaceTB/SmolLM-135M",
|
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/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/generate_codecarbon.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"timestamp": "2024-10-23T19:50:03",
|
3 |
+
"project_name": "codecarbon",
|
4 |
+
"run_id": "05f83304-edf6-4273-b97d-e5de644eb411",
|
5 |
+
"duration": -1728779136.923329,
|
6 |
+
"emissions": 0.003061982417973605,
|
7 |
+
"emissions_rate": 1.4087063947890143e-05,
|
8 |
+
"cpu_power": 42.5,
|
9 |
+
"gpu_power": 94.45086032614498,
|
10 |
+
"ram_power": 0.433685302734375,
|
11 |
+
"cpu_energy": 0.002566093344748919,
|
12 |
+
"gpu_energy": 0.005702756228869177,
|
13 |
+
"ram_energy": 2.6184975778222443e-05,
|
14 |
+
"energy_consumed": 0.008295034549396313,
|
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/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/prefill_codecarbon.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"timestamp": "2024-10-23T19:13:56",
|
3 |
+
"project_name": "codecarbon",
|
4 |
+
"run_id": "05f83304-edf6-4273-b97d-e5de644eb411",
|
5 |
+
"duration": -1728779327.7865484,
|
6 |
+
"emissions": 0.0005716562515463526,
|
7 |
+
"emissions_rate": 2.157349516334259e-05,
|
8 |
+
"cpu_power": 42.5,
|
9 |
+
"gpu_power": 167.43685773439154,
|
10 |
+
"ram_power": 0.43362236022949224,
|
11 |
+
"cpu_energy": 0.00031288507095111233,
|
12 |
+
"gpu_energy": 0.001232562930495007,
|
13 |
+
"ram_energy": 3.1919675885623027e-06,
|
14 |
+
"energy_consumed": 0.0015486399690346833,
|
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/HuggingFaceTB/SmolLM-135M/2024-10-23-19-09-15/preprocess_codecarbon.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"timestamp": "2024-10-23T19:09:29",
|
3 |
+
"project_name": "codecarbon",
|
4 |
+
"run_id": "05f83304-edf6-4273-b97d-e5de644eb411",
|
5 |
+
"duration": -1728779353.3788598,
|
6 |
+
"emissions": 1.0490422273361802e-05,
|
7 |
+
"emissions_rate": 1.158058972493827e-05,
|
8 |
+
"cpu_power": 42.5,
|
9 |
+
"gpu_power": 70.04019833296246,
|
10 |
+
"ram_power": 0.31796836853027344,
|
11 |
+
"cpu_energy": 1.0718486329682895e-05,
|
12 |
+
"gpu_energy": 1.7620569652265772e-05,
|
13 |
+
"ram_energy": 7.992339706452299e-08,
|
14 |
+
"energy_consumed": 2.841897937901319e-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 |
+
}
|