Upload folder using huggingface_hub
Browse files- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/.hydra/config.yaml +94 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/.hydra/hydra.yaml +173 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/.hydra/overrides.yaml +1 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/benchmark_report.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/cli.log +113 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/experiment_config.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/forward_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/preprocess_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/.hydra/config.yaml +94 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/.hydra/hydra.yaml +173 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/.hydra/overrides.yaml +1 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/cli.log +28 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/experiment_config.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/preprocess_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/.hydra/config.yaml +94 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/.hydra/hydra.yaml +173 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/.hydra/overrides.yaml +1 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/benchmark_report.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/cli.log +113 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/experiment_config.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/forward_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/preprocess_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/.hydra/config.yaml +94 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/.hydra/hydra.yaml +173 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/.hydra/overrides.yaml +1 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/cli.log +30 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/experiment_config.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/preprocess_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/.hydra/config.yaml +94 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/.hydra/hydra.yaml +173 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/.hydra/overrides.yaml +1 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/benchmark_report.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/cli.log +113 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/experiment_config.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/forward_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/preprocess_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/.hydra/config.yaml +94 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/.hydra/hydra.yaml +173 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/.hydra/overrides.yaml +1 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/cli.log +24 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/experiment_config.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/.hydra/config.yaml +94 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/.hydra/hydra.yaml +173 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/.hydra/overrides.yaml +1 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/benchmark_report.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/cli.log +113 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/experiment_config.json +107 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/forward_codecarbon.json +33 -0
- text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/preprocess_codecarbon.json +33 -0
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-classification
|
| 6 |
+
model: lvwerra/distilbert-imdb
|
| 7 |
+
processor: lvwerra/distilbert-imdb
|
| 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: true
|
| 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_classification
|
| 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 |
+
call_kwargs: {}
|
| 67 |
+
experiment_name: text_classification
|
| 68 |
+
environment:
|
| 69 |
+
cpu: ' AMD EPYC 7R32'
|
| 70 |
+
cpu_count: 48
|
| 71 |
+
cpu_ram_mb: 200472.73984
|
| 72 |
+
system: Linux
|
| 73 |
+
machine: x86_64
|
| 74 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 75 |
+
processor: x86_64
|
| 76 |
+
python_version: 3.9.20
|
| 77 |
+
gpu:
|
| 78 |
+
- NVIDIA A10G
|
| 79 |
+
gpu_count: 1
|
| 80 |
+
gpu_vram_mb: 24146608128
|
| 81 |
+
optimum_benchmark_version: 0.2.0
|
| 82 |
+
optimum_benchmark_commit: null
|
| 83 |
+
transformers_version: 4.44.0
|
| 84 |
+
transformers_commit: null
|
| 85 |
+
accelerate_version: 0.33.0
|
| 86 |
+
accelerate_commit: null
|
| 87 |
+
diffusers_version: 0.30.0
|
| 88 |
+
diffusers_commit: null
|
| 89 |
+
optimum_version: null
|
| 90 |
+
optimum_commit: null
|
| 91 |
+
timm_version: null
|
| 92 |
+
timm_commit: null
|
| 93 |
+
peft_version: null
|
| 94 |
+
peft_commit: null
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${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=/data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task: []
|
| 124 |
+
job:
|
| 125 |
+
name: cli
|
| 126 |
+
chdir: true
|
| 127 |
+
override_dirname: ''
|
| 128 |
+
id: ???
|
| 129 |
+
num: ???
|
| 130 |
+
config_name: text_classification
|
| 131 |
+
env_set:
|
| 132 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 133 |
+
env_copy: []
|
| 134 |
+
config:
|
| 135 |
+
override_dirname:
|
| 136 |
+
kv_sep: '='
|
| 137 |
+
item_sep: ','
|
| 138 |
+
exclude_keys: []
|
| 139 |
+
runtime:
|
| 140 |
+
version: 1.3.2
|
| 141 |
+
version_base: '1.3'
|
| 142 |
+
cwd: /
|
| 143 |
+
config_sources:
|
| 144 |
+
- path: hydra.conf
|
| 145 |
+
schema: pkg
|
| 146 |
+
provider: hydra
|
| 147 |
+
- path: optimum_benchmark
|
| 148 |
+
schema: pkg
|
| 149 |
+
provider: main
|
| 150 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 151 |
+
schema: pkg
|
| 152 |
+
provider: hydra-colorlog
|
| 153 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 154 |
+
schema: file
|
| 155 |
+
provider: command-line
|
| 156 |
+
- path: ''
|
| 157 |
+
schema: structured
|
| 158 |
+
provider: schema
|
| 159 |
+
output_dir: /data/runs/text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39
|
| 160 |
+
choices:
|
| 161 |
+
benchmark: energy_star
|
| 162 |
+
launcher: process
|
| 163 |
+
backend: pytorch
|
| 164 |
+
hydra/env: default
|
| 165 |
+
hydra/callbacks: null
|
| 166 |
+
hydra/job_logging: colorlog
|
| 167 |
+
hydra/hydra_logging: colorlog
|
| 168 |
+
hydra/hydra_help: default
|
| 169 |
+
hydra/help: default
|
| 170 |
+
hydra/sweeper: basic
|
| 171 |
+
hydra/launcher: basic
|
| 172 |
+
hydra/output: default
|
| 173 |
+
verbose: false
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/benchmark_report.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"forward": {
|
| 3 |
+
"memory": null,
|
| 4 |
+
"latency": null,
|
| 5 |
+
"throughput": null,
|
| 6 |
+
"energy": {
|
| 7 |
+
"unit": "kWh",
|
| 8 |
+
"cpu": 4.3033950658298426e-05,
|
| 9 |
+
"ram": 3.491482350135866e-07,
|
| 10 |
+
"gpu": 0.00016699630026373313,
|
| 11 |
+
"total": 0.00021037939915704516
|
| 12 |
+
},
|
| 13 |
+
"efficiency": {
|
| 14 |
+
"unit": "samples/kWh",
|
| 15 |
+
"value": 4753317.12138561
|
| 16 |
+
},
|
| 17 |
+
"measures": [
|
| 18 |
+
{
|
| 19 |
+
"unit": "kWh",
|
| 20 |
+
"cpu": 4.7981154024859693e-05,
|
| 21 |
+
"ram": 3.8929762519253783e-07,
|
| 22 |
+
"gpu": 0.000184299314106795,
|
| 23 |
+
"total": 0.00023266976575684725
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"unit": "kWh",
|
| 27 |
+
"cpu": 4.7782428311378075e-05,
|
| 28 |
+
"ram": 3.877802845256958e-07,
|
| 29 |
+
"gpu": 0.00018138903400100048,
|
| 30 |
+
"total": 0.00022955924259690426
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"unit": "kWh",
|
| 34 |
+
"cpu": 4.7605167399807316e-05,
|
| 35 |
+
"ram": 3.8636395221827183e-07,
|
| 36 |
+
"gpu": 0.000186995705149684,
|
| 37 |
+
"total": 0.00023498723650170952
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"unit": "kWh",
|
| 41 |
+
"cpu": 4.855238827456359e-05,
|
| 42 |
+
"ram": 3.935672548850149e-07,
|
| 43 |
+
"gpu": 0.0001856968152260663,
|
| 44 |
+
"total": 0.00023464277075551483
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"unit": "kWh",
|
| 48 |
+
"cpu": 4.857113074960783e-05,
|
| 49 |
+
"ram": 3.9379859018887915e-07,
|
| 50 |
+
"gpu": 0.00018688737173278014,
|
| 51 |
+
"total": 0.00023585230107257675
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"unit": "kWh",
|
| 55 |
+
"cpu": 4.7622314353551096e-05,
|
| 56 |
+
"ram": 3.8650354212378535e-07,
|
| 57 |
+
"gpu": 0.00018486348122337404,
|
| 58 |
+
"total": 0.00023287229911904904
|
| 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": 4.769037301723274e-05,
|
| 70 |
+
"ram": 3.870572522958343e-07,
|
| 71 |
+
"gpu": 0.00018588431537125416,
|
| 72 |
+
"total": 0.00023396174564078282
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"unit": "kWh",
|
| 76 |
+
"cpu": 4.7270123168224615e-05,
|
| 77 |
+
"ram": 3.835115881599748e-07,
|
| 78 |
+
"gpu": 0.00018772459462468305,
|
| 79 |
+
"total": 0.0002353782293810676
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"unit": "kWh",
|
| 83 |
+
"cpu": 4.726442728375936e-05,
|
| 84 |
+
"ram": 3.836022605458718e-07,
|
| 85 |
+
"gpu": 0.00018622237120169416,
|
| 86 |
+
"total": 0.0002338704007459995
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
"preprocess": {
|
| 91 |
+
"memory": null,
|
| 92 |
+
"latency": null,
|
| 93 |
+
"throughput": null,
|
| 94 |
+
"energy": {
|
| 95 |
+
"unit": "kWh",
|
| 96 |
+
"cpu": 5.090969423731116e-06,
|
| 97 |
+
"ram": 3.264302126335614e-08,
|
| 98 |
+
"gpu": 7.466117082799428e-06,
|
| 99 |
+
"total": 1.2589729527793902e-05
|
| 100 |
+
},
|
| 101 |
+
"efficiency": {
|
| 102 |
+
"unit": "samples/kWh",
|
| 103 |
+
"value": 79429823.95232044
|
| 104 |
+
},
|
| 105 |
+
"measures": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/cli.log
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-01 19:02:39,712][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-01 19:02:39,712][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-01 19:02:39,725][device-isolation][INFO] - + Launched device(s) isolation process 66
|
| 4 |
+
[2024-10-01 19:02:39,726][device-isolation][INFO] - + Isolating device(s) [0]
|
| 5 |
+
[2024-10-01 19:02:39,732][process][INFO] - + Launched benchmark in isolated process 67.
|
| 6 |
+
[PROC-0][2024-10-01 19:02:42,331][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 7 |
+
[PROC-0][2024-10-01 19:02:43,278][backend][INFO] - َAllocating pytorch backend
|
| 8 |
+
[PROC-0][2024-10-01 19:02:43,278][backend][INFO] - + Setting random seed to 42
|
| 9 |
+
[PROC-0][2024-10-01 19:02:43,590][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
| 10 |
+
[PROC-0][2024-10-01 19:02:43,591][pytorch][INFO] - + Creating backend temporary directory
|
| 11 |
+
[PROC-0][2024-10-01 19:02:43,591][pytorch][INFO] - + Loading model with random weights
|
| 12 |
+
[PROC-0][2024-10-01 19:02:43,591][pytorch][INFO] - + Creating no weights model
|
| 13 |
+
[PROC-0][2024-10-01 19:02:43,591][pytorch][INFO] - + Creating no weights model directory
|
| 14 |
+
[PROC-0][2024-10-01 19:02:43,591][pytorch][INFO] - + Creating no weights model state dict
|
| 15 |
+
[PROC-0][2024-10-01 19:02:43,593][pytorch][INFO] - + Saving no weights model safetensors
|
| 16 |
+
[PROC-0][2024-10-01 19:02:43,594][pytorch][INFO] - + Saving no weights model pretrained config
|
| 17 |
+
[PROC-0][2024-10-01 19:02:43,595][pytorch][INFO] - + Loading no weights AutoModel
|
| 18 |
+
[PROC-0][2024-10-01 19:02:43,595][pytorch][INFO] - + Loading model directly on device: cuda
|
| 19 |
+
[PROC-0][2024-10-01 19:02:43,896][pytorch][INFO] - + Turning on model's eval mode
|
| 20 |
+
[PROC-0][2024-10-01 19:02:43,902][benchmark][INFO] - Allocating energy_star benchmark
|
| 21 |
+
[PROC-0][2024-10-01 19:02:43,902][energy_star][INFO] - + Loading raw dataset
|
| 22 |
+
[PROC-0][2024-10-01 19:02:44,447][energy_star][INFO] - + Initializing Inference report
|
| 23 |
+
[PROC-0][2024-10-01 19:02:44,448][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 24 |
+
[PROC-0][2024-10-01 19:02:48,663][energy_star][INFO] - + Preprocessing dataset
|
| 25 |
+
[PROC-0][2024-10-01 19:02:49,098][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 26 |
+
[PROC-0][2024-10-01 19:02:49,100][energy_star][INFO] - + Preparing backend for Inference
|
| 27 |
+
[PROC-0][2024-10-01 19:02:49,100][energy_star][INFO] - + Initialising dataloader
|
| 28 |
+
[PROC-0][2024-10-01 19:02:49,100][energy_star][INFO] - + Warming up backend for Inference
|
| 29 |
+
[PROC-0][2024-10-01 19:02:49,663][energy_star][INFO] - + Running Inference energy tracking for 10 iterations
|
| 30 |
+
[PROC-0][2024-10-01 19:02:49,663][energy_star][INFO] - + Iteration 1/10
|
| 31 |
+
[PROC-0][2024-10-01 19:02:53,729][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 32 |
+
[PROC-0][2024-10-01 19:02:53,731][energy_star][INFO] - + Iteration 2/10
|
| 33 |
+
[PROC-0][2024-10-01 19:02:57,781][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 34 |
+
[PROC-0][2024-10-01 19:02:57,784][energy_star][INFO] - + Iteration 3/10
|
| 35 |
+
[PROC-0][2024-10-01 19:03:01,819][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 36 |
+
[PROC-0][2024-10-01 19:03:01,821][energy_star][INFO] - + Iteration 4/10
|
| 37 |
+
[PROC-0][2024-10-01 19:03:05,936][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 38 |
+
[PROC-0][2024-10-01 19:03:05,938][energy_star][INFO] - + Iteration 5/10
|
| 39 |
+
[PROC-0][2024-10-01 19:03:10,054][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 40 |
+
[PROC-0][2024-10-01 19:03:10,057][energy_star][INFO] - + Iteration 6/10
|
| 41 |
+
[PROC-0][2024-10-01 19:03:14,093][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 42 |
+
[PROC-0][2024-10-01 19:03:14,095][energy_star][INFO] - + Iteration 7/10
|
| 43 |
+
[PROC-0][2024-10-01 19:03:18,137][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 44 |
+
[PROC-0][2024-10-01 19:03:18,139][energy_star][INFO] - + Iteration 8/10
|
| 45 |
+
[PROC-0][2024-10-01 19:03:22,181][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 46 |
+
[PROC-0][2024-10-01 19:03:22,183][energy_star][INFO] - + Iteration 9/10
|
| 47 |
+
[PROC-0][2024-10-01 19:03:26,190][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 48 |
+
[PROC-0][2024-10-01 19:03:26,192][energy_star][INFO] - + Iteration 10/10
|
| 49 |
+
[PROC-0][2024-10-01 19:03:30,198][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 50 |
+
[PROC-0][2024-10-01 19:03:30,200][energy][INFO] - + forward energy consumption:
|
| 51 |
+
[PROC-0][2024-10-01 19:03:30,200][energy][INFO] - + CPU: 0.000043 (kWh)
|
| 52 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + GPU: 0.000167 (kWh)
|
| 53 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 54 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + total: 0.000210 (kWh)
|
| 55 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + forward_iteration_1 energy consumption:
|
| 56 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 57 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + GPU: 0.000184 (kWh)
|
| 58 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 59 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + total: 0.000233 (kWh)
|
| 60 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + forward_iteration_2 energy consumption:
|
| 61 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 62 |
+
[PROC-0][2024-10-01 19:03:30,201][energy][INFO] - + GPU: 0.000181 (kWh)
|
| 63 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 64 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + total: 0.000230 (kWh)
|
| 65 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + forward_iteration_3 energy consumption:
|
| 66 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 67 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + GPU: 0.000187 (kWh)
|
| 68 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 69 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + total: 0.000235 (kWh)
|
| 70 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + forward_iteration_4 energy consumption:
|
| 71 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + CPU: 0.000049 (kWh)
|
| 72 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + GPU: 0.000186 (kWh)
|
| 73 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 74 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + total: 0.000235 (kWh)
|
| 75 |
+
[PROC-0][2024-10-01 19:03:30,202][energy][INFO] - + forward_iteration_5 energy consumption:
|
| 76 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + CPU: 0.000049 (kWh)
|
| 77 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + GPU: 0.000187 (kWh)
|
| 78 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 79 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + total: 0.000236 (kWh)
|
| 80 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + forward_iteration_6 energy consumption:
|
| 81 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 82 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + GPU: 0.000185 (kWh)
|
| 83 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 84 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + total: 0.000233 (kWh)
|
| 85 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + forward_iteration_7 energy consumption:
|
| 86 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + CPU: 0.000000 (kWh)
|
| 87 |
+
[PROC-0][2024-10-01 19:03:30,203][energy][INFO] - + GPU: 0.000000 (kWh)
|
| 88 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 89 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + total: 0.000000 (kWh)
|
| 90 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + forward_iteration_8 energy consumption:
|
| 91 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 92 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + GPU: 0.000186 (kWh)
|
| 93 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 94 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + total: 0.000234 (kWh)
|
| 95 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + forward_iteration_9 energy consumption:
|
| 96 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 97 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + GPU: 0.000188 (kWh)
|
| 98 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 99 |
+
[PROC-0][2024-10-01 19:03:30,204][energy][INFO] - + total: 0.000235 (kWh)
|
| 100 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + forward_iteration_10 energy consumption:
|
| 101 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 102 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + GPU: 0.000186 (kWh)
|
| 103 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 104 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + total: 0.000234 (kWh)
|
| 105 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + preprocess energy consumption:
|
| 106 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + CPU: 0.000005 (kWh)
|
| 107 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + GPU: 0.000007 (kWh)
|
| 108 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 109 |
+
[PROC-0][2024-10-01 19:03:30,205][energy][INFO] - + total: 0.000013 (kWh)
|
| 110 |
+
[PROC-0][2024-10-01 19:03:30,206][energy][INFO] - + forward energy efficiency: 4753317.121386 (samples/kWh)
|
| 111 |
+
[PROC-0][2024-10-01 19:03:30,206][energy][INFO] - + preprocess energy efficiency: 79429823.952320 (samples/kWh)
|
| 112 |
+
[2024-10-01 19:03:30,837][device-isolation][INFO] - + Closing device(s) isolation process...
|
| 113 |
+
[2024-10-01 19:03:30,891][datasets][INFO] - PyTorch version 2.4.0 available.
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/experiment_config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_classification",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-classification",
|
| 8 |
+
"model": "lvwerra/distilbert-imdb",
|
| 9 |
+
"processor": "lvwerra/distilbert-imdb",
|
| 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": true,
|
| 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_classification",
|
| 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 |
+
"call_kwargs": {}
|
| 77 |
+
},
|
| 78 |
+
"environment": {
|
| 79 |
+
"cpu": " AMD EPYC 7R32",
|
| 80 |
+
"cpu_count": 48,
|
| 81 |
+
"cpu_ram_mb": 200472.73984,
|
| 82 |
+
"system": "Linux",
|
| 83 |
+
"machine": "x86_64",
|
| 84 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 85 |
+
"processor": "x86_64",
|
| 86 |
+
"python_version": "3.9.20",
|
| 87 |
+
"gpu": [
|
| 88 |
+
"NVIDIA A10G"
|
| 89 |
+
],
|
| 90 |
+
"gpu_count": 1,
|
| 91 |
+
"gpu_vram_mb": 24146608128,
|
| 92 |
+
"optimum_benchmark_version": "0.2.0",
|
| 93 |
+
"optimum_benchmark_commit": null,
|
| 94 |
+
"transformers_version": "4.44.0",
|
| 95 |
+
"transformers_commit": null,
|
| 96 |
+
"accelerate_version": "0.33.0",
|
| 97 |
+
"accelerate_commit": null,
|
| 98 |
+
"diffusers_version": "0.30.0",
|
| 99 |
+
"diffusers_commit": null,
|
| 100 |
+
"optimum_version": null,
|
| 101 |
+
"optimum_commit": null,
|
| 102 |
+
"timm_version": null,
|
| 103 |
+
"timm_commit": null,
|
| 104 |
+
"peft_version": null,
|
| 105 |
+
"peft_commit": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/forward_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:03:30",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "87c20af8-09ee-4935-b57c-c55ba981f72f",
|
| 5 |
+
"duration": -1726624715.2796082,
|
| 6 |
+
"emissions": 8.632960488643251e-05,
|
| 7 |
+
"emissions_rate": 2.1573364543800052e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 167.54585718780086,
|
| 10 |
+
"ram_power": 0.3451881408691406,
|
| 11 |
+
"cpu_energy": 4.726442728375936e-05,
|
| 12 |
+
"gpu_energy": 0.00018622237120169416,
|
| 13 |
+
"ram_energy": 3.836022605458718e-07,
|
| 14 |
+
"energy_consumed": 0.0002338704007459995,
|
| 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_classification/lvwerra/distilbert-imdb/2024-10-01-19-02-39/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:02:49",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "87c20af8-09ee-4935-b57c-c55ba981f72f",
|
| 5 |
+
"duration": -1726624718.8521838,
|
| 6 |
+
"emissions": 4.647301977054882e-06,
|
| 7 |
+
"emissions_rate": 1.0827489819885996e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 62.65163325440906,
|
| 10 |
+
"ram_power": 0.27443647384643555,
|
| 11 |
+
"cpu_energy": 5.090969423731116e-06,
|
| 12 |
+
"gpu_energy": 7.466117082799428e-06,
|
| 13 |
+
"ram_energy": 3.264302126335614e-08,
|
| 14 |
+
"energy_consumed": 1.2589729527793902e-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_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-classification
|
| 6 |
+
model: lvwerra/distilbert-imdb
|
| 7 |
+
processor: lvwerra/distilbert-imdb
|
| 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: true
|
| 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_classification
|
| 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 |
+
call_kwargs: {}
|
| 67 |
+
experiment_name: text_classification
|
| 68 |
+
environment:
|
| 69 |
+
cpu: ' AMD EPYC 7R32'
|
| 70 |
+
cpu_count: 48
|
| 71 |
+
cpu_ram_mb: 200472.73984
|
| 72 |
+
system: Linux
|
| 73 |
+
machine: x86_64
|
| 74 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 75 |
+
processor: x86_64
|
| 76 |
+
python_version: 3.9.20
|
| 77 |
+
gpu:
|
| 78 |
+
- NVIDIA A10G
|
| 79 |
+
gpu_count: 1
|
| 80 |
+
gpu_vram_mb: 24146608128
|
| 81 |
+
optimum_benchmark_version: 0.2.0
|
| 82 |
+
optimum_benchmark_commit: null
|
| 83 |
+
transformers_version: 4.44.0
|
| 84 |
+
transformers_commit: null
|
| 85 |
+
accelerate_version: 0.33.0
|
| 86 |
+
accelerate_commit: null
|
| 87 |
+
diffusers_version: 0.30.0
|
| 88 |
+
diffusers_commit: null
|
| 89 |
+
optimum_version: null
|
| 90 |
+
optimum_commit: null
|
| 91 |
+
timm_version: null
|
| 92 |
+
timm_commit: null
|
| 93 |
+
peft_version: null
|
| 94 |
+
peft_commit: null
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${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=/data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task: []
|
| 124 |
+
job:
|
| 125 |
+
name: cli
|
| 126 |
+
chdir: true
|
| 127 |
+
override_dirname: ''
|
| 128 |
+
id: ???
|
| 129 |
+
num: ???
|
| 130 |
+
config_name: text_classification
|
| 131 |
+
env_set:
|
| 132 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 133 |
+
env_copy: []
|
| 134 |
+
config:
|
| 135 |
+
override_dirname:
|
| 136 |
+
kv_sep: '='
|
| 137 |
+
item_sep: ','
|
| 138 |
+
exclude_keys: []
|
| 139 |
+
runtime:
|
| 140 |
+
version: 1.3.2
|
| 141 |
+
version_base: '1.3'
|
| 142 |
+
cwd: /
|
| 143 |
+
config_sources:
|
| 144 |
+
- path: hydra.conf
|
| 145 |
+
schema: pkg
|
| 146 |
+
provider: hydra
|
| 147 |
+
- path: optimum_benchmark
|
| 148 |
+
schema: pkg
|
| 149 |
+
provider: main
|
| 150 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 151 |
+
schema: pkg
|
| 152 |
+
provider: hydra-colorlog
|
| 153 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 154 |
+
schema: file
|
| 155 |
+
provider: command-line
|
| 156 |
+
- path: ''
|
| 157 |
+
schema: structured
|
| 158 |
+
provider: schema
|
| 159 |
+
output_dir: /data/runs/text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36
|
| 160 |
+
choices:
|
| 161 |
+
benchmark: energy_star
|
| 162 |
+
launcher: process
|
| 163 |
+
backend: pytorch
|
| 164 |
+
hydra/env: default
|
| 165 |
+
hydra/callbacks: null
|
| 166 |
+
hydra/job_logging: colorlog
|
| 167 |
+
hydra/hydra_logging: colorlog
|
| 168 |
+
hydra/hydra_help: default
|
| 169 |
+
hydra/help: default
|
| 170 |
+
hydra/sweeper: basic
|
| 171 |
+
hydra/launcher: basic
|
| 172 |
+
hydra/output: default
|
| 173 |
+
verbose: false
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/cli.log
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-01 19:03:36,282][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-01 19:03:36,282][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-01 19:03:36,295][device-isolation][INFO] - + Launched device(s) isolation process 66
|
| 4 |
+
[2024-10-01 19:03:36,296][device-isolation][INFO] - + Isolating device(s) [0]
|
| 5 |
+
[2024-10-01 19:03:36,302][process][INFO] - + Launched benchmark in isolated process 67.
|
| 6 |
+
[PROC-0][2024-10-01 19:03:38,922][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 7 |
+
[PROC-0][2024-10-01 19:03:39,859][backend][INFO] - َAllocating pytorch backend
|
| 8 |
+
[PROC-0][2024-10-01 19:03:39,859][backend][INFO] - + Setting random seed to 42
|
| 9 |
+
[PROC-0][2024-10-01 19:03:40,168][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
| 10 |
+
[PROC-0][2024-10-01 19:03:40,168][pytorch][INFO] - + Creating backend temporary directory
|
| 11 |
+
[PROC-0][2024-10-01 19:03:40,168][pytorch][INFO] - + Loading model with random weights
|
| 12 |
+
[PROC-0][2024-10-01 19:03:40,169][pytorch][INFO] - + Creating no weights model
|
| 13 |
+
[PROC-0][2024-10-01 19:03:40,169][pytorch][INFO] - + Creating no weights model directory
|
| 14 |
+
[PROC-0][2024-10-01 19:03:40,169][pytorch][INFO] - + Creating no weights model state dict
|
| 15 |
+
[PROC-0][2024-10-01 19:03:40,171][pytorch][INFO] - + Saving no weights model safetensors
|
| 16 |
+
[PROC-0][2024-10-01 19:03:40,171][pytorch][INFO] - + Saving no weights model pretrained config
|
| 17 |
+
[PROC-0][2024-10-01 19:03:40,172][pytorch][INFO] - + Loading no weights AutoModel
|
| 18 |
+
[PROC-0][2024-10-01 19:03:40,172][pytorch][INFO] - + Loading model directly on device: cuda
|
| 19 |
+
[PROC-0][2024-10-01 19:03:40,425][pytorch][INFO] - + Turning on model's eval mode
|
| 20 |
+
[PROC-0][2024-10-01 19:03:40,431][benchmark][INFO] - Allocating energy_star benchmark
|
| 21 |
+
[PROC-0][2024-10-01 19:03:40,432][energy_star][INFO] - + Loading raw dataset
|
| 22 |
+
[PROC-0][2024-10-01 19:03:41,213][energy_star][INFO] - + Initializing Inference report
|
| 23 |
+
[PROC-0][2024-10-01 19:03:41,214][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 24 |
+
[PROC-0][2024-10-01 19:03:45,415][energy_star][INFO] - + Preprocessing dataset
|
| 25 |
+
[PROC-0][2024-10-01 19:03:45,847][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 26 |
+
[PROC-0][2024-10-01 19:03:45,849][energy_star][INFO] - + Preparing backend for Inference
|
| 27 |
+
[PROC-0][2024-10-01 19:03:45,849][energy_star][INFO] - + Initialising dataloader
|
| 28 |
+
[PROC-0][2024-10-01 19:03:45,849][energy_star][INFO] - + Warming up backend for Inference
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/experiment_config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_classification",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-classification",
|
| 8 |
+
"model": "lvwerra/distilbert-imdb",
|
| 9 |
+
"processor": "lvwerra/distilbert-imdb",
|
| 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": true,
|
| 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_classification",
|
| 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 |
+
"call_kwargs": {}
|
| 77 |
+
},
|
| 78 |
+
"environment": {
|
| 79 |
+
"cpu": " AMD EPYC 7R32",
|
| 80 |
+
"cpu_count": 48,
|
| 81 |
+
"cpu_ram_mb": 200472.73984,
|
| 82 |
+
"system": "Linux",
|
| 83 |
+
"machine": "x86_64",
|
| 84 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 85 |
+
"processor": "x86_64",
|
| 86 |
+
"python_version": "3.9.20",
|
| 87 |
+
"gpu": [
|
| 88 |
+
"NVIDIA A10G"
|
| 89 |
+
],
|
| 90 |
+
"gpu_count": 1,
|
| 91 |
+
"gpu_vram_mb": 24146608128,
|
| 92 |
+
"optimum_benchmark_version": "0.2.0",
|
| 93 |
+
"optimum_benchmark_commit": null,
|
| 94 |
+
"transformers_version": "4.44.0",
|
| 95 |
+
"transformers_commit": null,
|
| 96 |
+
"accelerate_version": "0.33.0",
|
| 97 |
+
"accelerate_commit": null,
|
| 98 |
+
"diffusers_version": "0.30.0",
|
| 99 |
+
"diffusers_commit": null,
|
| 100 |
+
"optimum_version": null,
|
| 101 |
+
"optimum_commit": null,
|
| 102 |
+
"timm_version": null,
|
| 103 |
+
"timm_commit": null,
|
| 104 |
+
"peft_version": null,
|
| 105 |
+
"peft_commit": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-03-36/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:03:45",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "9729c6fe-e1e1-4c51-afc4-bd96489f187f",
|
| 5 |
+
"duration": -1726624718.85701,
|
| 6 |
+
"emissions": 4.7184334872045504e-06,
|
| 7 |
+
"emissions_rate": 1.1118273961949702e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 64.96423630092855,
|
| 10 |
+
"ram_power": 0.2747225761413574,
|
| 11 |
+
"cpu_energy": 5.0585669730531264e-06,
|
| 12 |
+
"gpu_energy": 7.691395044417959e-06,
|
| 13 |
+
"ram_energy": 3.246565606615931e-08,
|
| 14 |
+
"energy_consumed": 1.2782427673537246e-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_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-classification
|
| 6 |
+
model: lvwerra/distilbert-imdb
|
| 7 |
+
processor: lvwerra/distilbert-imdb
|
| 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: true
|
| 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_classification
|
| 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 |
+
call_kwargs: {}
|
| 67 |
+
experiment_name: text_classification
|
| 68 |
+
environment:
|
| 69 |
+
cpu: ' AMD EPYC 7R32'
|
| 70 |
+
cpu_count: 48
|
| 71 |
+
cpu_ram_mb: 200472.73984
|
| 72 |
+
system: Linux
|
| 73 |
+
machine: x86_64
|
| 74 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 75 |
+
processor: x86_64
|
| 76 |
+
python_version: 3.9.20
|
| 77 |
+
gpu:
|
| 78 |
+
- NVIDIA A10G
|
| 79 |
+
gpu_count: 1
|
| 80 |
+
gpu_vram_mb: 24146608128
|
| 81 |
+
optimum_benchmark_version: 0.2.0
|
| 82 |
+
optimum_benchmark_commit: null
|
| 83 |
+
transformers_version: 4.44.0
|
| 84 |
+
transformers_commit: null
|
| 85 |
+
accelerate_version: 0.33.0
|
| 86 |
+
accelerate_commit: null
|
| 87 |
+
diffusers_version: 0.30.0
|
| 88 |
+
diffusers_commit: null
|
| 89 |
+
optimum_version: null
|
| 90 |
+
optimum_commit: null
|
| 91 |
+
timm_version: null
|
| 92 |
+
timm_commit: null
|
| 93 |
+
peft_version: null
|
| 94 |
+
peft_commit: null
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${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=/data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task: []
|
| 124 |
+
job:
|
| 125 |
+
name: cli
|
| 126 |
+
chdir: true
|
| 127 |
+
override_dirname: ''
|
| 128 |
+
id: ???
|
| 129 |
+
num: ???
|
| 130 |
+
config_name: text_classification
|
| 131 |
+
env_set:
|
| 132 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 133 |
+
env_copy: []
|
| 134 |
+
config:
|
| 135 |
+
override_dirname:
|
| 136 |
+
kv_sep: '='
|
| 137 |
+
item_sep: ','
|
| 138 |
+
exclude_keys: []
|
| 139 |
+
runtime:
|
| 140 |
+
version: 1.3.2
|
| 141 |
+
version_base: '1.3'
|
| 142 |
+
cwd: /
|
| 143 |
+
config_sources:
|
| 144 |
+
- path: hydra.conf
|
| 145 |
+
schema: pkg
|
| 146 |
+
provider: hydra
|
| 147 |
+
- path: optimum_benchmark
|
| 148 |
+
schema: pkg
|
| 149 |
+
provider: main
|
| 150 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 151 |
+
schema: pkg
|
| 152 |
+
provider: hydra-colorlog
|
| 153 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 154 |
+
schema: file
|
| 155 |
+
provider: command-line
|
| 156 |
+
- path: ''
|
| 157 |
+
schema: structured
|
| 158 |
+
provider: schema
|
| 159 |
+
output_dir: /data/runs/text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43
|
| 160 |
+
choices:
|
| 161 |
+
benchmark: energy_star
|
| 162 |
+
launcher: process
|
| 163 |
+
backend: pytorch
|
| 164 |
+
hydra/env: default
|
| 165 |
+
hydra/callbacks: null
|
| 166 |
+
hydra/job_logging: colorlog
|
| 167 |
+
hydra/hydra_logging: colorlog
|
| 168 |
+
hydra/hydra_help: default
|
| 169 |
+
hydra/help: default
|
| 170 |
+
hydra/sweeper: basic
|
| 171 |
+
hydra/launcher: basic
|
| 172 |
+
hydra/output: default
|
| 173 |
+
verbose: false
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/benchmark_report.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"forward": {
|
| 3 |
+
"memory": null,
|
| 4 |
+
"latency": null,
|
| 5 |
+
"throughput": null,
|
| 6 |
+
"energy": {
|
| 7 |
+
"unit": "kWh",
|
| 8 |
+
"cpu": 4.230587705198155e-05,
|
| 9 |
+
"ram": 3.431121791114993e-07,
|
| 10 |
+
"gpu": 0.00016923796872365672,
|
| 11 |
+
"total": 0.00021188695795474976
|
| 12 |
+
},
|
| 13 |
+
"efficiency": {
|
| 14 |
+
"unit": "samples/kWh",
|
| 15 |
+
"value": 4719497.649371881
|
| 16 |
+
},
|
| 17 |
+
"measures": [
|
| 18 |
+
{
|
| 19 |
+
"unit": "kWh",
|
| 20 |
+
"cpu": 4.747376785780944e-05,
|
| 21 |
+
"ram": 3.849488878078334e-07,
|
| 22 |
+
"gpu": 0.00018165792310398388,
|
| 23 |
+
"total": 0.00022951663984960112
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"unit": "kWh",
|
| 27 |
+
"cpu": 4.715741071437757e-05,
|
| 28 |
+
"ram": 3.824990357918675e-07,
|
| 29 |
+
"gpu": 0.00018548153727415695,
|
| 30 |
+
"total": 0.00023302144702432639
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"unit": "kWh",
|
| 34 |
+
"cpu": 4.722432519249399e-05,
|
| 35 |
+
"ram": 3.830795513851654e-07,
|
| 36 |
+
"gpu": 0.00018511181475577843,
|
| 37 |
+
"total": 0.00023271921949965765
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"unit": "kWh",
|
| 41 |
+
"cpu": 4.6876172406498694e-05,
|
| 42 |
+
"ram": 3.802514148299537e-07,
|
| 43 |
+
"gpu": 0.00018767126124785705,
|
| 44 |
+
"total": 0.00023492768506918563
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"unit": "kWh",
|
| 48 |
+
"cpu": 4.690202185055468e-05,
|
| 49 |
+
"ram": 3.801120580377572e-07,
|
| 50 |
+
"gpu": 0.0001881120949338566,
|
| 51 |
+
"total": 0.0002353942288424491
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"unit": "kWh",
|
| 55 |
+
"cpu": 4.7141369560672024e-05,
|
| 56 |
+
"ram": 3.822386915096002e-07,
|
| 57 |
+
"gpu": 0.0001907123747928452,
|
| 58 |
+
"total": 0.00023823598304502694
|
| 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": 4.723005958823907e-05,
|
| 70 |
+
"ram": 3.8313577770360217e-07,
|
| 71 |
+
"gpu": 0.0001910398750535336,
|
| 72 |
+
"total": 0.00023865307041947637
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"unit": "kWh",
|
| 76 |
+
"cpu": 4.6333836789482234e-05,
|
| 77 |
+
"ram": 3.758602951283193e-07,
|
| 78 |
+
"gpu": 0.0001891912624643055,
|
| 79 |
+
"total": 0.00023590095954891606
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"unit": "kWh",
|
| 83 |
+
"cpu": 4.6719806559687824e-05,
|
| 84 |
+
"ram": 3.789960789208947e-07,
|
| 85 |
+
"gpu": 0.00019340154361024986,
|
| 86 |
+
"total": 0.0002405003462488584
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
"preprocess": {
|
| 91 |
+
"memory": null,
|
| 92 |
+
"latency": null,
|
| 93 |
+
"throughput": null,
|
| 94 |
+
"energy": {
|
| 95 |
+
"unit": "kWh",
|
| 96 |
+
"cpu": 5.039374399186475e-06,
|
| 97 |
+
"ram": 3.228873847000398e-08,
|
| 98 |
+
"gpu": 7.653617234204546e-06,
|
| 99 |
+
"total": 1.2725280371861023e-05
|
| 100 |
+
},
|
| 101 |
+
"efficiency": {
|
| 102 |
+
"unit": "samples/kWh",
|
| 103 |
+
"value": 78583730.24230301
|
| 104 |
+
},
|
| 105 |
+
"measures": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/cli.log
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-01 19:10:43,629][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-01 19:10:43,630][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-01 19:10:43,640][device-isolation][INFO] - + Launched device(s) isolation process 66
|
| 4 |
+
[2024-10-01 19:10:43,640][device-isolation][INFO] - + Isolating device(s) [0]
|
| 5 |
+
[2024-10-01 19:10:43,646][process][INFO] - + Launched benchmark in isolated process 67.
|
| 6 |
+
[PROC-0][2024-10-01 19:10:46,225][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 7 |
+
[PROC-0][2024-10-01 19:10:47,152][backend][INFO] - َAllocating pytorch backend
|
| 8 |
+
[PROC-0][2024-10-01 19:10:47,152][backend][INFO] - + Setting random seed to 42
|
| 9 |
+
[PROC-0][2024-10-01 19:10:47,446][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
| 10 |
+
[PROC-0][2024-10-01 19:10:47,446][pytorch][INFO] - + Creating backend temporary directory
|
| 11 |
+
[PROC-0][2024-10-01 19:10:47,446][pytorch][INFO] - + Loading model with random weights
|
| 12 |
+
[PROC-0][2024-10-01 19:10:47,447][pytorch][INFO] - + Creating no weights model
|
| 13 |
+
[PROC-0][2024-10-01 19:10:47,447][pytorch][INFO] - + Creating no weights model directory
|
| 14 |
+
[PROC-0][2024-10-01 19:10:47,447][pytorch][INFO] - + Creating no weights model state dict
|
| 15 |
+
[PROC-0][2024-10-01 19:10:47,449][pytorch][INFO] - + Saving no weights model safetensors
|
| 16 |
+
[PROC-0][2024-10-01 19:10:47,449][pytorch][INFO] - + Saving no weights model pretrained config
|
| 17 |
+
[PROC-0][2024-10-01 19:10:47,450][pytorch][INFO] - + Loading no weights AutoModel
|
| 18 |
+
[PROC-0][2024-10-01 19:10:47,450][pytorch][INFO] - + Loading model directly on device: cuda
|
| 19 |
+
[PROC-0][2024-10-01 19:10:47,709][pytorch][INFO] - + Turning on model's eval mode
|
| 20 |
+
[PROC-0][2024-10-01 19:10:47,715][benchmark][INFO] - Allocating energy_star benchmark
|
| 21 |
+
[PROC-0][2024-10-01 19:10:47,716][energy_star][INFO] - + Loading raw dataset
|
| 22 |
+
[PROC-0][2024-10-01 19:10:48,367][energy_star][INFO] - + Initializing Inference report
|
| 23 |
+
[PROC-0][2024-10-01 19:10:48,368][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 24 |
+
[PROC-0][2024-10-01 19:10:52,549][energy_star][INFO] - + Preprocessing dataset
|
| 25 |
+
[PROC-0][2024-10-01 19:10:52,979][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 26 |
+
[PROC-0][2024-10-01 19:10:52,982][energy_star][INFO] - + Preparing backend for Inference
|
| 27 |
+
[PROC-0][2024-10-01 19:10:52,982][energy_star][INFO] - + Initialising dataloader
|
| 28 |
+
[PROC-0][2024-10-01 19:10:52,982][energy_star][INFO] - + Warming up backend for Inference
|
| 29 |
+
[PROC-0][2024-10-01 19:10:53,580][energy_star][INFO] - + Running Inference energy tracking for 10 iterations
|
| 30 |
+
[PROC-0][2024-10-01 19:10:53,580][energy_star][INFO] - + Iteration 1/10
|
| 31 |
+
[PROC-0][2024-10-01 19:10:57,604][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 32 |
+
[PROC-0][2024-10-01 19:10:57,607][energy_star][INFO] - + Iteration 2/10
|
| 33 |
+
[PROC-0][2024-10-01 19:11:01,606][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 34 |
+
[PROC-0][2024-10-01 19:11:01,609][energy_star][INFO] - + Iteration 3/10
|
| 35 |
+
[PROC-0][2024-10-01 19:11:05,612][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 36 |
+
[PROC-0][2024-10-01 19:11:05,615][energy_star][INFO] - + Iteration 4/10
|
| 37 |
+
[PROC-0][2024-10-01 19:11:09,588][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 38 |
+
[PROC-0][2024-10-01 19:11:09,591][energy_star][INFO] - + Iteration 5/10
|
| 39 |
+
[PROC-0][2024-10-01 19:11:13,567][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 40 |
+
[PROC-0][2024-10-01 19:11:13,569][energy_star][INFO] - + Iteration 6/10
|
| 41 |
+
[PROC-0][2024-10-01 19:11:17,565][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 42 |
+
[PROC-0][2024-10-01 19:11:17,568][energy_star][INFO] - + Iteration 7/10
|
| 43 |
+
[PROC-0][2024-10-01 19:11:21,531][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 44 |
+
[PROC-0][2024-10-01 19:11:21,534][energy_star][INFO] - + Iteration 8/10
|
| 45 |
+
[PROC-0][2024-10-01 19:11:25,538][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 46 |
+
[PROC-0][2024-10-01 19:11:25,540][energy_star][INFO] - + Iteration 9/10
|
| 47 |
+
[PROC-0][2024-10-01 19:11:29,469][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 48 |
+
[PROC-0][2024-10-01 19:11:29,472][energy_star][INFO] - + Iteration 10/10
|
| 49 |
+
[PROC-0][2024-10-01 19:11:33,433][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 50 |
+
[PROC-0][2024-10-01 19:11:33,436][energy][INFO] - + forward energy consumption:
|
| 51 |
+
[PROC-0][2024-10-01 19:11:33,436][energy][INFO] - + CPU: 0.000042 (kWh)
|
| 52 |
+
[PROC-0][2024-10-01 19:11:33,436][energy][INFO] - + GPU: 0.000169 (kWh)
|
| 53 |
+
[PROC-0][2024-10-01 19:11:33,436][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 54 |
+
[PROC-0][2024-10-01 19:11:33,436][energy][INFO] - + total: 0.000212 (kWh)
|
| 55 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + forward_iteration_1 energy consumption:
|
| 56 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 57 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + GPU: 0.000182 (kWh)
|
| 58 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 59 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + total: 0.000230 (kWh)
|
| 60 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + forward_iteration_2 energy consumption:
|
| 61 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 62 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + GPU: 0.000185 (kWh)
|
| 63 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 64 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + total: 0.000233 (kWh)
|
| 65 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + forward_iteration_3 energy consumption:
|
| 66 |
+
[PROC-0][2024-10-01 19:11:33,437][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 67 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + GPU: 0.000185 (kWh)
|
| 68 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 69 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + total: 0.000233 (kWh)
|
| 70 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + forward_iteration_4 energy consumption:
|
| 71 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 72 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + GPU: 0.000188 (kWh)
|
| 73 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 74 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + total: 0.000235 (kWh)
|
| 75 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + forward_iteration_5 energy consumption:
|
| 76 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 77 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + GPU: 0.000188 (kWh)
|
| 78 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 79 |
+
[PROC-0][2024-10-01 19:11:33,438][energy][INFO] - + total: 0.000235 (kWh)
|
| 80 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + forward_iteration_6 energy consumption:
|
| 81 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 82 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + GPU: 0.000191 (kWh)
|
| 83 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 84 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + total: 0.000238 (kWh)
|
| 85 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + forward_iteration_7 energy consumption:
|
| 86 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + CPU: 0.000000 (kWh)
|
| 87 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + GPU: 0.000000 (kWh)
|
| 88 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 89 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + total: 0.000000 (kWh)
|
| 90 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + forward_iteration_8 energy consumption:
|
| 91 |
+
[PROC-0][2024-10-01 19:11:33,439][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 92 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + GPU: 0.000191 (kWh)
|
| 93 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 94 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + total: 0.000239 (kWh)
|
| 95 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + forward_iteration_9 energy consumption:
|
| 96 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + CPU: 0.000046 (kWh)
|
| 97 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + GPU: 0.000189 (kWh)
|
| 98 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 99 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + total: 0.000236 (kWh)
|
| 100 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + forward_iteration_10 energy consumption:
|
| 101 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 102 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + GPU: 0.000193 (kWh)
|
| 103 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 104 |
+
[PROC-0][2024-10-01 19:11:33,440][energy][INFO] - + total: 0.000241 (kWh)
|
| 105 |
+
[PROC-0][2024-10-01 19:11:33,441][energy][INFO] - + preprocess energy consumption:
|
| 106 |
+
[PROC-0][2024-10-01 19:11:33,441][energy][INFO] - + CPU: 0.000005 (kWh)
|
| 107 |
+
[PROC-0][2024-10-01 19:11:33,441][energy][INFO] - + GPU: 0.000008 (kWh)
|
| 108 |
+
[PROC-0][2024-10-01 19:11:33,441][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 109 |
+
[PROC-0][2024-10-01 19:11:33,441][energy][INFO] - + total: 0.000013 (kWh)
|
| 110 |
+
[PROC-0][2024-10-01 19:11:33,441][energy][INFO] - + forward energy efficiency: 4719497.649372 (samples/kWh)
|
| 111 |
+
[PROC-0][2024-10-01 19:11:33,441][energy][INFO] - + preprocess energy efficiency: 78583730.242303 (samples/kWh)
|
| 112 |
+
[2024-10-01 19:11:34,040][device-isolation][INFO] - + Closing device(s) isolation process...
|
| 113 |
+
[2024-10-01 19:11:34,093][datasets][INFO] - PyTorch version 2.4.0 available.
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/experiment_config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_classification",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-classification",
|
| 8 |
+
"model": "lvwerra/distilbert-imdb",
|
| 9 |
+
"processor": "lvwerra/distilbert-imdb",
|
| 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": true,
|
| 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_classification",
|
| 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 |
+
"call_kwargs": {}
|
| 77 |
+
},
|
| 78 |
+
"environment": {
|
| 79 |
+
"cpu": " AMD EPYC 7R32",
|
| 80 |
+
"cpu_count": 48,
|
| 81 |
+
"cpu_ram_mb": 200472.73984,
|
| 82 |
+
"system": "Linux",
|
| 83 |
+
"machine": "x86_64",
|
| 84 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 85 |
+
"processor": "x86_64",
|
| 86 |
+
"python_version": "3.9.20",
|
| 87 |
+
"gpu": [
|
| 88 |
+
"NVIDIA A10G"
|
| 89 |
+
],
|
| 90 |
+
"gpu_count": 1,
|
| 91 |
+
"gpu_vram_mb": 24146608128,
|
| 92 |
+
"optimum_benchmark_version": "0.2.0",
|
| 93 |
+
"optimum_benchmark_commit": null,
|
| 94 |
+
"transformers_version": "4.44.0",
|
| 95 |
+
"transformers_commit": null,
|
| 96 |
+
"accelerate_version": "0.33.0",
|
| 97 |
+
"accelerate_commit": null,
|
| 98 |
+
"diffusers_version": "0.30.0",
|
| 99 |
+
"diffusers_commit": null,
|
| 100 |
+
"optimum_version": null,
|
| 101 |
+
"optimum_commit": null,
|
| 102 |
+
"timm_version": null,
|
| 103 |
+
"timm_commit": null,
|
| 104 |
+
"peft_version": null,
|
| 105 |
+
"peft_commit": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/forward_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:11:33",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "c8fcecc8-7a1e-4547-8a77-8af5c2b8f80e",
|
| 5 |
+
"duration": -1727489511.32649,
|
| 6 |
+
"emissions": 8.877694569508002e-05,
|
| 7 |
+
"emissions_rate": 2.246503756843967e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 176.03588127710825,
|
| 10 |
+
"ram_power": 0.34502363204956055,
|
| 11 |
+
"cpu_energy": 4.6719806559687824e-05,
|
| 12 |
+
"gpu_energy": 0.00019340154361024986,
|
| 13 |
+
"ram_energy": 3.789960789208947e-07,
|
| 14 |
+
"energy_consumed": 0.0002405003462488584,
|
| 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_classification/lvwerra/distilbert-imdb/2024-10-01-19-10-43/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:10:52",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "c8fcecc8-7a1e-4547-8a77-8af5c2b8f80e",
|
| 5 |
+
"duration": -1727489514.8535163,
|
| 6 |
+
"emissions": 4.697338453552163e-06,
|
| 7 |
+
"emissions_rate": 1.105667657056027e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 64.89345926326264,
|
| 10 |
+
"ram_power": 0.27426910400390625,
|
| 11 |
+
"cpu_energy": 5.039374399186475e-06,
|
| 12 |
+
"gpu_energy": 7.653617234204546e-06,
|
| 13 |
+
"ram_energy": 3.228873847000398e-08,
|
| 14 |
+
"energy_consumed": 1.2725280371861023e-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_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-classification
|
| 6 |
+
model: lvwerra/distilbert-imdb
|
| 7 |
+
processor: lvwerra/distilbert-imdb
|
| 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: true
|
| 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_classification
|
| 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 |
+
call_kwargs: {}
|
| 67 |
+
experiment_name: text_classification
|
| 68 |
+
environment:
|
| 69 |
+
cpu: ' AMD EPYC 7R32'
|
| 70 |
+
cpu_count: 48
|
| 71 |
+
cpu_ram_mb: 200472.73984
|
| 72 |
+
system: Linux
|
| 73 |
+
machine: x86_64
|
| 74 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 75 |
+
processor: x86_64
|
| 76 |
+
python_version: 3.9.20
|
| 77 |
+
gpu:
|
| 78 |
+
- NVIDIA A10G
|
| 79 |
+
gpu_count: 1
|
| 80 |
+
gpu_vram_mb: 24146608128
|
| 81 |
+
optimum_benchmark_version: 0.2.0
|
| 82 |
+
optimum_benchmark_commit: null
|
| 83 |
+
transformers_version: 4.44.0
|
| 84 |
+
transformers_commit: null
|
| 85 |
+
accelerate_version: 0.33.0
|
| 86 |
+
accelerate_commit: null
|
| 87 |
+
diffusers_version: 0.30.0
|
| 88 |
+
diffusers_commit: null
|
| 89 |
+
optimum_version: null
|
| 90 |
+
optimum_commit: null
|
| 91 |
+
timm_version: null
|
| 92 |
+
timm_commit: null
|
| 93 |
+
peft_version: null
|
| 94 |
+
peft_commit: null
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${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=/data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task: []
|
| 124 |
+
job:
|
| 125 |
+
name: cli
|
| 126 |
+
chdir: true
|
| 127 |
+
override_dirname: ''
|
| 128 |
+
id: ???
|
| 129 |
+
num: ???
|
| 130 |
+
config_name: text_classification
|
| 131 |
+
env_set:
|
| 132 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 133 |
+
env_copy: []
|
| 134 |
+
config:
|
| 135 |
+
override_dirname:
|
| 136 |
+
kv_sep: '='
|
| 137 |
+
item_sep: ','
|
| 138 |
+
exclude_keys: []
|
| 139 |
+
runtime:
|
| 140 |
+
version: 1.3.2
|
| 141 |
+
version_base: '1.3'
|
| 142 |
+
cwd: /
|
| 143 |
+
config_sources:
|
| 144 |
+
- path: hydra.conf
|
| 145 |
+
schema: pkg
|
| 146 |
+
provider: hydra
|
| 147 |
+
- path: optimum_benchmark
|
| 148 |
+
schema: pkg
|
| 149 |
+
provider: main
|
| 150 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 151 |
+
schema: pkg
|
| 152 |
+
provider: hydra-colorlog
|
| 153 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 154 |
+
schema: file
|
| 155 |
+
provider: command-line
|
| 156 |
+
- path: ''
|
| 157 |
+
schema: structured
|
| 158 |
+
provider: schema
|
| 159 |
+
output_dir: /data/runs/text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38
|
| 160 |
+
choices:
|
| 161 |
+
benchmark: energy_star
|
| 162 |
+
launcher: process
|
| 163 |
+
backend: pytorch
|
| 164 |
+
hydra/env: default
|
| 165 |
+
hydra/callbacks: null
|
| 166 |
+
hydra/job_logging: colorlog
|
| 167 |
+
hydra/hydra_logging: colorlog
|
| 168 |
+
hydra/hydra_help: default
|
| 169 |
+
hydra/help: default
|
| 170 |
+
hydra/sweeper: basic
|
| 171 |
+
hydra/launcher: basic
|
| 172 |
+
hydra/output: default
|
| 173 |
+
verbose: false
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/cli.log
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-01 19:11:38,705][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-01 19:11:38,706][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-01 19:11:38,718][device-isolation][INFO] - + Launched device(s) isolation process 66
|
| 4 |
+
[2024-10-01 19:11:38,718][device-isolation][INFO] - + Isolating device(s) [0]
|
| 5 |
+
[2024-10-01 19:11:38,725][process][INFO] - + Launched benchmark in isolated process 67.
|
| 6 |
+
[PROC-0][2024-10-01 19:11:41,368][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 7 |
+
[PROC-0][2024-10-01 19:11:42,337][backend][INFO] - َAllocating pytorch backend
|
| 8 |
+
[PROC-0][2024-10-01 19:11:42,338][backend][INFO] - + Setting random seed to 42
|
| 9 |
+
[PROC-0][2024-10-01 19:11:42,663][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
| 10 |
+
[PROC-0][2024-10-01 19:11:42,663][pytorch][INFO] - + Creating backend temporary directory
|
| 11 |
+
[PROC-0][2024-10-01 19:11:42,663][pytorch][INFO] - + Loading model with random weights
|
| 12 |
+
[PROC-0][2024-10-01 19:11:42,663][pytorch][INFO] - + Creating no weights model
|
| 13 |
+
[PROC-0][2024-10-01 19:11:42,663][pytorch][INFO] - + Creating no weights model directory
|
| 14 |
+
[PROC-0][2024-10-01 19:11:42,663][pytorch][INFO] - + Creating no weights model state dict
|
| 15 |
+
[PROC-0][2024-10-01 19:11:42,665][pytorch][INFO] - + Saving no weights model safetensors
|
| 16 |
+
[PROC-0][2024-10-01 19:11:42,666][pytorch][INFO] - + Saving no weights model pretrained config
|
| 17 |
+
[PROC-0][2024-10-01 19:11:42,667][pytorch][INFO] - + Loading no weights AutoModel
|
| 18 |
+
[PROC-0][2024-10-01 19:11:42,667][pytorch][INFO] - + Loading model directly on device: cuda
|
| 19 |
+
[PROC-0][2024-10-01 19:11:42,919][pytorch][INFO] - + Turning on model's eval mode
|
| 20 |
+
[PROC-0][2024-10-01 19:11:42,925][benchmark][INFO] - Allocating energy_star benchmark
|
| 21 |
+
[PROC-0][2024-10-01 19:11:42,925][energy_star][INFO] - + Loading raw dataset
|
| 22 |
+
[PROC-0][2024-10-01 19:11:43,473][energy_star][INFO] - + Initializing Inference report
|
| 23 |
+
[PROC-0][2024-10-01 19:11:43,473][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 24 |
+
[PROC-0][2024-10-01 19:11:47,649][energy_star][INFO] - + Preprocessing dataset
|
| 25 |
+
[PROC-0][2024-10-01 19:11:48,079][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 26 |
+
[PROC-0][2024-10-01 19:11:48,082][energy_star][INFO] - + Preparing backend for Inference
|
| 27 |
+
[PROC-0][2024-10-01 19:11:48,082][energy_star][INFO] - + Initialising dataloader
|
| 28 |
+
[PROC-0][2024-10-01 19:11:48,082][energy_star][INFO] - + Warming up backend for Inference
|
| 29 |
+
[PROC-0][2024-10-01 19:11:48,570][energy_star][INFO] - + Running Inference energy tracking for 10 iterations
|
| 30 |
+
[PROC-0][2024-10-01 19:11:48,570][energy_star][INFO] - + Iteration 1/10
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/experiment_config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_classification",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-classification",
|
| 8 |
+
"model": "lvwerra/distilbert-imdb",
|
| 9 |
+
"processor": "lvwerra/distilbert-imdb",
|
| 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": true,
|
| 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_classification",
|
| 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 |
+
"call_kwargs": {}
|
| 77 |
+
},
|
| 78 |
+
"environment": {
|
| 79 |
+
"cpu": " AMD EPYC 7R32",
|
| 80 |
+
"cpu_count": 48,
|
| 81 |
+
"cpu_ram_mb": 200472.73984,
|
| 82 |
+
"system": "Linux",
|
| 83 |
+
"machine": "x86_64",
|
| 84 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 85 |
+
"processor": "x86_64",
|
| 86 |
+
"python_version": "3.9.20",
|
| 87 |
+
"gpu": [
|
| 88 |
+
"NVIDIA A10G"
|
| 89 |
+
],
|
| 90 |
+
"gpu_count": 1,
|
| 91 |
+
"gpu_vram_mb": 24146608128,
|
| 92 |
+
"optimum_benchmark_version": "0.2.0",
|
| 93 |
+
"optimum_benchmark_commit": null,
|
| 94 |
+
"transformers_version": "4.44.0",
|
| 95 |
+
"transformers_commit": null,
|
| 96 |
+
"accelerate_version": "0.33.0",
|
| 97 |
+
"accelerate_commit": null,
|
| 98 |
+
"diffusers_version": "0.30.0",
|
| 99 |
+
"diffusers_commit": null,
|
| 100 |
+
"optimum_version": null,
|
| 101 |
+
"optimum_commit": null,
|
| 102 |
+
"timm_version": null,
|
| 103 |
+
"timm_commit": null,
|
| 104 |
+
"peft_version": null,
|
| 105 |
+
"peft_commit": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-11-38/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:11:48",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "5a0a9fa7-9c60-4e13-86a2-6ceb176f9706",
|
| 5 |
+
"duration": -1727489514.8532324,
|
| 6 |
+
"emissions": 4.820076293574065e-06,
|
| 7 |
+
"emissions_rate": 1.1339286230938756e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 67.66018489643034,
|
| 10 |
+
"ram_power": 0.2745237350463867,
|
| 11 |
+
"cpu_energy": 5.041561779823194e-06,
|
| 12 |
+
"gpu_energy": 7.983895276453268e-06,
|
| 13 |
+
"ram_energy": 3.232510185338502e-08,
|
| 14 |
+
"energy_consumed": 1.3057782158129846e-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_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-classification
|
| 6 |
+
model: lvwerra/distilbert-imdb
|
| 7 |
+
processor: lvwerra/distilbert-imdb
|
| 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: true
|
| 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_classification
|
| 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 |
+
call_kwargs: {}
|
| 67 |
+
experiment_name: text_classification
|
| 68 |
+
environment:
|
| 69 |
+
cpu: ' AMD EPYC 7R32'
|
| 70 |
+
cpu_count: 48
|
| 71 |
+
cpu_ram_mb: 200472.73984
|
| 72 |
+
system: Linux
|
| 73 |
+
machine: x86_64
|
| 74 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 75 |
+
processor: x86_64
|
| 76 |
+
python_version: 3.9.20
|
| 77 |
+
gpu:
|
| 78 |
+
- NVIDIA A10G
|
| 79 |
+
gpu_count: 1
|
| 80 |
+
gpu_vram_mb: 24146608128
|
| 81 |
+
optimum_benchmark_version: 0.2.0
|
| 82 |
+
optimum_benchmark_commit: null
|
| 83 |
+
transformers_version: 4.44.0
|
| 84 |
+
transformers_commit: null
|
| 85 |
+
accelerate_version: 0.33.0
|
| 86 |
+
accelerate_commit: null
|
| 87 |
+
diffusers_version: 0.30.0
|
| 88 |
+
diffusers_commit: null
|
| 89 |
+
optimum_version: null
|
| 90 |
+
optimum_commit: null
|
| 91 |
+
timm_version: null
|
| 92 |
+
timm_commit: null
|
| 93 |
+
peft_version: null
|
| 94 |
+
peft_commit: null
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${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=/data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task: []
|
| 124 |
+
job:
|
| 125 |
+
name: cli
|
| 126 |
+
chdir: true
|
| 127 |
+
override_dirname: ''
|
| 128 |
+
id: ???
|
| 129 |
+
num: ???
|
| 130 |
+
config_name: text_classification
|
| 131 |
+
env_set:
|
| 132 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 133 |
+
env_copy: []
|
| 134 |
+
config:
|
| 135 |
+
override_dirname:
|
| 136 |
+
kv_sep: '='
|
| 137 |
+
item_sep: ','
|
| 138 |
+
exclude_keys: []
|
| 139 |
+
runtime:
|
| 140 |
+
version: 1.3.2
|
| 141 |
+
version_base: '1.3'
|
| 142 |
+
cwd: /
|
| 143 |
+
config_sources:
|
| 144 |
+
- path: hydra.conf
|
| 145 |
+
schema: pkg
|
| 146 |
+
provider: hydra
|
| 147 |
+
- path: optimum_benchmark
|
| 148 |
+
schema: pkg
|
| 149 |
+
provider: main
|
| 150 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 151 |
+
schema: pkg
|
| 152 |
+
provider: hydra-colorlog
|
| 153 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 154 |
+
schema: file
|
| 155 |
+
provider: command-line
|
| 156 |
+
- path: ''
|
| 157 |
+
schema: structured
|
| 158 |
+
provider: schema
|
| 159 |
+
output_dir: /data/runs/text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35
|
| 160 |
+
choices:
|
| 161 |
+
benchmark: energy_star
|
| 162 |
+
launcher: process
|
| 163 |
+
backend: pytorch
|
| 164 |
+
hydra/env: default
|
| 165 |
+
hydra/callbacks: null
|
| 166 |
+
hydra/job_logging: colorlog
|
| 167 |
+
hydra/hydra_logging: colorlog
|
| 168 |
+
hydra/hydra_help: default
|
| 169 |
+
hydra/help: default
|
| 170 |
+
hydra/sweeper: basic
|
| 171 |
+
hydra/launcher: basic
|
| 172 |
+
hydra/output: default
|
| 173 |
+
verbose: false
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/benchmark_report.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"forward": {
|
| 3 |
+
"memory": null,
|
| 4 |
+
"latency": null,
|
| 5 |
+
"throughput": null,
|
| 6 |
+
"energy": {
|
| 7 |
+
"unit": "kWh",
|
| 8 |
+
"cpu": 4.260452147775747e-05,
|
| 9 |
+
"ram": 3.4592761775505556e-07,
|
| 10 |
+
"gpu": 0.0001664303275886514,
|
| 11 |
+
"total": 0.00020938077668416393
|
| 12 |
+
},
|
| 13 |
+
"efficiency": {
|
| 14 |
+
"unit": "samples/kWh",
|
| 15 |
+
"value": 4775987.632849548
|
| 16 |
+
},
|
| 17 |
+
"measures": [
|
| 18 |
+
{
|
| 19 |
+
"unit": "kWh",
|
| 20 |
+
"cpu": 4.768930666646661e-05,
|
| 21 |
+
"ram": 3.8696443611667573e-07,
|
| 22 |
+
"gpu": 0.0001821493123861373,
|
| 23 |
+
"total": 0.00023022558348872058
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"unit": "kWh",
|
| 27 |
+
"cpu": 4.6940381795846194e-05,
|
| 28 |
+
"ram": 3.8121489929549824e-07,
|
| 29 |
+
"gpu": 0.00018246292374790585,
|
| 30 |
+
"total": 0.00022978452044304757
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"unit": "kWh",
|
| 34 |
+
"cpu": 4.6714137484963844e-05,
|
| 35 |
+
"ram": 3.793954227984908e-07,
|
| 36 |
+
"gpu": 0.00017757097538995126,
|
| 37 |
+
"total": 0.00022466450829771356
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"unit": "kWh",
|
| 41 |
+
"cpu": 4.6761999083739494e-05,
|
| 42 |
+
"ram": 3.795202562096357e-07,
|
| 43 |
+
"gpu": 0.0001828726462980157,
|
| 44 |
+
"total": 0.00023001416563796478
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"unit": "kWh",
|
| 48 |
+
"cpu": 4.669321016598487e-05,
|
| 49 |
+
"ram": 3.792265216560366e-07,
|
| 50 |
+
"gpu": 0.00018768403903601794,
|
| 51 |
+
"total": 0.00023475647572365884
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"unit": "kWh",
|
| 55 |
+
"cpu": 4.767671408163651e-05,
|
| 56 |
+
"ram": 3.872217933203246e-07,
|
| 57 |
+
"gpu": 0.00018459459212039064,
|
| 58 |
+
"total": 0.00023265852799534748
|
| 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": 4.784057620854583e-05,
|
| 70 |
+
"ram": 3.8854325756228024e-07,
|
| 71 |
+
"gpu": 0.00019145376427420757,
|
| 72 |
+
"total": 0.0002396828837403157
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"unit": "kWh",
|
| 76 |
+
"cpu": 4.801785357792847e-05,
|
| 77 |
+
"ram": 3.8969878714738733e-07,
|
| 78 |
+
"gpu": 0.00018962904059183217,
|
| 79 |
+
"total": 0.00023803659295690825
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"unit": "kWh",
|
| 83 |
+
"cpu": 4.771103571246286e-05,
|
| 84 |
+
"ram": 3.8749080344422673e-07,
|
| 85 |
+
"gpu": 0.00018588598204205553,
|
| 86 |
+
"total": 0.00023398450855796225
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
"preprocess": {
|
| 91 |
+
"memory": null,
|
| 92 |
+
"latency": null,
|
| 93 |
+
"throughput": null,
|
| 94 |
+
"energy": {
|
| 95 |
+
"unit": "kWh",
|
| 96 |
+
"cpu": 5.0026916104090765e-06,
|
| 97 |
+
"ram": 3.210765448103274e-08,
|
| 98 |
+
"gpu": 7.458894855982834e-06,
|
| 99 |
+
"total": 1.2493694120872942e-05
|
| 100 |
+
},
|
| 101 |
+
"efficiency": {
|
| 102 |
+
"unit": "samples/kWh",
|
| 103 |
+
"value": 80040377.9959141
|
| 104 |
+
},
|
| 105 |
+
"measures": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/cli.log
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-01 19:17:35,237][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-01 19:17:35,237][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-01 19:17:35,269][device-isolation][INFO] - + Launched device(s) isolation process 66
|
| 4 |
+
[2024-10-01 19:17:35,270][device-isolation][INFO] - + Isolating device(s) [0]
|
| 5 |
+
[2024-10-01 19:17:35,277][process][INFO] - + Launched benchmark in isolated process 67.
|
| 6 |
+
[PROC-0][2024-10-01 19:17:37,871][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 7 |
+
[PROC-0][2024-10-01 19:17:38,845][backend][INFO] - َAllocating pytorch backend
|
| 8 |
+
[PROC-0][2024-10-01 19:17:38,846][backend][INFO] - + Setting random seed to 42
|
| 9 |
+
[PROC-0][2024-10-01 19:17:39,114][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
| 10 |
+
[PROC-0][2024-10-01 19:17:39,114][pytorch][INFO] - + Creating backend temporary directory
|
| 11 |
+
[PROC-0][2024-10-01 19:17:39,114][pytorch][INFO] - + Loading model with random weights
|
| 12 |
+
[PROC-0][2024-10-01 19:17:39,114][pytorch][INFO] - + Creating no weights model
|
| 13 |
+
[PROC-0][2024-10-01 19:17:39,114][pytorch][INFO] - + Creating no weights model directory
|
| 14 |
+
[PROC-0][2024-10-01 19:17:39,115][pytorch][INFO] - + Creating no weights model state dict
|
| 15 |
+
[PROC-0][2024-10-01 19:17:39,117][pytorch][INFO] - + Saving no weights model safetensors
|
| 16 |
+
[PROC-0][2024-10-01 19:17:39,117][pytorch][INFO] - + Saving no weights model pretrained config
|
| 17 |
+
[PROC-0][2024-10-01 19:17:39,118][pytorch][INFO] - + Loading no weights AutoModel
|
| 18 |
+
[PROC-0][2024-10-01 19:17:39,118][pytorch][INFO] - + Loading model directly on device: cuda
|
| 19 |
+
[PROC-0][2024-10-01 19:17:39,380][pytorch][INFO] - + Turning on model's eval mode
|
| 20 |
+
[PROC-0][2024-10-01 19:17:39,386][benchmark][INFO] - Allocating energy_star benchmark
|
| 21 |
+
[PROC-0][2024-10-01 19:17:39,387][energy_star][INFO] - + Loading raw dataset
|
| 22 |
+
[PROC-0][2024-10-01 19:17:40,056][energy_star][INFO] - + Initializing Inference report
|
| 23 |
+
[PROC-0][2024-10-01 19:17:40,056][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 24 |
+
[PROC-0][2024-10-01 19:17:44,248][energy_star][INFO] - + Preprocessing dataset
|
| 25 |
+
[PROC-0][2024-10-01 19:17:44,676][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 26 |
+
[PROC-0][2024-10-01 19:17:44,679][energy_star][INFO] - + Preparing backend for Inference
|
| 27 |
+
[PROC-0][2024-10-01 19:17:44,679][energy_star][INFO] - + Initialising dataloader
|
| 28 |
+
[PROC-0][2024-10-01 19:17:44,680][energy_star][INFO] - + Warming up backend for Inference
|
| 29 |
+
[PROC-0][2024-10-01 19:17:45,201][energy_star][INFO] - + Running Inference energy tracking for 10 iterations
|
| 30 |
+
[PROC-0][2024-10-01 19:17:45,201][energy_star][INFO] - + Iteration 1/10
|
| 31 |
+
[PROC-0][2024-10-01 19:17:49,243][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 32 |
+
[PROC-0][2024-10-01 19:17:49,246][energy_star][INFO] - + Iteration 2/10
|
| 33 |
+
[PROC-0][2024-10-01 19:17:53,228][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 34 |
+
[PROC-0][2024-10-01 19:17:53,233][energy_star][INFO] - + Iteration 3/10
|
| 35 |
+
[PROC-0][2024-10-01 19:17:57,193][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 36 |
+
[PROC-0][2024-10-01 19:17:57,196][energy_star][INFO] - + Iteration 4/10
|
| 37 |
+
[PROC-0][2024-10-01 19:18:01,160][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 38 |
+
[PROC-0][2024-10-01 19:18:01,163][energy_star][INFO] - + Iteration 5/10
|
| 39 |
+
[PROC-0][2024-10-01 19:18:05,124][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 40 |
+
[PROC-0][2024-10-01 19:18:05,127][energy_star][INFO] - + Iteration 6/10
|
| 41 |
+
[PROC-0][2024-10-01 19:18:09,169][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 42 |
+
[PROC-0][2024-10-01 19:18:09,172][energy_star][INFO] - + Iteration 7/10
|
| 43 |
+
[PROC-0][2024-10-01 19:18:13,182][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 44 |
+
[PROC-0][2024-10-01 19:18:13,185][energy_star][INFO] - + Iteration 8/10
|
| 45 |
+
[PROC-0][2024-10-01 19:18:17,240][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 46 |
+
[PROC-0][2024-10-01 19:18:17,243][energy_star][INFO] - + Iteration 9/10
|
| 47 |
+
[PROC-0][2024-10-01 19:18:21,315][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 48 |
+
[PROC-0][2024-10-01 19:18:21,319][energy_star][INFO] - + Iteration 10/10
|
| 49 |
+
[PROC-0][2024-10-01 19:18:25,364][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 50 |
+
[PROC-0][2024-10-01 19:18:25,367][energy][INFO] - + forward energy consumption:
|
| 51 |
+
[PROC-0][2024-10-01 19:18:25,367][energy][INFO] - + CPU: 0.000043 (kWh)
|
| 52 |
+
[PROC-0][2024-10-01 19:18:25,367][energy][INFO] - + GPU: 0.000166 (kWh)
|
| 53 |
+
[PROC-0][2024-10-01 19:18:25,367][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 54 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + total: 0.000209 (kWh)
|
| 55 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + forward_iteration_1 energy consumption:
|
| 56 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 57 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + GPU: 0.000182 (kWh)
|
| 58 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 59 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + total: 0.000230 (kWh)
|
| 60 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + forward_iteration_2 energy consumption:
|
| 61 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 62 |
+
[PROC-0][2024-10-01 19:18:25,368][energy][INFO] - + GPU: 0.000182 (kWh)
|
| 63 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 64 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + total: 0.000230 (kWh)
|
| 65 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + forward_iteration_3 energy consumption:
|
| 66 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 67 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + GPU: 0.000178 (kWh)
|
| 68 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 69 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + total: 0.000225 (kWh)
|
| 70 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + forward_iteration_4 energy consumption:
|
| 71 |
+
[PROC-0][2024-10-01 19:18:25,369][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 72 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + GPU: 0.000183 (kWh)
|
| 73 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 74 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + total: 0.000230 (kWh)
|
| 75 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + forward_iteration_5 energy consumption:
|
| 76 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 77 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + GPU: 0.000188 (kWh)
|
| 78 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 79 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + total: 0.000235 (kWh)
|
| 80 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + forward_iteration_6 energy consumption:
|
| 81 |
+
[PROC-0][2024-10-01 19:18:25,370][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 82 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + GPU: 0.000185 (kWh)
|
| 83 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 84 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + total: 0.000233 (kWh)
|
| 85 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + forward_iteration_7 energy consumption:
|
| 86 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + CPU: 0.000000 (kWh)
|
| 87 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + GPU: 0.000000 (kWh)
|
| 88 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 89 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + total: 0.000000 (kWh)
|
| 90 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + forward_iteration_8 energy consumption:
|
| 91 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 92 |
+
[PROC-0][2024-10-01 19:18:25,371][energy][INFO] - + GPU: 0.000191 (kWh)
|
| 93 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 94 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + total: 0.000240 (kWh)
|
| 95 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + forward_iteration_9 energy consumption:
|
| 96 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 97 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + GPU: 0.000190 (kWh)
|
| 98 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 99 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + total: 0.000238 (kWh)
|
| 100 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + forward_iteration_10 energy consumption:
|
| 101 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 102 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + GPU: 0.000186 (kWh)
|
| 103 |
+
[PROC-0][2024-10-01 19:18:25,372][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 104 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + total: 0.000234 (kWh)
|
| 105 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + preprocess energy consumption:
|
| 106 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + CPU: 0.000005 (kWh)
|
| 107 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + GPU: 0.000007 (kWh)
|
| 108 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 109 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + total: 0.000012 (kWh)
|
| 110 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + forward energy efficiency: 4775987.632850 (samples/kWh)
|
| 111 |
+
[PROC-0][2024-10-01 19:18:25,373][energy][INFO] - + preprocess energy efficiency: 80040377.995914 (samples/kWh)
|
| 112 |
+
[2024-10-01 19:18:26,002][device-isolation][INFO] - + Closing device(s) isolation process...
|
| 113 |
+
[2024-10-01 19:18:26,056][datasets][INFO] - PyTorch version 2.4.0 available.
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/experiment_config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_classification",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-classification",
|
| 8 |
+
"model": "lvwerra/distilbert-imdb",
|
| 9 |
+
"processor": "lvwerra/distilbert-imdb",
|
| 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": true,
|
| 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_classification",
|
| 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 |
+
"call_kwargs": {}
|
| 77 |
+
},
|
| 78 |
+
"environment": {
|
| 79 |
+
"cpu": " AMD EPYC 7R32",
|
| 80 |
+
"cpu_count": 48,
|
| 81 |
+
"cpu_ram_mb": 200472.73984,
|
| 82 |
+
"system": "Linux",
|
| 83 |
+
"machine": "x86_64",
|
| 84 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 85 |
+
"processor": "x86_64",
|
| 86 |
+
"python_version": "3.9.20",
|
| 87 |
+
"gpu": [
|
| 88 |
+
"NVIDIA A10G"
|
| 89 |
+
],
|
| 90 |
+
"gpu_count": 1,
|
| 91 |
+
"gpu_vram_mb": 24146608128,
|
| 92 |
+
"optimum_benchmark_version": "0.2.0",
|
| 93 |
+
"optimum_benchmark_commit": null,
|
| 94 |
+
"transformers_version": "4.44.0",
|
| 95 |
+
"transformers_commit": null,
|
| 96 |
+
"accelerate_version": "0.33.0",
|
| 97 |
+
"accelerate_commit": null,
|
| 98 |
+
"diffusers_version": "0.30.0",
|
| 99 |
+
"diffusers_commit": null,
|
| 100 |
+
"optimum_version": null,
|
| 101 |
+
"optimum_commit": null,
|
| 102 |
+
"timm_version": null,
|
| 103 |
+
"timm_commit": null,
|
| 104 |
+
"peft_version": null,
|
| 105 |
+
"peft_commit": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/forward_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:18:25",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "a6f42b22-00c0-4a36-9d59-397582f53253",
|
| 5 |
+
"duration": -1727580654.2330382,
|
| 6 |
+
"emissions": 8.637172600261395e-05,
|
| 7 |
+
"emissions_rate": 2.13816591502115e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 165.67962005758133,
|
| 10 |
+
"ram_power": 0.34543418884277344,
|
| 11 |
+
"cpu_energy": 4.771103571246286e-05,
|
| 12 |
+
"gpu_energy": 0.00018588598204205553,
|
| 13 |
+
"ram_energy": 3.8749080344422673e-07,
|
| 14 |
+
"energy_consumed": 0.00023398450855796225,
|
| 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_classification/lvwerra/distilbert-imdb/2024-10-01-19-17-35/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:17:44",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "a6f42b22-00c0-4a36-9d59-397582f53253",
|
| 5 |
+
"duration": -1727580657.850911,
|
| 6 |
+
"emissions": 4.611852006865629e-06,
|
| 7 |
+
"emissions_rate": 1.093499566834929e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 63.710496193228956,
|
| 10 |
+
"ram_power": 0.2747640609741211,
|
| 11 |
+
"cpu_energy": 5.0026916104090765e-06,
|
| 12 |
+
"gpu_energy": 7.458894855982834e-06,
|
| 13 |
+
"ram_energy": 3.210765448103274e-08,
|
| 14 |
+
"energy_consumed": 1.2493694120872942e-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_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-classification
|
| 6 |
+
model: lvwerra/distilbert-imdb
|
| 7 |
+
processor: lvwerra/distilbert-imdb
|
| 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: true
|
| 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_classification
|
| 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 |
+
call_kwargs: {}
|
| 67 |
+
experiment_name: text_classification
|
| 68 |
+
environment:
|
| 69 |
+
cpu: ' AMD EPYC 7R32'
|
| 70 |
+
cpu_count: 48
|
| 71 |
+
cpu_ram_mb: 200472.73984
|
| 72 |
+
system: Linux
|
| 73 |
+
machine: x86_64
|
| 74 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 75 |
+
processor: x86_64
|
| 76 |
+
python_version: 3.9.20
|
| 77 |
+
gpu:
|
| 78 |
+
- NVIDIA A10G
|
| 79 |
+
gpu_count: 1
|
| 80 |
+
gpu_vram_mb: 24146608128
|
| 81 |
+
optimum_benchmark_version: 0.2.0
|
| 82 |
+
optimum_benchmark_commit: null
|
| 83 |
+
transformers_version: 4.44.0
|
| 84 |
+
transformers_commit: null
|
| 85 |
+
accelerate_version: 0.33.0
|
| 86 |
+
accelerate_commit: null
|
| 87 |
+
diffusers_version: 0.30.0
|
| 88 |
+
diffusers_commit: null
|
| 89 |
+
optimum_version: null
|
| 90 |
+
optimum_commit: null
|
| 91 |
+
timm_version: null
|
| 92 |
+
timm_commit: null
|
| 93 |
+
peft_version: null
|
| 94 |
+
peft_commit: null
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${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=/data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task: []
|
| 124 |
+
job:
|
| 125 |
+
name: cli
|
| 126 |
+
chdir: true
|
| 127 |
+
override_dirname: ''
|
| 128 |
+
id: ???
|
| 129 |
+
num: ???
|
| 130 |
+
config_name: text_classification
|
| 131 |
+
env_set:
|
| 132 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 133 |
+
env_copy: []
|
| 134 |
+
config:
|
| 135 |
+
override_dirname:
|
| 136 |
+
kv_sep: '='
|
| 137 |
+
item_sep: ','
|
| 138 |
+
exclude_keys: []
|
| 139 |
+
runtime:
|
| 140 |
+
version: 1.3.2
|
| 141 |
+
version_base: '1.3'
|
| 142 |
+
cwd: /
|
| 143 |
+
config_sources:
|
| 144 |
+
- path: hydra.conf
|
| 145 |
+
schema: pkg
|
| 146 |
+
provider: hydra
|
| 147 |
+
- path: optimum_benchmark
|
| 148 |
+
schema: pkg
|
| 149 |
+
provider: main
|
| 150 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 151 |
+
schema: pkg
|
| 152 |
+
provider: hydra-colorlog
|
| 153 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 154 |
+
schema: file
|
| 155 |
+
provider: command-line
|
| 156 |
+
- path: ''
|
| 157 |
+
schema: structured
|
| 158 |
+
provider: schema
|
| 159 |
+
output_dir: /data/runs/text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30
|
| 160 |
+
choices:
|
| 161 |
+
benchmark: energy_star
|
| 162 |
+
launcher: process
|
| 163 |
+
backend: pytorch
|
| 164 |
+
hydra/env: default
|
| 165 |
+
hydra/callbacks: null
|
| 166 |
+
hydra/job_logging: colorlog
|
| 167 |
+
hydra/hydra_logging: colorlog
|
| 168 |
+
hydra/hydra_help: default
|
| 169 |
+
hydra/help: default
|
| 170 |
+
hydra/sweeper: basic
|
| 171 |
+
hydra/launcher: basic
|
| 172 |
+
hydra/output: default
|
| 173 |
+
verbose: false
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/cli.log
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-01 19:18:30,814][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-01 19:18:30,815][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-01 19:18:30,826][device-isolation][INFO] - + Launched device(s) isolation process 66
|
| 4 |
+
[2024-10-01 19:18:30,826][device-isolation][INFO] - + Isolating device(s) [0]
|
| 5 |
+
[2024-10-01 19:18:30,833][process][INFO] - + Launched benchmark in isolated process 67.
|
| 6 |
+
[PROC-0][2024-10-01 19:18:33,466][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 7 |
+
[PROC-0][2024-10-01 19:18:34,452][backend][INFO] - َAllocating pytorch backend
|
| 8 |
+
[PROC-0][2024-10-01 19:18:34,452][backend][INFO] - + Setting random seed to 42
|
| 9 |
+
[PROC-0][2024-10-01 19:18:35,428][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
| 10 |
+
[PROC-0][2024-10-01 19:18:35,428][pytorch][INFO] - + Creating backend temporary directory
|
| 11 |
+
[PROC-0][2024-10-01 19:18:35,429][pytorch][INFO] - + Loading model with random weights
|
| 12 |
+
[PROC-0][2024-10-01 19:18:35,429][pytorch][INFO] - + Creating no weights model
|
| 13 |
+
[PROC-0][2024-10-01 19:18:35,429][pytorch][INFO] - + Creating no weights model directory
|
| 14 |
+
[PROC-0][2024-10-01 19:18:35,429][pytorch][INFO] - + Creating no weights model state dict
|
| 15 |
+
[PROC-0][2024-10-01 19:18:35,431][pytorch][INFO] - + Saving no weights model safetensors
|
| 16 |
+
[PROC-0][2024-10-01 19:18:35,432][pytorch][INFO] - + Saving no weights model pretrained config
|
| 17 |
+
[PROC-0][2024-10-01 19:18:35,433][pytorch][INFO] - + Loading no weights AutoModel
|
| 18 |
+
[PROC-0][2024-10-01 19:18:35,433][pytorch][INFO] - + Loading model directly on device: cuda
|
| 19 |
+
[PROC-0][2024-10-01 19:18:35,717][pytorch][INFO] - + Turning on model's eval mode
|
| 20 |
+
[PROC-0][2024-10-01 19:18:35,723][benchmark][INFO] - Allocating energy_star benchmark
|
| 21 |
+
[PROC-0][2024-10-01 19:18:35,723][energy_star][INFO] - + Loading raw dataset
|
| 22 |
+
[PROC-0][2024-10-01 19:18:36,671][energy_star][INFO] - + Initializing Inference report
|
| 23 |
+
[PROC-0][2024-10-01 19:18:36,672][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 24 |
+
[PROC-0][2024-10-01 19:18:40,851][energy_star][INFO] - + Preprocessing dataset
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-18-30/experiment_config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_classification",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-classification",
|
| 8 |
+
"model": "lvwerra/distilbert-imdb",
|
| 9 |
+
"processor": "lvwerra/distilbert-imdb",
|
| 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": true,
|
| 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_classification",
|
| 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 |
+
"call_kwargs": {}
|
| 77 |
+
},
|
| 78 |
+
"environment": {
|
| 79 |
+
"cpu": " AMD EPYC 7R32",
|
| 80 |
+
"cpu_count": 48,
|
| 81 |
+
"cpu_ram_mb": 200472.73984,
|
| 82 |
+
"system": "Linux",
|
| 83 |
+
"machine": "x86_64",
|
| 84 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 85 |
+
"processor": "x86_64",
|
| 86 |
+
"python_version": "3.9.20",
|
| 87 |
+
"gpu": [
|
| 88 |
+
"NVIDIA A10G"
|
| 89 |
+
],
|
| 90 |
+
"gpu_count": 1,
|
| 91 |
+
"gpu_vram_mb": 24146608128,
|
| 92 |
+
"optimum_benchmark_version": "0.2.0",
|
| 93 |
+
"optimum_benchmark_commit": null,
|
| 94 |
+
"transformers_version": "4.44.0",
|
| 95 |
+
"transformers_commit": null,
|
| 96 |
+
"accelerate_version": "0.33.0",
|
| 97 |
+
"accelerate_commit": null,
|
| 98 |
+
"diffusers_version": "0.30.0",
|
| 99 |
+
"diffusers_commit": null,
|
| 100 |
+
"optimum_version": null,
|
| 101 |
+
"optimum_commit": null,
|
| 102 |
+
"timm_version": null,
|
| 103 |
+
"timm_commit": null,
|
| 104 |
+
"peft_version": null,
|
| 105 |
+
"peft_commit": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend:
|
| 2 |
+
name: pytorch
|
| 3 |
+
version: 2.4.0
|
| 4 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 5 |
+
task: text-classification
|
| 6 |
+
model: lvwerra/distilbert-imdb
|
| 7 |
+
processor: lvwerra/distilbert-imdb
|
| 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: true
|
| 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_classification
|
| 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 |
+
call_kwargs: {}
|
| 67 |
+
experiment_name: text_classification
|
| 68 |
+
environment:
|
| 69 |
+
cpu: ' AMD EPYC 7R32'
|
| 70 |
+
cpu_count: 48
|
| 71 |
+
cpu_ram_mb: 200472.73984
|
| 72 |
+
system: Linux
|
| 73 |
+
machine: x86_64
|
| 74 |
+
platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
|
| 75 |
+
processor: x86_64
|
| 76 |
+
python_version: 3.9.20
|
| 77 |
+
gpu:
|
| 78 |
+
- NVIDIA A10G
|
| 79 |
+
gpu_count: 1
|
| 80 |
+
gpu_vram_mb: 24146608128
|
| 81 |
+
optimum_benchmark_version: 0.2.0
|
| 82 |
+
optimum_benchmark_commit: null
|
| 83 |
+
transformers_version: 4.44.0
|
| 84 |
+
transformers_commit: null
|
| 85 |
+
accelerate_version: 0.33.0
|
| 86 |
+
accelerate_commit: null
|
| 87 |
+
diffusers_version: 0.30.0
|
| 88 |
+
diffusers_commit: null
|
| 89 |
+
optimum_version: null
|
| 90 |
+
optimum_commit: null
|
| 91 |
+
timm_version: null
|
| 92 |
+
timm_commit: null
|
| 93 |
+
peft_version: null
|
| 94 |
+
peft_commit: null
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: sweeps/${experiment_name}/${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=/data/runs/${experiment_name}/${backend.model}/${now:%Y-%m-%d-%H-%M-%S}
|
| 122 |
+
- hydra.mode=RUN
|
| 123 |
+
task: []
|
| 124 |
+
job:
|
| 125 |
+
name: cli
|
| 126 |
+
chdir: true
|
| 127 |
+
override_dirname: ''
|
| 128 |
+
id: ???
|
| 129 |
+
num: ???
|
| 130 |
+
config_name: text_classification
|
| 131 |
+
env_set:
|
| 132 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 133 |
+
env_copy: []
|
| 134 |
+
config:
|
| 135 |
+
override_dirname:
|
| 136 |
+
kv_sep: '='
|
| 137 |
+
item_sep: ','
|
| 138 |
+
exclude_keys: []
|
| 139 |
+
runtime:
|
| 140 |
+
version: 1.3.2
|
| 141 |
+
version_base: '1.3'
|
| 142 |
+
cwd: /
|
| 143 |
+
config_sources:
|
| 144 |
+
- path: hydra.conf
|
| 145 |
+
schema: pkg
|
| 146 |
+
provider: hydra
|
| 147 |
+
- path: optimum_benchmark
|
| 148 |
+
schema: pkg
|
| 149 |
+
provider: main
|
| 150 |
+
- path: hydra_plugins.hydra_colorlog.conf
|
| 151 |
+
schema: pkg
|
| 152 |
+
provider: hydra-colorlog
|
| 153 |
+
- path: /optimum-benchmark/examples/energy_star
|
| 154 |
+
schema: file
|
| 155 |
+
provider: command-line
|
| 156 |
+
- path: ''
|
| 157 |
+
schema: structured
|
| 158 |
+
provider: schema
|
| 159 |
+
output_dir: /data/runs/text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19
|
| 160 |
+
choices:
|
| 161 |
+
benchmark: energy_star
|
| 162 |
+
launcher: process
|
| 163 |
+
backend: pytorch
|
| 164 |
+
hydra/env: default
|
| 165 |
+
hydra/callbacks: null
|
| 166 |
+
hydra/job_logging: colorlog
|
| 167 |
+
hydra/hydra_logging: colorlog
|
| 168 |
+
hydra/hydra_help: default
|
| 169 |
+
hydra/help: default
|
| 170 |
+
hydra/sweeper: basic
|
| 171 |
+
hydra/launcher: basic
|
| 172 |
+
hydra/output: default
|
| 173 |
+
verbose: false
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/benchmark_report.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"forward": {
|
| 3 |
+
"memory": null,
|
| 4 |
+
"latency": null,
|
| 5 |
+
"throughput": null,
|
| 6 |
+
"energy": {
|
| 7 |
+
"unit": "kWh",
|
| 8 |
+
"cpu": 4.266393853194031e-05,
|
| 9 |
+
"ram": 3.4665989535233225e-07,
|
| 10 |
+
"gpu": 0.00016836457913599334,
|
| 11 |
+
"total": 0.00021137517756328596
|
| 12 |
+
},
|
| 13 |
+
"efficiency": {
|
| 14 |
+
"unit": "samples/kWh",
|
| 15 |
+
"value": 4730924.470545265
|
| 16 |
+
},
|
| 17 |
+
"measures": [
|
| 18 |
+
{
|
| 19 |
+
"unit": "kWh",
|
| 20 |
+
"cpu": 4.7530642727077886e-05,
|
| 21 |
+
"ram": 3.8606025568381555e-07,
|
| 22 |
+
"gpu": 0.0001853851483080149,
|
| 23 |
+
"total": 0.00023330185129077655
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"unit": "kWh",
|
| 27 |
+
"cpu": 4.738324727292012e-05,
|
| 28 |
+
"ram": 3.849445379185505e-07,
|
| 29 |
+
"gpu": 0.0001832601466079664,
|
| 30 |
+
"total": 0.00023102833841880512
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"unit": "kWh",
|
| 34 |
+
"cpu": 4.739282785904935e-05,
|
| 35 |
+
"ram": 3.8512579460033693e-07,
|
| 36 |
+
"gpu": 0.00018434098080599703,
|
| 37 |
+
"total": 0.00023211893445964667
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"unit": "kWh",
|
| 41 |
+
"cpu": 4.697727643540223e-05,
|
| 42 |
+
"ram": 3.817560603545082e-07,
|
| 43 |
+
"gpu": 0.0001861507044760291,
|
| 44 |
+
"total": 0.00023350973697178591
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"unit": "kWh",
|
| 48 |
+
"cpu": 4.7635639366671966e-05,
|
| 49 |
+
"ram": 3.871280953400939e-07,
|
| 50 |
+
"gpu": 0.0001859029265000034,
|
| 51 |
+
"total": 0.00023392569396201552
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"unit": "kWh",
|
| 55 |
+
"cpu": 4.691363451527451e-05,
|
| 56 |
+
"ram": 3.8125916546713195e-07,
|
| 57 |
+
"gpu": 0.00018823459503192197,
|
| 58 |
+
"total": 0.0002355294887126636
|
| 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": 4.7470307519451016e-05,
|
| 70 |
+
"ram": 3.857454732798674e-07,
|
| 71 |
+
"gpu": 0.00018852265081792385,
|
| 72 |
+
"total": 0.0002363787038106547
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"unit": "kWh",
|
| 76 |
+
"cpu": 4.797277234024983e-05,
|
| 77 |
+
"ram": 3.89746227983841e-07,
|
| 78 |
+
"gpu": 0.00019253932069807078,
|
| 79 |
+
"total": 0.00024090183926630442
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"unit": "kWh",
|
| 83 |
+
"cpu": 4.736303728330619e-05,
|
| 84 |
+
"ram": 3.8483334289517675e-07,
|
| 85 |
+
"gpu": 0.00018930931811400598,
|
| 86 |
+
"total": 0.0002370571887402072
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
"preprocess": {
|
| 91 |
+
"memory": null,
|
| 92 |
+
"latency": null,
|
| 93 |
+
"throughput": null,
|
| 94 |
+
"energy": {
|
| 95 |
+
"unit": "kWh",
|
| 96 |
+
"cpu": 5.02041641244533e-06,
|
| 97 |
+
"ram": 3.224512999262444e-08,
|
| 98 |
+
"gpu": 7.722228399953401e-06,
|
| 99 |
+
"total": 1.2774889942391356e-05
|
| 100 |
+
},
|
| 101 |
+
"efficiency": {
|
| 102 |
+
"unit": "samples/kWh",
|
| 103 |
+
"value": 78278560.87289377
|
| 104 |
+
},
|
| 105 |
+
"measures": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/cli.log
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2024-10-01 19:21:19,583][launcher][INFO] - ََAllocating process launcher
|
| 2 |
+
[2024-10-01 19:21:19,583][process][INFO] - + Setting multiprocessing start method to spawn.
|
| 3 |
+
[2024-10-01 19:21:19,594][device-isolation][INFO] - + Launched device(s) isolation process 66
|
| 4 |
+
[2024-10-01 19:21:19,595][device-isolation][INFO] - + Isolating device(s) [0]
|
| 5 |
+
[2024-10-01 19:21:19,602][process][INFO] - + Launched benchmark in isolated process 67.
|
| 6 |
+
[PROC-0][2024-10-01 19:21:22,226][datasets][INFO] - PyTorch version 2.4.0 available.
|
| 7 |
+
[PROC-0][2024-10-01 19:21:23,166][backend][INFO] - َAllocating pytorch backend
|
| 8 |
+
[PROC-0][2024-10-01 19:21:23,166][backend][INFO] - + Setting random seed to 42
|
| 9 |
+
[PROC-0][2024-10-01 19:21:24,202][pytorch][INFO] - + Using AutoModel class AutoModelForSequenceClassification
|
| 10 |
+
[PROC-0][2024-10-01 19:21:24,202][pytorch][INFO] - + Creating backend temporary directory
|
| 11 |
+
[PROC-0][2024-10-01 19:21:24,202][pytorch][INFO] - + Loading model with random weights
|
| 12 |
+
[PROC-0][2024-10-01 19:21:24,202][pytorch][INFO] - + Creating no weights model
|
| 13 |
+
[PROC-0][2024-10-01 19:21:24,202][pytorch][INFO] - + Creating no weights model directory
|
| 14 |
+
[PROC-0][2024-10-01 19:21:24,203][pytorch][INFO] - + Creating no weights model state dict
|
| 15 |
+
[PROC-0][2024-10-01 19:21:24,205][pytorch][INFO] - + Saving no weights model safetensors
|
| 16 |
+
[PROC-0][2024-10-01 19:21:24,205][pytorch][INFO] - + Saving no weights model pretrained config
|
| 17 |
+
[PROC-0][2024-10-01 19:21:24,206][pytorch][INFO] - + Loading no weights AutoModel
|
| 18 |
+
[PROC-0][2024-10-01 19:21:24,206][pytorch][INFO] - + Loading model directly on device: cuda
|
| 19 |
+
[PROC-0][2024-10-01 19:21:24,479][pytorch][INFO] - + Turning on model's eval mode
|
| 20 |
+
[PROC-0][2024-10-01 19:21:24,485][benchmark][INFO] - Allocating energy_star benchmark
|
| 21 |
+
[PROC-0][2024-10-01 19:21:24,485][energy_star][INFO] - + Loading raw dataset
|
| 22 |
+
[PROC-0][2024-10-01 19:21:25,223][energy_star][INFO] - + Initializing Inference report
|
| 23 |
+
[PROC-0][2024-10-01 19:21:25,223][energy][INFO] - + Tracking GPU energy on devices [0]
|
| 24 |
+
[PROC-0][2024-10-01 19:21:29,422][energy_star][INFO] - + Preprocessing dataset
|
| 25 |
+
[PROC-0][2024-10-01 19:21:29,850][energy][INFO] - + Saving codecarbon emission data to preprocess_codecarbon.json
|
| 26 |
+
[PROC-0][2024-10-01 19:21:29,853][energy_star][INFO] - + Preparing backend for Inference
|
| 27 |
+
[PROC-0][2024-10-01 19:21:29,853][energy_star][INFO] - + Initialising dataloader
|
| 28 |
+
[PROC-0][2024-10-01 19:21:29,854][energy_star][INFO] - + Warming up backend for Inference
|
| 29 |
+
[PROC-0][2024-10-01 19:21:30,349][energy_star][INFO] - + Running Inference energy tracking for 10 iterations
|
| 30 |
+
[PROC-0][2024-10-01 19:21:30,349][energy_star][INFO] - + Iteration 1/10
|
| 31 |
+
[PROC-0][2024-10-01 19:21:34,378][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 32 |
+
[PROC-0][2024-10-01 19:21:34,380][energy_star][INFO] - + Iteration 2/10
|
| 33 |
+
[PROC-0][2024-10-01 19:21:38,397][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 34 |
+
[PROC-0][2024-10-01 19:21:38,401][energy_star][INFO] - + Iteration 3/10
|
| 35 |
+
[PROC-0][2024-10-01 19:21:42,418][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 36 |
+
[PROC-0][2024-10-01 19:21:42,421][energy_star][INFO] - + Iteration 4/10
|
| 37 |
+
[PROC-0][2024-10-01 19:21:46,404][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 38 |
+
[PROC-0][2024-10-01 19:21:46,407][energy_star][INFO] - + Iteration 5/10
|
| 39 |
+
[PROC-0][2024-10-01 19:21:50,445][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 40 |
+
[PROC-0][2024-10-01 19:21:50,448][energy_star][INFO] - + Iteration 6/10
|
| 41 |
+
[PROC-0][2024-10-01 19:21:54,425][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 42 |
+
[PROC-0][2024-10-01 19:21:54,427][energy_star][INFO] - + Iteration 7/10
|
| 43 |
+
[PROC-0][2024-10-01 19:21:58,411][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 44 |
+
[PROC-0][2024-10-01 19:21:58,414][energy_star][INFO] - + Iteration 8/10
|
| 45 |
+
[PROC-0][2024-10-01 19:22:02,438][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 46 |
+
[PROC-0][2024-10-01 19:22:02,442][energy_star][INFO] - + Iteration 9/10
|
| 47 |
+
[PROC-0][2024-10-01 19:22:06,509][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 48 |
+
[PROC-0][2024-10-01 19:22:06,512][energy_star][INFO] - + Iteration 10/10
|
| 49 |
+
[PROC-0][2024-10-01 19:22:10,527][energy][INFO] - + Saving codecarbon emission data to forward_codecarbon.json
|
| 50 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + forward energy consumption:
|
| 51 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + CPU: 0.000043 (kWh)
|
| 52 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + GPU: 0.000168 (kWh)
|
| 53 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 54 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + total: 0.000211 (kWh)
|
| 55 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + forward_iteration_1 energy consumption:
|
| 56 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 57 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + GPU: 0.000185 (kWh)
|
| 58 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 59 |
+
[PROC-0][2024-10-01 19:22:10,530][energy][INFO] - + total: 0.000233 (kWh)
|
| 60 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + forward_iteration_2 energy consumption:
|
| 61 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 62 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + GPU: 0.000183 (kWh)
|
| 63 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 64 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + total: 0.000231 (kWh)
|
| 65 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + forward_iteration_3 energy consumption:
|
| 66 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 67 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + GPU: 0.000184 (kWh)
|
| 68 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 69 |
+
[PROC-0][2024-10-01 19:22:10,531][energy][INFO] - + total: 0.000232 (kWh)
|
| 70 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + forward_iteration_4 energy consumption:
|
| 71 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 72 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + GPU: 0.000186 (kWh)
|
| 73 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 74 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + total: 0.000234 (kWh)
|
| 75 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + forward_iteration_5 energy consumption:
|
| 76 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 77 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + GPU: 0.000186 (kWh)
|
| 78 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 79 |
+
[PROC-0][2024-10-01 19:22:10,532][energy][INFO] - + total: 0.000234 (kWh)
|
| 80 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + forward_iteration_6 energy consumption:
|
| 81 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 82 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + GPU: 0.000188 (kWh)
|
| 83 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 84 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + total: 0.000236 (kWh)
|
| 85 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + forward_iteration_7 energy consumption:
|
| 86 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + CPU: 0.000000 (kWh)
|
| 87 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + GPU: 0.000000 (kWh)
|
| 88 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 89 |
+
[PROC-0][2024-10-01 19:22:10,533][energy][INFO] - + total: 0.000000 (kWh)
|
| 90 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + forward_iteration_8 energy consumption:
|
| 91 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 92 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + GPU: 0.000189 (kWh)
|
| 93 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 94 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + total: 0.000236 (kWh)
|
| 95 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + forward_iteration_9 energy consumption:
|
| 96 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + CPU: 0.000048 (kWh)
|
| 97 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + GPU: 0.000193 (kWh)
|
| 98 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 99 |
+
[PROC-0][2024-10-01 19:22:10,534][energy][INFO] - + total: 0.000241 (kWh)
|
| 100 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + forward_iteration_10 energy consumption:
|
| 101 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + CPU: 0.000047 (kWh)
|
| 102 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + GPU: 0.000189 (kWh)
|
| 103 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 104 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + total: 0.000237 (kWh)
|
| 105 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + preprocess energy consumption:
|
| 106 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + CPU: 0.000005 (kWh)
|
| 107 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + GPU: 0.000008 (kWh)
|
| 108 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + RAM: 0.000000 (kWh)
|
| 109 |
+
[PROC-0][2024-10-01 19:22:10,535][energy][INFO] - + total: 0.000013 (kWh)
|
| 110 |
+
[PROC-0][2024-10-01 19:22:10,536][energy][INFO] - + forward energy efficiency: 4730924.470545 (samples/kWh)
|
| 111 |
+
[PROC-0][2024-10-01 19:22:10,536][energy][INFO] - + preprocess energy efficiency: 78278560.872894 (samples/kWh)
|
| 112 |
+
[2024-10-01 19:22:11,131][device-isolation][INFO] - + Closing device(s) isolation process...
|
| 113 |
+
[2024-10-01 19:22:11,179][datasets][INFO] - PyTorch version 2.4.0 available.
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/experiment_config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "text_classification",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-classification",
|
| 8 |
+
"model": "lvwerra/distilbert-imdb",
|
| 9 |
+
"processor": "lvwerra/distilbert-imdb",
|
| 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": true,
|
| 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_classification",
|
| 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 |
+
"call_kwargs": {}
|
| 77 |
+
},
|
| 78 |
+
"environment": {
|
| 79 |
+
"cpu": " AMD EPYC 7R32",
|
| 80 |
+
"cpu_count": 48,
|
| 81 |
+
"cpu_ram_mb": 200472.73984,
|
| 82 |
+
"system": "Linux",
|
| 83 |
+
"machine": "x86_64",
|
| 84 |
+
"platform": "Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 85 |
+
"processor": "x86_64",
|
| 86 |
+
"python_version": "3.9.20",
|
| 87 |
+
"gpu": [
|
| 88 |
+
"NVIDIA A10G"
|
| 89 |
+
],
|
| 90 |
+
"gpu_count": 1,
|
| 91 |
+
"gpu_vram_mb": 24146608128,
|
| 92 |
+
"optimum_benchmark_version": "0.2.0",
|
| 93 |
+
"optimum_benchmark_commit": null,
|
| 94 |
+
"transformers_version": "4.44.0",
|
| 95 |
+
"transformers_commit": null,
|
| 96 |
+
"accelerate_version": "0.33.0",
|
| 97 |
+
"accelerate_commit": null,
|
| 98 |
+
"diffusers_version": "0.30.0",
|
| 99 |
+
"diffusers_commit": null,
|
| 100 |
+
"optimum_version": null,
|
| 101 |
+
"optimum_commit": null,
|
| 102 |
+
"timm_version": null,
|
| 103 |
+
"timm_commit": null,
|
| 104 |
+
"peft_version": null,
|
| 105 |
+
"peft_commit": null
|
| 106 |
+
}
|
| 107 |
+
}
|
text_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/forward_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:22:10",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "a4609e1f-c533-456f-8bf6-28ba55ba7cdd",
|
| 5 |
+
"duration": -1727750784.2951422,
|
| 6 |
+
"emissions": 8.750595789014414e-05,
|
| 7 |
+
"emissions_rate": 2.182205858635412e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 170.00339141921057,
|
| 10 |
+
"ram_power": 0.34564733505249023,
|
| 11 |
+
"cpu_energy": 4.736303728330619e-05,
|
| 12 |
+
"gpu_energy": 0.00018930931811400598,
|
| 13 |
+
"ram_energy": 3.8483334289517675e-07,
|
| 14 |
+
"energy_consumed": 0.0002370571887402072,
|
| 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_classification/lvwerra/distilbert-imdb/2024-10-01-19-21-19/preprocess_codecarbon.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2024-10-01T19:21:29",
|
| 3 |
+
"project_name": "codecarbon",
|
| 4 |
+
"run_id": "a4609e1f-c533-456f-8bf6-28ba55ba7cdd",
|
| 5 |
+
"duration": -1727750787.8838358,
|
| 6 |
+
"emissions": 4.715651051507304e-06,
|
| 7 |
+
"emissions_rate": 1.119145951252703e-05,
|
| 8 |
+
"cpu_power": 42.5,
|
| 9 |
+
"gpu_power": 65.72069424710368,
|
| 10 |
+
"ram_power": 0.2749357223510742,
|
| 11 |
+
"cpu_energy": 5.02041641244533e-06,
|
| 12 |
+
"gpu_energy": 7.722228399953401e-06,
|
| 13 |
+
"ram_energy": 3.224512999262444e-08,
|
| 14 |
+
"energy_consumed": 1.2774889942391356e-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 |
+
}
|