AndyL

AndyL

My dev machines are old and can’t handle Axon training runs. I’d like to use rent-by-the-hour GPU enabled servers from an outfit like Linode, Digital Ocean, GCP, Azure, AWS, etc.

What provider is best? Any tips on optimal configuration re: Ram, CPU, GPU?

Thanks in Advance!

Showing Posts 1 to 3

te_chris

te_chris

Worth checking out GCP Vertex AI. Gemini Enterprise Agent Platform serverless training overview  |  Google Cloud Documentation

They have a nice api where you can run one off training jobs with gpus. Just need to spec a docker container.

seanmor5

seanmor5

Author of Genetic Algorithms in Elixir

It’s worth noting that you can prototype on GPUs with Colab for free:

https://github.com/jonatanklosko/livebook_setups/tree/main/colab

lucaong

lucaong

Reviving this thread to add that I recently tried https://brev.dev and I must say that the first impression is great: you can spin up a development environment in minutes, add/remove a GPU as needed, and fully customize it to your needs. There are some rough edges, you can feel it’s a startup, but the idea is pretty good.

It is a sweet spot somewhere between setting up your own cloud instance from scratch, and running your notebook on Colab: you fully control your machine, which is a Linux instance, but do not have to mess with the details of the AWS/Google Cloud configuration, and can start from a template that already includes most of what you need.

For example, starting from the base Python + Jupyter template, I installed Elixir and a couple of other tools, and I had an environment capable of running Nx, Axon and Livebook on the GPU in minutes.

Some things are great:

  • Choosing CPU/GPU and changing hardware as needed is really simple
  • It’s really just a Linux box, so setting it up to your needs is easy if you know your way around Linux
  • You are not limited in the tools to use: there are templates to set up Python for ML, but you can just install Elixir and whatever you want on top of it. At the same time, the templates save you from having to figure out yourself details like GPU drivers, etc.
  • Auto stop of idle instances can save you from wasting money if you forget to switch it off
  • Integration with VSCode is super smooth (I mostly use terminal Vim, which was just as easy as copying my config files there, but simple VSCode integration is a great plus)

Some things are not as polished as I would like, for example:

  • copying files between your local machine and the remote one could use better tooling: you can simply scp, but you have to figure out the host, where Brev put its SSH key (in ~/.brev/brev.pem), and which user it uses, all things that could be automated by a brev scp command.
  • port forwarding (to reach Livebook or a dev server from your local machine) is available, but could be made more convenient with some manifest file, so you would not have to re-do it every time you start your dev environment. In general, I’d prefer to have my configuration scripted, rather than relying on the web UI, which is sometimes lacking
  • In general, you can feel it’s an early stage startup, with all the possible drawbacks. I am not sure if I would trust them enough yet to commit to them for a use case that would lock me in

In sum, I like the concept: spinning up cloud-based on demand development environments that you fully control, but starting from useful templates that solve the most common needs.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews