-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
My yaml file now:
name: InstantEdit
channels:
- pytorch
- nvidia
- defaults
dependencies:
- _libgcc_mutex=0.1
- _openmp_mutex=5.1
- aom=3.6.0
- blas=1.0
- brotlicffi=1.0.9.2
- bzip2=1.0.8
- ca-certificates=2025.7.15
- cairo=1.16.0
- certifi=2025.8.3
- cffi=1.17.1
- charset-normalizer=3.3.2
- cuda-cudart=12.1.105
- cuda-cupti=12.1.105
- cuda-libraries=12.1.0
- cuda-nvrtc=12.1.105
- cuda-nvtx=12.1.105
- cuda-opencl=12.9.19
- cuda-runtime=12.1.0
- cuda-version=12.9
- dav1d=1.2.1
- expat=2.7.1
- ffmpeg=4.3
- filelock=3.17.0
- fontconfig=2.14.1
- freetype=2.13.3
- fribidi=1.0.10
- gmp=6.3.0
- gmpy2=2.2.1
- gnutls=3.6.15
- graphite2=1.3.14
- harfbuzz=10.2.0
- icu=73.1
- idna=3.7
- intel-openmp=2023.1.0
- jinja2=3.1.6
- jpeg=9e
- lame=3.100
- lcms2=2.16
- ld_impl_linux-64=2.40
- lerc=4.0.0
- libavif=1.1.1
- libcublas=12.1.0.26
- libcufft=11.0.2.4
- libcufile=1.14.1.1
- libcurand=10.3.10.19
- libcusolver=11.4.4.55
- libcusparse=12.0.2.55
- libdeflate=1.22
- libffi=3.4.4
- libgcc-ng=11.2.0
- libglib=2.84.2
- libgomp=11.2.0
- libiconv=1.16
- libidn2=2.3.4
- libjpeg-turbo=2.0.0
- libnpp=12.0.2.50
- libnvjitlink=12.1.105
- libnvjpeg=12.1.1.14
- libpng=1.6.39
- libstdcxx-ng=11.2.0
- libtasn1=4.19.0
- libtiff=4.7.0
- libunistring=0.9.10
- libuuid=1.41.5
- libwebp-base=1.3.2
- libxcb=1.17.0
- libxml2=2.13.8
- llvm-openmp=14.0.6
- lz4-c=1.9.4
- markupsafe=3.0.2
- mkl=2023.1.0
- mkl-service=2.4.0
- mkl_fft=1.3.11
- mkl_random=1.2.8
- mpc=1.3.1
- mpfr=4.2.1
- mpmath=1.3.0
- ncurses=6.5
- nettle=3.7.3
- networkx=3.4.2
- numpy=2.2.5
- numpy-base=2.2.5
- ocl-icd=2.3.2
- openh264=2.1.1
- openjpeg=2.5.2
- openssl=3.0.17
- pcre2=10.42
- pillow=11.3.0
- pip=25.1
- pixman=0.40.0
- pthread-stubs=0.3
- pycparser=2.21
- pysocks=1.7.1
- python=3.10.18
- pytorch=2.3.1
- pytorch-cuda=12.1
- pytorch-mutex=1.0
- pyyaml=6.0.2
- readline=8.3
- requests=2.32.4
- setuptools=72.1.0
- sqlite=3.50.2
- sympy=1.13.3
- tbb=2021.8.0
- tk=8.6.14
- torchaudio=2.3.1
- torchtriton=2.3.1
- torchvision=0.18.1
- typing_extensions=4.12.2
- tzdata=2025b
- urllib3=2.5.0
- wheel=0.45.1
- xorg-libx11=1.8.12
- xorg-libxau=1.0.12
- xorg-libxdmcp=1.1.5
- xorg-libxext=1.3.6
- xorg-libxrender=0.9.12
- xorg-xorgproto=2024.1
- xz=5.6.4
- yaml=0.2.5
- zlib=1.2.13
- zstd=1.5.6
- pip:
- accelerate==1.10.0
- diffusers==0.34.0
- fsspec==2025.7.0
- hf-xet==1.1.7
- huggingface-hub==0.34.4
- importlib-metadata==8.7.0
- lightning-utilities==0.15.2
- opencv-python-headless==4.12.0.88
- packaging==25.0
- psutil==7.0.0
- regex==2025.7.34
- safetensors==0.6.2
- tokenizers==0.21.4
- torchmetrics==1.8.1
- tqdm==4.67.1
- transformers==4.55.0
- zipp==3.23.0
Also need a fix to line 84 of utils_/ptp_utils.py:
Replace the line with:
to_out = attn.to_out[0]
try:
hidden_states = to_out(hidden_states, scale=scale) # works if LoRA wrapper is present
except TypeError:
hidden_states = to_out(hidden_states) # fallback for plain Linear
Metadata
Metadata
Assignees
Labels
No labels