This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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). |