Skip to content

Instantly share code, notes, and snippets.

@jasonge27
Created June 26, 2018 06:42
Show Gist options
  • Save jasonge27/a277a412c74f4d65f665cec79532ffff to your computer and use it in GitHub Desktop.
Save jasonge27/a277a412c74f4d65f665cec79532ffff to your computer and use it in GitHub Desktop.
# Basic Usage
Step 1. Install snark through pip3
```
$ pip3 install snark --user
```
Step 2. Go to lab.snark.ai to sign up. Sign in through the CLI
```
$ snark login
```
It will ask you for username and password that you registered on the website.
Step 3. You can start your pod by
```
$ snark start --pod_id kagglepod --pod_type tensorflow -g 2
```
tensorflow pod has TF version 1.8.0 with cuda 9 , cudnn 7 in python3 and keras frontend. -g 2 means 2 GPUs. You will directly login to your pod
Step 4. Stop the pod by
```
$ snark stop --pod_id kagglepod
```
# Persistent Storage
Note that your files will be gone when you stop your pod. Please pull data to your local dir before stopping the pod.
# Data Transfer
You can push/pull data to the pod by snark pull and snark push. Check out the usage
```
$ snark pull --help
$ snark push --help
```
# Usage Monitor
Login to lab.snark.ai to check the GPU hour used and credit left.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment