How to stop Fastai downgrading Pytorch (to use CPU) on my local machine(ubuntu)?

Hi, Thankyou very very much for the help.

I don’t know how it happened, But i removed everything(DL setup) ,
And this time i didn’t installed pytorch first.

  • I just setup miniconda,
  • installed fastai , using mamba (which automatically install some pytorch)
  • Then without removing anything, I again installed pytorch using conda.

This upgraded Pytorch to use GPU. (without making any confilcts/issues)

What I’ve done differently this time - (not installing pytorch initially. but after installing fastai.)

1 Like