Skip to content

Commit

Permalink
Supporting of lfs and GIT_LFS_SKIP_SMUDGE in stable_diffusion_xl_git_…
Browse files Browse the repository at this point in the history
…recipe
  • Loading branch information
maria-18-git committed Feb 8, 2024
1 parent edd5cc5 commit c20bdb4
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions stable_diffusion_xl_git_recipe/data_axs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
{
"_producer_rules": [
[ [ "git_repo", "repo_name=stable_diffusion_xl_base_1.0_git" ], [["get_kernel"],["byname","git"],["clone"]], {
}, [ "url" ] ]
[ [ "git_repo", "repo_name=stable_diffusion_xl_base_1.0_git" ], [
["get_kernel"],
["byname","git"],
["clone"],
["run",[],{
"cmd_key": "generic",
"rest_of_cmd": "lfs pull -I vae_decoder/model.onnx",
"capture_output": false,
"get_and_return_on_success": "__entry__"
}]
], {}, [ "url", "env" ] ]
],
"url": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0"
"url": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0",
"env": {
"GIT_LFS_SKIP_SMUDGE": "1"
}
}

0 comments on commit c20bdb4

Please sign in to comment.