Skip to content

Instantly share code, notes, and snippets.

# Original code: https://github.com/GoogleCloudPlatform/cloudml-samples/blob/main/molecules/data-extractor.py
# adapted for a minimally reproducible, documented example
import multiprocessing as mp
import signal
# Good for debugging.
FORCE_DISABLE_MULTIPROCESSING = False
#!/usr/bin/env bash
########################################################################################################################
# This is a build script for misc. TensorFlow dependencies which do NOT have pre-compiled packages available for
# M-series (Apple Silicon) macs.
#
# Who: team members who use M1 macs and would like to run the project
#
# Caution: This script will use all available processors (rendering the machine relatively unusable) and will take a
# significant amount of time (about 2h 0m 15s on an M1 mac).