-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose img2dataset distributor #58
Open
0x2b3bfa0
wants to merge
1
commit into
mlfoundations:main
Choose a base branch
from
0x2b3bfa0:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
0x2b3bfa0
commented
Sep 15, 2023
•
edited
Loading
edited
- Needed for Usage with AWS S3 and Ray #59
- Closes Conda environment build issue #66 with Expose img2dataset distributor #58 (comment)
Cool!
…On Fri, Sep 15, 2023, 11:28 Helio Machado ***@***.***> wrote:
Note to self
cluster_name: dvcx-datacomp-downloadermin_workers: 0max_workers: 10upscaling_speed: 1.0available_node_types:
ray.head.default:
resources: {}
node_config:
ImageId: ami-0d8783a0bfd0c4db1 # ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20230106
InstanceType: m5.8xlarge
BlockDeviceMappings:
- DeviceName: /dev/sda1
Ebs:
DeleteOnTermination: true
VolumeSize: 64 # GB
VolumeType: gp2
ray.worker.default:
min_workers: 0
max_workers: 500
resources: {}
node_config:
ImageId: ami-0d8783a0bfd0c4db1 # ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20230106
InstanceType: m5.12xlarge
BlockDeviceMappings:
- DeviceName: /dev/sda1
Ebs:
DeleteOnTermination: true
VolumeSize: 64 # GB
VolumeType: gp2
provider:
type: aws
region: us-east-2
cache_stopped_nodes: false
file_mounts:
.: .
initialization_commands:
- wget https://secure.nic.cz/files/knot-resolver/knot-resolver-release.deb
- sudo DEBIAN_FRONTEND=noninteractive apt install ./knot-resolver-release.deb && sudo apt update
- sudo DEBIAN_FRONTEND=noninteractive apt install --yes knot-resolver ffmpeg libsm6 libxext6 build-essential
- echo $(hostname -I) $(hostname) | sudo tee --append /etc/hosts
- echo nameserver 127.0.0.1 | sudo tee /etc/resolv.conf
- sudo systemctl stop systemd-resolved
- sudo systemctl start kresd@{1..8}.service
setup_commands:
- sudo mkdir --parents /opt/miniconda3 && sudo chown ubuntu:ubuntu /opt/miniconda3
- wget https://repo.anaconda.com/miniconda/Miniconda3-py39_22.11.1-1-Linux-x86_64.sh -O /opt/miniconda3/install.sh
- bash /opt/miniconda3/install.sh -f -b -p /opt/miniconda3
- echo 'export PATH="/opt/miniconda3/bin/:$PATH"' >> ~/.bashrc
- echo 'export AWS_SECRET_ACCESS_KEY=...' >> ~/.bashrc
- echo 'export AWS_ACCESS_KEY_ID=...' >> ~/.bashrc
- echo 'export AWS_SESSION_TOKEN=...' >> ~/.bashrc
- conda env create --file environment.yml && conda init
- conda activate datacomp && pip install --upgrade 'ray[default]'
- conda activate datacomp && pip install s3fs 'cloudpathlib[s3]'
head_setup_commands: []
head_start_ray_commands:
- conda activate datacomp && ray stop
- conda activate datacomp && ray start --head --port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml --dashboard-host=0.0.0.0
worker_start_ray_commands:
- conda activate datacomp && ray stop
- conda activate datacomp && ray start --address=$RAY_HEAD_IP:6379 --object-manager-port=8076
—
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437QVQ6HVFACR6BPAXLLX2QNTHANCNFSM6AAAAAA4ZNB37A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@Vaishaal fyi |
0x2b3bfa0
commented
Oct 3, 2023
@@ -128,7 +128,7 @@ dependencies: | |||
- python-dateutil==2.8.2 | |||
- pytz==2022.6 | |||
- pywavelets==1.4.1 | |||
- pyyaml==5.4.1 | |||
- pyyaml==6.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also #66
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.