Comments (4)
Succes. gRPC run with Tensorflow 2.4.1. Attached the Dockerfile. I don't know exactly whether some steps unnecessary but now it's run.
Dockerfile.grpc241.txt
from seed_rl.
hey !
tensorflow custom ops will only be giving Symbol errors when the 2.X build is different, you can therefore use this docker image:
FROM tensorflow/tensorflow:2.4.0-custom-op-gpu-ubuntu16
and everything should work as expected.
I have modified my WORKSPACE aswell, as I had problems with the vanilla one:
load("//tf:tf_configure.bzl", "tf_configure")
load("//gpu:cuda_configure.bzl", "cuda_configure")
tf_configure(name = "local_config_tf")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_grpc_grpc",
urls = [
"https://github.com/grpc/grpc/archive/ac1c5de1b36da4a1e3d72ca40b0e43f24266121a.tar.gz",
],
strip_prefix = "grpc-ac1c5de1b36da4a1e3d72ca40b0e43f24266121a",
)
http_archive(
name = "com_google_protobuf",
strip_prefix = "protobuf-3.9.0",
urls = [
"https://github.com/protocolbuffers/protobuf/releases/download/v3.9.0/protobuf-all-3.9.0.tar.gz",
],
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
http_archive(
name = "com_google_protobuf",
strip_prefix = "protobuf-3.9.1",
urls = [
"https://github.com/protocolbuffers/protobuf/releases/download/v3.9.1/protobuf-all-3.9.1.tar.gz",
],
)
PS: don't forget to install tensorflow 2.4.1 for the testing:
RUN pip3 install tensorflow-gpu==2.4.1
have a good day.
from seed_rl.
For users having TF 2.4.1 and CUDA 11 dependencies and network issues accessing google-hosted repos and sources, the PR #66 may help.
from seed_rl.
I updated the repository to 2.4.1.
from seed_rl.
Related Issues (20)
- What is the use case for the tensorflow gRPC batched functions? HOT 2
- Is the gcp/train_atari.sh script actually using one GPU device for training? HOT 1
- ERROR: An error occurred during the fetch of repository 'jpeg_archive' HOT 3
- PPO agent event logging could stuck
- Multi-agents support
- "Permission denied" error while running /docker/build.sh HOT 1
- Impossible to run SEED using TPUs with Google Cloud AI Platform HOT 1
- Does SEED ensure that there doesn't end up being a backlog of inferences in the unroll queue? HOT 1
- Update is needed to Dockerfile.dmlab file HOT 1
- Strange loss values from vtrace agent
- Looking for clarification on entropy loss calculations for vtrace agent
- Looking for v-mpo configs/examples
- Need some help about applying IMPALA to Atari game HOT 1
- num_action_repeats=1 flag correct for Atari? HOT 2
- Using tensorflow grpc causes memory leaks when calling to server HOT 1
- Missing learning curve data for `Defender` `Surround` HOT 7
- Trouble reproducing reported training FPS HOT 1
- KL loss implementation is less effective
- Security Policy violation Binary Artifacts HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seed_rl.