Skip to content

Commit 2839357

Browse files
authored
fix merge conflict
1 parent 0046e9d commit 2839357

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

StabilityMatrix.Core/Models/Packages/ComfyUI.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)