Anyone attempted to convert stablediffusion tensorflow to tf lite?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/tensorflow

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Write Clean Python Code. Always.
  • SaaSHub - Software Alternatives and Reviews
  • stable-diffusion-tensorflow

    Stable Diffusion in TensorFlow / Keras

    was curious if someone attempted the conversion? I tried here https://github.com/divamgupta/stable-diffusion-tensorflow/issues/58 but having some input shapes error. First time trying the conversion here, would love to run it on a edge tpu.

  • tensorflow

    An Open Source Machine Learning Framework for Everyone

    ``` Downloading data from https://github.com/openai/CLIP/blob/main/clip/bpe\_simple\_vocab\_16e6.txt.gz?raw=true 1356917/1356917 [==============================] - 0s 0us/step WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/autograph/pyct/static_analysis/liveness.py:83: Analyzer.lamba_check (from tensorflow.python.autograph.pyct.static_analysis.liveness) is deprecated and will be removed after 2023-09-23. Instructions for updating: Lambda fuctions will be no more assumed to be used in the statement where they are used, or at least in the same block. https://github.com/tensorflow/tensorflow/issues/56089 By using this model checkpoint, you acknowledge that its usage is subject to the terms of the CreativeML Open RAIL-M license at https://raw.githubusercontent.com/CompVis/stable-diffusion/main/LICENSE Downloading data from https://huggingface.co/fchollet/stable-diffusion/resolve/main/kcv\_encoder.h5 492466864/492466864 [==============================] - 7s 0us/step Downloading data from https://huggingface.co/fchollet/stable-diffusion/resolve/main/kcv\_diffusion\_model.h5 3439090152/3439090152 [==============================] - 85s 0us/step Downloading data from https://huggingface.co/fchollet/stable-diffusion/resolve/main/kcv\_decoder.h5 198180272/198180272 [==============================] - 3s 0us/step ``` I attempted to save the model from Keras_cv but it throws the same error.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • keras-cv

    Industry-strength Computer Vision workflows with Keras

    Good idea, I just opened a github issue on KerasCV, tagged Lukewood :) https://github.com/keras-team/keras-cv/issues/1033

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts