Skip to content

Instantly share code, notes, and snippets.

@thomasaarholt
Created September 4, 2022 18:54
Show Gist options
  • Save thomasaarholt/21a76aff8df0e0e952ffac3c6f55db0e to your computer and use it in GitHub Desktop.
Save thomasaarholt/21a76aff8df0e0e952ffac3c6f55db0e to your computer and use it in GitHub Desktop.
Working environment for stable diffusion on M1 Mac
name: ldm
channels:
- pytorch-nightly
- conda-forge
dependencies:
- abseil-cpp=20211102.0=he4e09e4_3
- absl-py=1.2.0=pyhd8ed1ab_0
- aiohttp=3.8.1=py310hf8d0d8f_1
- aiosignal=1.2.0=pyhd8ed1ab_0
- albumentations=1.2.1=pyhd8ed1ab_0
- altair=4.2.0=pyhd8ed1ab_1
- antlr-python-runtime=4.7.2=py310hbe9552e_1003
- aom=3.4.0=hbe31e94_1
- appnope=0.1.3=pyhd8ed1ab_0
- arrow-cpp=9.0.0=py310h89f8d10_1_cpu
- asttokens=2.0.8=pyhd8ed1ab_0
- async-timeout=4.0.2=pyhd8ed1ab_0
- attrs=22.1.0=pyh71513ae_1
- aws-c-cal=0.5.11=h4530763_0
- aws-c-common=0.6.2=h3422bc3_0
- aws-c-event-stream=0.2.7=h9972306_13
- aws-c-io=0.10.5=hea86ef8_0
- aws-checksums=0.1.11=h487e1a8_7
- aws-sdk-cpp=1.8.186=hb86bbe7_3
- backcall=0.2.0=pyh9f0ad1d_0
- backports=1.0=py_2
- backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
- blinker=1.4=py_1
- blosc=1.21.1=hd414afc_3
- brotli=1.0.9=h1c322ee_7
- brotli-bin=1.0.9=h1c322ee_7
- brotlipy=0.7.0=py310hf8d0d8f_1004
- brunsli=0.1=h9f76cd9_0
- bzip2=1.0.8=h3422bc3_4
- c-ares=1.18.1=h3422bc3_0
- c-blosc2=2.3.1=h303ed30_0
- ca-certificates=2022.6.15=h4653dfc_0
- cachetools=5.2.0=pyhd8ed1ab_0
- cairo=1.16.0=h73a0509_1013
- certifi=2022.6.15=pyhd8ed1ab_1
- cffi=1.15.1=py310he00a5c5_0
- cfitsio=4.1.0=hd4f5c17_0
- charls=2.3.4=hbdafb3b_0
- charset-normalizer=2.1.1=pyhd8ed1ab_0
- click=8.1.3=py310hbe9552e_0
- cloudpickle=2.1.0=pyhd8ed1ab_0
- colorama=0.4.5=pyhd8ed1ab_0
- coloredlogs=15.0.1=pyhd8ed1ab_3
- commonmark=0.9.1=py_0
- cryptography=37.0.4=py310h94bb23d_0
- cycler=0.11.0=pyhd8ed1ab_0
- cytoolz=0.12.0=py310h02f21da_0
- dask-core=2022.9.0=pyhd8ed1ab_0
- dataclasses=0.8=pyhc8e2a94_3
- dav1d=1.0.0=he4db4b2_1
- debugpy=1.6.3=py310hc6dc59f_0
- decorator=5.1.1=pyhd8ed1ab_0
- einops=0.4.1=pyhd8ed1ab_0
- entrypoints=0.4=pyhd8ed1ab_0
- executing=1.0.0=pyhd8ed1ab_0
- expat=2.4.8=h6b3803e_0
- ffmpeg=4.4.2=gpl_hfdc7bce_107
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
- font-ttf-inconsolata=3.000=h77eed37_0
- font-ttf-source-code-pro=2.038=h77eed37_0
- font-ttf-ubuntu=0.83=hab24e00_0
- fontconfig=2.14.0=hfb34624_0
- fonts-conda-ecosystem=1=0
- fonts-conda-forge=1=0
- fonttools=4.37.1=py310h8e9501a_0
- freetype=2.12.1=hd633e50_0
- frozenlist=1.3.1=py310h8c01e39_0
- fsspec=2022.8.2=pyhd8ed1ab_0
- future=0.18.2=py310hbe9552e_5
- geos=3.11.0=h9a09cb3_0
- gettext=0.19.8.1=h049c9fb_1008
- gflags=2.2.2=hc88da5d_1004
- giflib=5.2.1=h27ca646_2
- gitdb=4.0.9=pyhd8ed1ab_0
- gitpython=3.1.27=pyhd8ed1ab_0
- glog=0.6.0=h6da1cb0_0
- gmp=6.2.1=h9f76cd9_0
- gmpy2=2.1.2=py310h25f46c9_0
- gnutls=3.7.7=h27a1928_0
- google-auth=2.11.0=pyh6c4a22f_0
- google-auth-oauthlib=0.4.6=pyhd8ed1ab_0
- graphite2=1.3.13=h9f76cd9_1001
- grpc-cpp=1.46.4=hcaf9be7_3
- grpcio=1.46.4=py310h3fa7a0a_3
- harfbuzz=5.1.0=hd36a07e_0
- hdf5=1.12.2=nompi_h8968d4b_100
- humanfriendly=10.0=py310hbe9552e_2
- icu=70.1=h6b3803e_0
- imagecodecs=2022.8.8=py310h3eeefd6_4
- imageio=2.21.2=pyhfa7a67d_0
- imageio-ffmpeg=0.4.7=pyhd8ed1ab_0
- imgaug=0.4.0=pyhd8ed1ab_1
- importlib-metadata=4.11.4=py310hbe9552e_0
- importlib_resources=5.9.0=pyhd8ed1ab_0
- ipykernel=6.15.2=pyh736e0ef_0
- ipython=8.4.0=pyhd1c38e8_1
- ipython_genutils=0.2.0=py_1
- ipywidgets=8.0.2=pyhd8ed1ab_0
- jasper=2.0.33=hba35424_0
- jedi=0.18.1=pyhd8ed1ab_2
- jinja2=3.1.2=pyhd8ed1ab_1
- joblib=1.1.0=pyhd8ed1ab_0
- jpeg=9e=he4db4b2_2
- jsonschema=4.15.0=pyhd8ed1ab_0
- jupyter_client=7.3.5=pyhd8ed1ab_0
- jupyter_core=4.11.1=py310hbe9552e_0
- jupyterlab_widgets=3.0.3=pyhd8ed1ab_0
- jxrlib=1.1=h27ca646_2
- kiwisolver=1.4.4=py310hd23d0e8_0
- kornia=0.6.7=pyhd8ed1ab_0
- krb5=1.19.3=hf9b2bbe_0
- lame=3.100=h27ca646_1001
- lcms2=2.12=had6a04f_0
- lerc=4.0.0=h9a09cb3_0
- libabseil=20211102.0=cxx17_h28b99d4_3
- libaec=1.0.6=hbdafb3b_0
- libavif=0.10.1=he4db4b2_1
- libblas=3.9.0=16_osxarm64_openblas
- libbrotlicommon=1.0.9=h1c322ee_7
- libbrotlidec=1.0.9=h1c322ee_7
- libbrotlienc=1.0.9=h1c322ee_7
- libcblas=3.9.0=16_osxarm64_openblas
- libcrc32c=1.1.2=hbdafb3b_0
- libcurl=7.83.1=h2fcd78c_0
- libcxx=14.0.6=h2692d47_0
- libdeflate=1.13=h57fd34a_0
- libedit=3.1.20191231=hc8eb9b7_2
- libev=4.33=h642e427_1
- libevent=2.1.10=hbae9a57_4
- libffi=3.4.2=h3422bc3_5
- libgfortran=5.0.0=11_3_0_hd922786_25
- libgfortran5=11.3.0=hdaf2cc0_25
- libglib=2.72.1=ha1047ec_0
- libgoogle-cloud=1.40.2=h5539620_0
- libiconv=1.16=h642e427_0
- libidn2=2.3.3=he4db4b2_0
- liblapack=3.9.0=16_osxarm64_openblas
- liblapacke=3.9.0=16_osxarm64_openblas
- libnghttp2=1.47.0=h232270b_1
- libopenblas=0.3.21=openmp_hc731615_3
- libopencv=4.6.0=py310hcfd521e_3
- libpng=1.6.37=h9b2ccdc_4
- libprotobuf=3.20.1=hb558339_1
- libsodium=1.0.18=h27ca646_1
- libsqlite=3.39.2=h2c9beb0_1
- libssh2=1.10.0=hb80f160_3
- libtasn1=4.19.0=h1a8c8d9_0
- libthrift=0.16.0=h95ff8ae_1
- libtiff=4.4.0=hd6ca8d7_3
- libunistring=0.9.10=h3422bc3_0
- libutf8proc=2.7.0=h3422bc3_0
- libvpx=1.11.0=hc470f4d_3
- libwebp-base=1.2.4=h57fd34a_0
- libxcb=1.13=h9b22ae9_1004
- libxml2=2.9.14=h9d8dfc2_4
- libzlib=1.2.12=ha287fd2_2
- libzopfli=1.0.3=h9f76cd9_0
- llvm-openmp=14.0.4=hd125106_0
- locket=1.0.0=pyhd8ed1ab_0
- lz4-c=1.9.3=hbdafb3b_1
- markdown=3.4.1=pyhd8ed1ab_0
- markupsafe=2.1.1=py310hf8d0d8f_1
- matplotlib-base=3.5.3=py310h78c5c2f_2
- matplotlib-inline=0.1.6=pyhd8ed1ab_0
- mpc=1.2.1=h309154c_0
- mpfr=4.1.0=h6d7a090_1
- mpmath=1.2.1=pyhd8ed1ab_0
- multidict=6.0.2=py310hf8d0d8f_1
- munkres=1.1.4=pyh9f0ad1d_0
- nbformat=5.4.0=pyhd8ed1ab_0
- ncurses=6.3=h07bb92c_1
- nest-asyncio=1.5.5=pyhd8ed1ab_0
- nettle=3.8.1=h63371fa_1
- networkx=2.8.6=pyhd8ed1ab_0
- nomkl=1.0=h5ca1d4c_0
- numpy=1.23.2=py310h127c7cf_0
- oauthlib=3.2.0=pyhd8ed1ab_0
- omegaconf=2.1.1=py310hbe9552e_1
- onnx=1.12.0=py310h6a668bf_0
- onnxruntime=1.12.1=py310h04277cb_1
- opencv=4.6.0=py310hb6292c7_3
- openh264=2.3.0=h9a09cb3_0
- openjpeg=2.5.0=h5d4e404_1
- openssl=1.1.1q=ha287fd2_0
- orc=1.7.5=h96f55be_0
- p11-kit=0.24.1=h29577a5_0
- packaging=21.3=pyhd8ed1ab_0
- pandas=1.4.4=py310h2b830bf_0
- parquet-cpp=1.5.1=2
- parso=0.8.3=pyhd8ed1ab_0
- partd=1.3.0=pyhd8ed1ab_0
- pcre=8.45=hbdafb3b_0
- pexpect=4.8.0=pyh9f0ad1d_2
- pickleshare=0.7.5=py_1003
- pillow=9.2.0=py310h173adc3_2
- pip=22.2.2=pyhd8ed1ab_0
- pixman=0.40.0=h27ca646_0
- pkgutil-resolve-name=1.3.10=pyhd8ed1ab_0
- prompt-toolkit=3.0.30=pyha770c72_0
- protobuf=3.20.1=py310hb07a4bc_0
- psutil=5.9.1=py310h02f21da_0
- pthread-stubs=0.4=h27ca646_1001
- ptyprocess=0.7.0=pyhd3deb0d_0
- pudb=2022.1=pyhd8ed1ab_1
- pure_eval=0.2.2=pyhd8ed1ab_0
- py-opencv=4.6.0=py310h69fb684_3
- pyarrow=9.0.0=py310h88da7ef_1_cpu
- pyasn1=0.4.8=py_0
- pyasn1-modules=0.2.7=py_0
- pycparser=2.21=pyhd8ed1ab_0
- pydeck=0.7.1=pyh6c4a22f_0
- pydeprecate=0.3.2=pyhd8ed1ab_0
- pygments=2.13.0=pyhd8ed1ab_0
- pyjwt=2.4.0=pyhd8ed1ab_0
- pympler=1.0.1=pyhd8ed1ab_0
- pyopenssl=22.0.0=pyhd8ed1ab_0
- pyparsing=3.0.9=pyhd8ed1ab_0
- pyrsistent=0.18.1=py310hf8d0d8f_1
- pysocks=1.7.1=pyha2e5f31_6
- python=3.10.6=hbce4517_0_cpython
- python-dateutil=2.8.2=pyhd8ed1ab_0
- python-fastjsonschema=2.16.1=pyhd8ed1ab_0
- python-flatbuffers=2.0=pyhd8ed1ab_0
- python-tzdata=2022.2=pyhd8ed1ab_0
- python_abi=3.10=2_cp310
- pytorch=1.13.0.dev20220904=py3.10_0
- pytorch-lightning=1.6.5=pyhd8ed1ab_0
- pytz=2022.2.1=pyhd8ed1ab_0
- pytz-deprecation-shim=0.1.0.post0=py310hbe9552e_2
- pyu2f=0.1.5=pyhd8ed1ab_0
- pywavelets=1.3.0=py310hdaceac9_1
- pyyaml=6.0=py310hf8d0d8f_4
- pyzmq=23.2.1=py310h666594b_0
- qudida=0.0.4=pyhd8ed1ab_0
- re2=2022.06.01=h9a09cb3_0
- readline=8.1.2=h46ed386_0
- requests-oauthlib=1.3.1=pyhd8ed1ab_0
- rich=12.5.1=pyhd8ed1ab_0
- rsa=4.9=pyhd8ed1ab_0
- scikit-image=0.19.3=py310h447c399_1
- scikit-learn=1.1.2=py310h3d7afdd_0
- scipy=1.9.1=py310ha0d8a01_0
- semver=2.13.0=pyh9f0ad1d_0
- setuptools=59.5.0=py310hbe9552e_0
- shapely=1.8.4=py310h2f36b14_0
- six=1.16.0=pyh6c4a22f_0
- smmap=3.0.5=pyh44b312d_0
- snappy=1.1.9=h39c3846_1
- stack_data=0.5.0=pyhd8ed1ab_0
- streamlit=1.12.2=pyhd8ed1ab_1
- svt-av1=1.2.1=he23bcac_0
- sympy=1.10.1=py310hbe9552e_1
- tensorboard=2.9.0=pyhd8ed1ab_0
- tensorboard-data-server=0.6.0=py310hf1846ab_2
- tensorboard-plugin-wit=1.8.1=pyhd8ed1ab_0
- threadpoolctl=3.1.0=pyh8a188c0_0
- tifffile=2022.8.12=pyhd8ed1ab_0
- tk=8.6.12=he1e0b03_0
- toml=0.10.2=pyhd8ed1ab_0
- toolz=0.12.0=pyhd8ed1ab_0
- torchmetrics=0.9.3=pyhd8ed1ab_0
- torchvision=0.14.0.dev20220904=py310_cpu
- tornado=6.2=py310h02f21da_0
- tqdm=4.64.1=pyhd8ed1ab_0
- traitlets=5.3.0=pyhd8ed1ab_0
- typing-extensions=4.3.0=hd8ed1ab_0
- typing_extensions=4.3.0=pyha770c72_0
- tzdata=2022c=h191b570_0
- tzlocal=4.2=py310hbe9552e_1
- unicodedata2=14.0.0=py310hf8d0d8f_1
- urllib3=1.26.11=pyhd8ed1ab_0
- urwid=2.1.2=py310hf8d0d8f_6
- urwid_readline=0.13=pyhd8ed1ab_0
- validators=0.18.2=pyhd3deb0d_0
- watchdog=2.1.9=py310h02f21da_0
- wcwidth=0.2.5=pyh9f0ad1d_2
- werkzeug=2.2.2=pyhd8ed1ab_0
- wheel=0.37.1=pyhd8ed1ab_0
- widgetsnbextension=4.0.3=pyhd8ed1ab_0
- x264=1!164.3095=h57fd34a_2
- x265=3.5=hbc6ce65_3
- xorg-libxau=1.0.9=h27ca646_0
- xorg-libxdmcp=1.1.3=h27ca646_0
- xz=5.2.6=h57fd34a_0
- yaml=0.2.5=h3422bc3_2
- yarl=1.7.2=py310hf8d0d8f_2
- zeromq=4.3.4=hbdafb3b_1
- zfp=1.0.0=h7b19444_1
- zipp=3.8.1=pyhd8ed1ab_0
- zlib=1.2.12=ha287fd2_2
- zlib-ng=2.0.6=he4db4b2_0
- zstd=1.5.2=h8128057_4
- pip:
- accelerate==0.12.0
- chardet==4.0.0
- clean-fid==0.1.28
- diffusers==0.2.4
- docker-pycreds==0.4.0
- filelock==3.8.0
- ftfy==6.1.1
- huggingface-hub==0.9.1
- idna==2.10
- invisible-watermark==0.1.5
- jsonmerge==1.8.0
- k-diffusion==0.0.1
- pathtools==0.1.2
- promise==2.3
- regex==2022.8.17
- requests==2.25.1
- resize-right==0.0.2
- sentry-sdk==1.9.7
- setproctitle==1.3.2
- shortuuid==1.0.9
- test-tube==0.7.5
- tokenizers==0.12.1
- torch-fidelity==0.3.0
- torchdiffeq==0.2.3
- transformers==4.21.2
- wandb==0.13.2
variables:
PYTORCH_ENABLE_MPS_FALLBACK: 1
prefix: /Users/thomas/mambaforge/envs/ldm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment