joemzhao
joemzhao
I guess AdaptiveAvgPool2d was not in the required versions: torch==0.2.0.post3 torchvision==0.1.9; it was newly added: https://github.com/pytorch/vision/pull/747 so I guess (with higher versions of pytorch) one can skip this when doing...
> did you fix it? I meet the same issus. I'm trying set num_threads to 0 now. it'll takes hours to know... Hi Weifeng @Weifeng-Chen, I wonder if setting num_threads==0...
https://github.com/lucidrains/toolformer-pytorch/blob/main/toolformer_pytorch/toolformer_pytorch.py#L195 api_stop should be "]" rather than " ]", which leads to different regex so the tools are not called.