Open hongruhu opened 4 months ago
Hi,
Thanks for providing this pipeline, but I am also getting error in installing the tf_requierments.yml which is required to run lentiMPRA/representation_perf.ipynb`. I get the following error from
ERROR: No matching distribution found for transformers==4.36.0.dev0
I tried to use a different version of transformers from the other yaml (torch_requirements.yml) for transformers, but it did not work either to run model = AutoModel.from_pretrained("zhihan1996/DNABERT-2-117M", trust_remote_code=True).to('cuda') hidden_states = model(input_ids,attention_mask)[0].cpu().detach().numpy()
But I got following error.
File ~/.cache/huggingface/modules/transformers_modules/zhihan1996/DNABERT-2-117M/d064dece8a8b41d9fb8729fbe3435278786931f1/bert_layers.py:609, in BertModel.forward(self, input_ids, token_type_ids, attention_mask, position_ids, output_all_encoded_layers, masked_tokens_mask, **kwargs) ... --> 781 assert q.is_cuda and k.is_cuda and v.is_cuda
Hi Ziqi,
Thank you and your team for providing this valuable evaluation framework. However, I encountered some issues while trying to build the environment.
Here is one example, the GPN environment YAML file failed to build using conda (error details below). It seems something might be missing or it could be just the issue of the gpn. I assume the reason is that gpn was originally installed by using
pip install git+https://github.com/songlab-cal/gpn.git
.after removing the gpn line it has such error
Additionally, for the torch YAML file, the environment name is identical to the GPN environment, and I was wondering if these two are intended for the same purpose?
Could you please provide updated version of the YAML files in the near future or any additional guidance on how to resolve this issue?
Thank you very much for your assistance.