Skip to content

Commit

Permalink
change name of full example also
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Jun 7, 2022
1 parent a74a15e commit 73a9f77
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion activitysim/benchmarking/benchmarks/mtc1full.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
template_setup_cache,
)

EXAMPLE_NAME = "example_mtc_full"
EXAMPLE_NAME = "example_gondor_full"
CONFIGS_DIRS = ("configs",)
DYNAMIC_CONFIG_DIR = "bench_configs"
DATA_DIR = "data"
Expand Down
2 changes: 1 addition & 1 deletion activitysim/benchmarking/benchmarks/mtc1mp4.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import numpy as np

PRETTY_NAME = "MTC1_MP4"
EXAMPLE_NAME = "example_mtc_full"
EXAMPLE_NAME = "example_gondor_full"
NUM_PROCESSORS = int(np.clip(multiprocessing.cpu_count() - 2, 2, 4))
CONFIGS_DIRS = ("configs_mp", "configs")
DYNAMIC_CONFIG_DIR = "bench_configs_mp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"source": [
"# Run the Example\n",
"\n",
"The code below runs the example, which runs in a few minutes. The example consists of 100 synthetic households and the first 25 zones in the example model region. The full example (**example_mtc_full**) can be created and downloaded from the [activitysim resources](https://github.com/RSGInc/activitysim_resources) repository using activitysim's create command above. As the model runs, it logs information to the screen. \n",
"The code below runs the example, which runs in a few minutes. The example consists of 100 synthetic households and the first 25 zones in the example model region. The full example (**example_gondor_full**) can be created and downloaded from the [activitysim resources](https://github.com/ActivitySim/activitysim_resources) repository using activitysim's create command above. As the model runs, it logs information to the screen. \n",
"\n",
"To run the example, use activitysim's built-in run command. As shown in the script help, the default settings assume a configs, data, and output folder in the current directory."
]
Expand Down
14 changes: 7 additions & 7 deletions activitysim/examples/example_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
- example_gondor/configs_mp
- example_gondor/output

- name: example_mtc_full
description: Full 1475-zone dataset for the MTC region with 2.8M households and 7.5M persons
# activitysim create -e example_mtc_full -d test_example_mtc_full
# cd test_example_mtc_full
- name: example_gondor_full
description: Gondor example model using data from the full 1475-zone MTC region with 2.8M households and 7.5M persons
# activitysim create -e example_gondor_full -d test_example_gondor_full
# cd test_example_gondor_full
# activitysim run -c configs_mp -c configs -o output -d data
# cd ..
include:
Expand Down Expand Up @@ -62,7 +62,7 @@
- example_arnor/README.MD

- name: example_arnor_full
description: Full 1475-zone dataset for Gondor with 2.8M households and 7.5M persons with extended models
description: Arnor example model using data from the full 1475-zone MTC region with 2.8M households and 7.5M persons
# activitysim create -e example_arnor_full -d test_example_arnor_full
# cd test_example_arnor_full
# activitysim run -c configs_mp -c configs_extended/configs -c configs -o output -d data
Expand Down Expand Up @@ -140,7 +140,7 @@
- example_gondor/output

- name: example_2_zone
description: 2 zone system test example based on TM1
description: 2 zone system test example based on Gondor
# activitysim create -e example_2_zone -d test_example_2_zone
# cd test_example_2_zone
# activitysim run -c configs_2_zone -c configs -d data_2 -o output_2
Expand Down Expand Up @@ -176,7 +176,7 @@
773c89369f748e26309786b42aa4c62b5dd329a931214dd63a11007001de3829

- name: example_3_zone
description: 3 zone system test example based on TM1
description: 3 zone system test example based on Gondor
# activitysim create -e example_3_zone -d test_example_3_zone
# cd test_example_3_zone
# activitysim run -c configs_3_zone -c configs -d data_3 -o output_3 -s settings_static.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ The multiprocessing example also writes outputs to the output folder.
The default multiprocessed example is configured to run with two processors and chunking training: ``num_processes: 2``,
``chunk_size: 0``, and ``chunk_training_mode: training``. Additional more performant configurations are included and
commented out in the example settings file. For example, the 100 percent sample full scale multiprocessing example
- ``example_mtc_full`` - was run on a Windows Server machine with 28 cores and 256GB RAM with the configuration below.
- ``example_gondor_full`` - was run on a Windows Server machine with 28 cores and 256GB RAM with the configuration below.
The default setup runs with ``chunk_training_mode: training`` since no chunk cache file is present. To run the example
significantly faster, try ``chunk_training_mode: disabled`` if the machine has sufficient RAM, or try
``chunk_training_mode: production``. To configure ``chunk_training_mode: production``, first configure chunking as
Expand Down

0 comments on commit 73a9f77

Please sign in to comment.