Skip to content

Conversation

@leewyang
Copy link
Contributor

@leewyang leewyang commented Nov 4, 2019

... to simplify parallel execution use-cases, which now mirrors the TFCluster.run API and map_fn signatures. This sets up the Spark executor environment for tensorflow execution (including GPU allocation), without setting up a TensorFlow cluster (via TF_CONFIG and/or cluster_spec). This does carry some basic knowledge about the rest of the executors/nodes (for data sharding) in the TFNodeContext. This API is an optional helper (specifically for GPU allocation). For CPU use-cases, users can still manually craft their own parallel RDD.mapPartitions() implementations as before.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@leewyang leewyang merged commit df468ff into master Nov 5, 2019
@leewyang leewyang deleted the leewyang_parallel branch November 5, 2019 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants