Git Product home page Git Product logo

Comments (5)

rom1504 avatar rom1504 commented on July 4, 2024 1

Hey why did you close it ?

I think it's a good improvement and people will review the PRs soon

from datacomp.

0x2b3bfa0 avatar 0x2b3bfa0 commented on July 4, 2024

πŸ”” @Vaishaal & @rom1504

from datacomp.

0x2b3bfa0 avatar 0x2b3bfa0 commented on July 4, 2024

future_self

from datacomp.

0x2b3bfa0 avatar 0x2b3bfa0 commented on July 4, 2024

Hello! I closed the issue because it wasn't quite actionable, but rather a β€œnote to my future self” that could eventually become documentation. πŸ™ˆ I'll reopen it if you wish, though.

from datacomp.

0x2b3bfa0 avatar 0x2b3bfa0 commented on July 4, 2024

Alternative version, without containers.

cluster_name: datacomp-downloader

min_workers: 0
max_workers: 10
upscaling_speed: 1.0

provider:
  type: aws
  region: us-east-1
  cache_stopped_nodes: false

available_node_types:
  ray.head.default:
    resources: {}
    node_config:
      InstanceType: m5.12xlarge
      ImageId: ami-068d304eca3399469
      BlockDeviceMappings:
        - DeviceName: /dev/sda1
          Ebs:
            DeleteOnTermination: true
            VolumeSize: 200
            VolumeType: gp2
  ray.worker.default:
    resources: {}
    node_config:
      InstanceType: m5.12xlarge
      ImageId: ami-068d304eca3399469
      BlockDeviceMappings:
        - DeviceName: /dev/sda1
          Ebs:
            DeleteOnTermination: true
            VolumeSize: 200
            VolumeType: gp2

initialization_commands:
  # Knot Resolver
  - wget https://secure.nic.cz/files/knot-resolver/knot-resolver-release.deb
  - sudo dpkg --install knot-resolver-release.deb
  - rm knot-resolver-release.deb
  - sudo apt-get update
  - sudo apt-get install --yes knot-resolver
  - echo $(hostname --all-ip-addresses) $(hostname) | sudo tee --append /etc/hosts
  - sudo systemctl start kresd@{1..48}.service
  - echo nameserver 127.0.0.1 | sudo tee /etc/resolv.conf
  - sudo systemctl stop systemd-resolved
  # Anaconda
  - sudo mkdir /opt/miniconda3 && sudo chown $USER /opt/miniconda3
  - wget https://repo.anaconda.com/miniconda/Miniconda3-py39_22.11.1-1-Linux-x86_64.sh
  - bash Miniconda3-py39_22.11.1-1-Linux-x86_64.sh -f -b -p /opt/miniconda3
  - rm Miniconda3-py39_22.11.1-1-Linux-x86_64.sh
  - /opt/miniconda3/bin/conda init bash
  # Ray
  - conda create --yes --name=ray python=3.10.8
  - echo conda activate ray >> ~/.bashrc
  - pip install ray[all]==2.7.0

setup_commands:
  - sudo apt-get update
  - sudo apt-get install --yes build-essential ffmpeg

from datacomp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.