#160·Dolphin

Dolphin 2 not installable: No module named 'torch'

Author: nkrotCreated Dec 16, 2025Updated Dec 16, 2025

Hi

congrats on releasing Dolphin v2. However it is not installable:

bash
pip install -r requirements.txt

gives me

Collecting flash_attn==2.7.4.post1 (from -r requirements.txt (line 5))                                                                                                           
  Using cached flash_attn-2.7.4.post1.tar.gz (6.0 MB)                                                                                                                            
  Installing build dependencies ... done                                                                                                                                         
  Getting requirements to build wheel ... error                                                                                                                                  
  error: subprocess-exited-with-error                                                                                                                                            
                                                                                                                                                                                 
  × Getting requirements to build wheel did not run successfully.                                                                                                                
  │ exit code: 1                                                                                                                                                                 
  ╰─> [17 lines of output]  
  [skip]
        File "<string>", line 22, in <module>                                                                                                                                    
      ModuleNotFoundError: No module named 'torch'                                                                                                                               
      [end of output]