First: install the CLI program for your distribution: https://cloud.google.com/sdk/install
Modify accordingly:
export REGION='us-central1'
export ZONE='us-central1-f'
export PROJECT_NAME='proj'
First: install the CLI program for your distribution: https://cloud.google.com/sdk/install
Modify accordingly:
export REGION='us-central1'
export ZONE='us-central1-f'
export PROJECT_NAME='proj'
from tqdm import tqdm_notebook as tqdm | |
from joblib import Parallel, delayed | |
import time | |
import random | |
def func(x): | |
time.sleep(random.randint(1, 10)) | |
return x |