tensorflow / minigo

An open-source implementation of the AlphaGoZero algorithm
Apache License 2.0
3.47k stars 561 forks source link

Problem while building tpu-image #1019

Open huynq55 opened 3 years ago

huynq55 commented 3 years ago

I got this problem while building tpu-image: ERROR: Skipping 'cc/selfplay': no such target '//cc:selfplay': target 'selfplay' not declared in package 'cc' defined by /app/cc/BUILD I check that the file cc/selfplay was deleted. The Dockerfile-tpu might be not updated. Please check and help.

huynq55 commented 3 years ago

I change cc/selfplay to cc/concurrent_selfplay and build the image, but the following error occur: error: 'google::cloud::bigtable::bigendian64_t' has not been declared. The cause of the problem is because bigendian64_t has been removed in this PR: https://github.com/googleapis/google-cloud-cpp/pull/2068

huynq55 commented 3 years ago

Another problem:

cc/tf_bt_utils.cc:94:24: error: 'Model' has not been declared
                        Model::FeatureType feature_type, const Game& game) {
tommadams commented 3 years ago

Yeah, sorry :(

Unfortunately the TPU code is a little stale and we don't have the bandwidth at the moment to work on it.

If you're not planning on using Cloud BigTable, you can try disabling support, with something like bazel build -c opt --define=board_size=19 --define=bt=0 ...