Skip to content

Commit 72f1fe4

Browse files
committed
revert open clip
1 parent 9c0735d commit 72f1fe4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/launch_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,6 @@ def prepare_environment():
527527
amd_gpus = []
528528
try:
529529
amd_gpus = rocm.get_agents()
530-
print('ROCm: AMD toolkit detected')
531530
except Exception as e:
532531
print(f'ROCm agent enumerator failed: {e}')
533532

@@ -536,6 +535,7 @@ def prepare_environment():
536535
print('No ROCm agent was found. Please make sure that graphics driver is installed and up to date.')
537536
backend = "cpu"
538537
else:
538+
print('ROCm: AMD toolkit detected')
539539
print(f'ROCm: agents={[gpu.name for gpu in amd_gpus]}')
540540
if args.device_id is None:
541541
index = 0

requirements_versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ kornia==0.6.7
1717
lark==1.1.2
1818
numpy==1.26.4
1919
omegaconf==2.2.3
20-
open-clip-torch==3.2.0
20+
open-clip-torch==2.20.0
2121
onnx==1.16.2
2222
onnxruntime
2323
optimum==1.25.3
2424
olive-ai
2525
piexif==1.1.3
26-
protobuf==4.25.3
26+
protobuf==3.20.2
2727
psutil==5.9.5
2828
pytorch_lightning==1.9.4
2929
resize-right==0.0.2

0 commit comments

Comments
 (0)