Changes for page Anaconda + Abhägigkeiten der virtuellen Umgebung
Last modified by René Schmidt on 2025/03/26 15:34
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,20 +33,11 @@ 33 33 conda install cudnn=9.1 34 34 35 35 36 -=== Fehler ===36 +=== Sub-sub paragraph === 37 37 38 -_pickle.UnpicklingError: Weights only load failed. This file can still be loaded, to do so you have two options, do those steps only if you trust the source of the checkpoint. 39 -(1) In PyTorch 2.6, we changed the default value of the weights_only argument in torch.load from False to True. Re-running torch.load with weights_only set to False will likely succeed, but it can result in arbitrary code execution. Do it only if you got the file from a trusted source. 40 -(2) Alternatively, to load with weights_only=True please check the recommended steps in the following error message. 41 -WeightsUnpickler error: Unsupported global: GLOBAL pathlib.PosixPath was not an allowed global by default. Please use torch.serialization.add_safe_globals([PosixPath]) or the torch.serialization.safe_globals([PosixPath]) context manager to allowlist this global if you trust this class/function. 38 +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 42 42 43 43 44 - 45 -just use a version off pytorche lower than 2.6 46 -im using this version on my 4050 and it worked : # CUDA 11.8 47 -pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 ~-~-index-url [[https:~~/~~/download.pytorch.org/whl/cu118>>url:https://download.pytorch.org/whl/cu118]] 48 - 49 - 50 50 = Paragraph 2 = 51 51 52 52 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.