openvino_notebooks icon indicating copy to clipboard operation
openvino_notebooks copied to clipboard

[Torch FX] Stable Diffusion v3

Open anzr299 opened this issue 1 year ago • 1 comments

Notebook which includes quantizing and compressing Stable diffusion v3 model with Torch FX.

anzr299 avatar Oct 21 '24 16:10 anzr299

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@eaidova the PR is ready to review. Could you help @anzr299 to pass tests?

alexsu52 avatar Nov 15 '24 07:11 alexsu52

@anzr299 @alexsu52 tests failed because notebook can not install nncf

Are you sure that branch name is correct? I tried execute command locally: pip install git+https://github.com/openvinotoolkit/nncf.git@release_2140 it failed with error: pathspec 'release_2140' did not match any file(s) known to git

probably should be release_v2140

https://github.com/openvinotoolkit/nncf/tree/release_v2140

eaidova avatar Nov 15 '24 08:11 eaidova

@anzr299 @alexsu52 tests failed because notebook can not install nncf

Are you sure that branch name is correct? I tried execute command locally: pip install git+https://github.com/openvinotoolkit/nncf.git@release_2140 it failed with error: pathspec 'release_2140' did not match any file(s) known to git

Sorry, it is release_v2140. I just pushed the changes

anzr299 avatar Nov 15 '24 08:11 anzr299

Additionally you need to fill notebook metadata for opportunity to show it on notebooks webpage https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/CONTRIBUTING.md#notebooks-metadata

I think you can reuse meta from stable-diffusion-v3 notebook as base:

"openvino_notebooks": {
   "imageUrl": "https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/ac99098c-66ec-4b7b-9e01-e80625f1dc3f",
   "tags": {
    "categories": [
     "Model Demos",
     "AI Trends"
    ],
    "libraries": [],
    "other": [
     "Stable Diffusion"
    ],
    "tasks": [
     "Text-to-Image"
    ]
   }
  }

eaidova avatar Nov 15 '24 08:11 eaidova

@anzr299 please also provide description for your notebook in https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/stable-diffusion-v3/README.md

eaidova avatar Nov 18 '24 08:11 eaidova