[2023-02-04 16:21:35.606917] EPOCH 0...
2023-02-04 16:21:51.414814: E tensorflow/stream_executor/cuda/cuda_blas.cc:652] failed to run cuBLAS routine cublasSgemm_v2: CUBLAS_STATUS_EXECUTION_FAILED
Traceback (most recent call last):
File "03_train_gcnn.py", line 253, in <module>
n = pretrain(model=model, dataloader=pretrain_data)
File "03_train_gcnn.py", line 49, in pretrain
if not model.pre_train(batched_states, tf.convert_to_tensor(True)):
File "/scratch/anji/rush_exps/learn2branch/models/baseline/model.py", line 260, in pre_train
self.call(*args, **kwargs)
File "/scratch/anji/rush_exps/learn2branch/models/baseline/model.py", line 418, in call
constraint_features = self.cons_embedding(constraint_features)
File "/home/anji/softwares/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 757, in __call__
outputs = self.call(inputs, *args, **kwargs)
File "/home/anji/softwares/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/keras/engine/sequential.py", line 232, in call
inputs, training=training, mask=mask)
File "/home/anji/softwares/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/keras/engine/sequential.py", line 250, in _call_and_compute_mask
x = layer.call(x, **kwargs)
File "/home/anji/softwares/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/keras/layers/core.py", line 970, in call
outputs = gen_math_ops.mat_mul(inputs, self.kernel)
File "/home/anji/softwares/miniconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/ops/gen_math_ops.py", line 4586, in mat_mul
_six.raise_from(_core._status_to_exception(e.code, message), None)
File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.InternalError: Blas GEMM launch failed : a.shape=(66090, 5), b.shape=(5, 64), m=66090, n=64, k=5 [Op:MatMul]
I am wondering if there is something wrong with my environment. But I followed the install.md and use python 3.6 and tensorflow-gpu 1.12.0. I will appreciate it if you could help solve the problem.
Hello,
Thanks for your great work. I am currently trying to reproduce it and stuck with some problems about tensorflow. I have successfully generated training dataset for setcover and meet the following Error when I run the
python 03_train_gcnn.py setcover -m baseline:I am wondering if there is something wrong with my environment. But I followed the
install.mdand usepython 3.6andtensorflow-gpu 1.12.0. I will appreciate it if you could help solve the problem.