Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Data paths and options when using EleutherAI cluster
{
"data-path": "/run/determined/workdir/shared_fs/data/enron/enron_text_document",
# or for weighted datasets:
# "train-data-paths": ["/mnt/ssd-1/data/enron/enron_text_document", "/mnt/ssd-cluster/data/enron/enron_text_document"],
# "test-data-paths": ["/mnt/ssd-1/data/enron/enron_text_document", "/mnt/ssd-cluster/data/enron/enron_text_document"],
Expand All @@ -9,8 +8,14 @@
# "test-data-weights": [2., 1.],
# "valid-data-weights": [0.5, 0.4],

"vocab-file": "/run/determined/workdir/shared_fs/data/gpt2-vocab.json",
"merge-file": "/run/determined/workdir/shared_fs/data/gpt2-merges.txt",
# Use docker image data for now.
"data-path": "/gpt-neox/data/enron/enron_text_document",
"vocab-file": "/gpt-neox/data/gpt2-vocab.json",
"merge-file": "/gpt-neox/data/gpt2-merges.txt",
# TODO(daran.he|liam) Use shared fs data.
# "data-path": "/run/determined/workdir/shared_fs/data/enron/enron_text_document",
# "vocab-file": "/run/determined/workdir/shared_fs/data/gpt2-vocab.json",
# "merge-file": "/run/determined/workdir/shared_fs/data/gpt2-merges.txt",
"save": "/tmp/checkpoints",
"load": "/tmp/checkpoints",
"log-dir": null,
Expand Down
7 changes: 2 additions & 5 deletions examples/deepspeed/gpt_neox/startup-hook.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
export PYTHONPATH=$PYTHONPATH:/gpt-neox

# Copy dataset from docker image to shared filesystem
# Use data in docker image and copy over needed configs.
USER=$(whoami)
mkdir /tmp/${USER}
mkdir -p /run/determined/workdir/shared_fs/data
cp -r -n /gpt-neox/data /run/determined/workdir/shared_fs/

cd /run/determined/workdir
cp gpt_neox_config/determined_cluster.yml /gpt-neox/configs
cp gpt_neox_config/* /gpt-neox/configs