/home/yurenh2/miniconda3/lib/python3.13/site-packages/torch/autograd/graph.py:865: UserWarning: Attempting to run cuBLAS, but there was no current CUDA context! Attempting to set the primary context... (Triggered internally at /pytorch/aten/src/ATen/cuda/CublasHandlePool.cpp:330.) return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass argmin(fast): cos=0.9667 0.8773 0.8941 mean=0.9127 trend+avg: cos=0.9726 0.8893 0.9448 mean=0.9356 NEWSTOP_GATE_DONE