File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
StabilityMatrix.Core/Models/Packages Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -356,29 +356,6 @@ public override async Task InstallPackage(
356356 pipArgs = torchVersion switch
357357 {
358358 TorchIndex . DirectMl => pipArgs . WithTorchDirectML ( ) ,
359- < < << << < HEAD
360- _
361- => pipArgs
362- . AddArg ( "--upgrade" )
363- . WithTorch ( )
364- . WithTorchVision ( )
365- . WithTorchAudio ( )
366- . WithTorchExtraIndex (
367- torchVersion switch
368- {
369- TorchIndex . Cpu => "cpu" ,
370- TorchIndex . Cuda => "cu128" ,
371- TorchIndex . Rocm => "rocm6.2.4" ,
372- TorchIndex . Mps => "cpu" ,
373- _
374- => throw new ArgumentOutOfRangeException (
375- nameof ( torchVersion ) ,
376- torchVersion ,
377- null
378- )
379- }
380- )
381- == = == ==
382359 _ => pipArgs
383360 . AddArg ( "--upgrade" )
384361 . WithTorch ( )
@@ -395,7 +372,6 @@ public override async Task InstallPackage(
395372 _ => throw new ArgumentOutOfRangeException ( nameof ( torchVersion ) , torchVersion , null ) ,
396373 }
397374 ) ,
398- > > >>> >> c422920b ( Merge pull request #1076 from ionite34/ fix- legacy - gpu )
399375 } ;
400376
401377 var requirements = new FilePath ( installLocation , "requirements.txt" ) ;
You can’t perform that action at this time.
0 commit comments