Carefully follow these READMEs:
- To install pyenv + python: https://github.com/pyenv/pyenv
- To install pyenv-virtualenv: https://github.com/pyenv/pyenv-virtualenv
These are the commands I used on MacOS with ZSH:
brew update
/** | |
* A JavaScript map that lazily expires entries on read | |
* @param ttl TTL in seconds | |
* @param autoGc Optional garbage collection interval in seconds | |
* @example new LazyExpireMap({ ttl : 60, autoGc: 60 }) | |
*/ | |
export class LazyExpireMap extends Map { | |
constructor({ ttl, autoGc } = {}) { | |
super() |
Carefully follow these READMEs:
These are the commands I used on MacOS with ZSH:
brew update
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
Installation of Tensorflow2 with GPU support is easy and the only complication can be arisen from the CUDA compability which in turns depends on the Nvidia driver version. Before going farther, please check if your Nvidia Video Card is compatible with the required versions that are defined in this gist, use this link.
Tensorflow offers in its website a table of the compatibility between libraries for the target OS. You can visit that website in the following COMPATIBILITY TABLE that points to the Tensorflow installation from source for linux. For the time writing this gist, Tensorflow2 v2.5.0 requires CUDA v11.2 and CUDNN v8.2. It is really important to match the exact version, otherwise tensorflow will have problems loading the shared libraries as not finding the correct version.
CUDA version also requires for a minimum Nvidia driver version