ValueError: Your setup doesn't support bf16/gpu. You need torch>=1.10, using Ampere GPU with cuda>=11.0

Author: GUORUIWANGCreated Mar 24, 2023Updated Jul 2, 2025

Is Ampere GPU with cuda 11.0 a necessary condition? How to solve this error? Thank you

Source: tatsu-lab/stanford_alpaca