Fooocus VS can-ai-code

Compare Fooocus vs can-ai-code and see what are their differences.

Fooocus

Focus on prompting and generating (by lllyasviel)

can-ai-code

Self-evaluating interview for AI coders (by the-crypt-keeper)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Fooocus can-ai-code
34 30
35,143 440
- -
9.8 9.5
5 days ago 9 days ago
Python Python
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Fooocus

Posts with mentions or reviews of Fooocus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-28.
  • AI, but at what cost? The energy-inefficient AI era is already here
    2 projects | dev.to | 28 Mar 2024
    But we can come to a pretty realistic (although not as accurate) conclusion if we put our minds to it. I chose Fooocus for this example, which is the most straightforward (and I believe popular) stable diffusion GUI out there. Let's start simple:
  • How to Persist Data in Google Colab Using JuiceFS
    1 project | dev.to | 28 Mar 2024
    # Install the JuiceFS client. !curl -sSL https://d.juicefs.com/install | sh - # Mount the JuiceFS file system. !juicefs mount rediss://:[email protected]/1 myjfs -d # Create the directory structure for Fooocus models in JuiceFS. !mkdir -p myjfs/models/{checkpoints,loras,embeddings,vae_approx,upscale_models,inpaint,controlnet,clip_vision} # Clone the Fooocus repository. !git clone https://github.com/lllyasviel/Fooocus.git
  • Stable Cascade
    8 projects | news.ycombinator.com | 13 Feb 2024
    That looks very impressive unless the demo is cherrypicked, would be great if this could be implemented into a frontend like Fooocus https://github.com/lllyasviel/Fooocus
  • Stable Code 3B: Coding on the Edge
    7 projects | news.ycombinator.com | 16 Jan 2024
    You might be thinking of Fooocus: https://github.com/lllyasviel/Fooocus

    The Stable Diffusion web interface that got a lot of people's attention originally was Automatic1111: https://github.com/AUTOMATIC1111/stable-diffusion-webui

    Fooocus is definitely more beginner friendly. It does a lot of the prompt engineering for you. Automatic1111 has a ton of plugins, most notably ControlNet which gives you fine grained control over the images, but there is a learning curve.

  • Ask HN: How are you using ChatGPT for yourself?
    2 projects | news.ycombinator.com | 26 Dec 2023
    I just installed this last night on my laptop:

    https://github.com/lllyasviel/Fooocus

    Highly recommend:

    >"Looking up from the deck of golden gate bridge at the towers and metal work, the towers rise and arch back in an ominous and foreboding manner. more artistic, like an alphonse mucha propaganda poster - slightly fish-eye feeling" -- https://i.imgur.com/vyNg79f.jpg

    the local UI and 1.27.0.0.1 - https://i.imgur.com/wRwghuN.jpg

  • It took SEVEN MINUTES to do this using fooocus on a 1060 3g with 16 ram. Can I make it faster?
    1 project | /r/StableDiffusion | 11 Dec 2023
    Why not use the Google Colab notebook while it's still a free option at: https://github.com/lllyasviel/Fooocus It's not bad. I've been using the Colab Fooocus notebook and A1111 on Sage with the 4 free hours of GPU time. The Colab has the Juggernaut model preloaded, but I combined some code from another notebook to add other models and loras.
  • Could I use SDXL on a 4gb VRAM?
    1 project | /r/StableDiffusion | 10 Dec 2023
  • Looking for an open source Image generator with no limits
    1 project | /r/ImageGenerators | 9 Dec 2023
    i'm trying to test the abilities of image generators and the risks that can comes with it. and i'm looking for an image generator that work locally and has no limits. i used the Fooocus project from github and the juggernut model and it's capable of generating nude pictures but not fully nude pictures. and it doesn't work will with bloody scenes. any recommendation for a better model
  • What is the licensing of SD models/frameworks?
    1 project | /r/StableDiffusion | 9 Dec 2023
    I recently saw this video from Fireship and I started wondering about licensing of SD models and frameworks. Fireship shows Fooocus and advertises it as a cool solution. What I started wondering about is, Fooocus downloads a couple of models: Juggernaut XL, some control nets, some loras. What licensing is tied to all of this? One I am most insterested in is JuggernautXL, on civitai it's listed as having CreativeML Open RAIL++-M license but in the description there's remark: For business inquires, commercial licensing, custom models, and consultation contact me under [email protected] There's a lot of separate parts going on in AI frameworks and it's a bit unclear to understand if I can use this commercialy.
  • What AI is best for this kind of pictures?
    1 project | /r/civitai | 7 Dec 2023
    For running locally w/o a lot of "hazzle" i would recommend using https://github.com/lllyasviel/Fooocus and the "Sticker" style, which is available within the UI (Advanced tab). If you need lot of text directly in you images, you may have difficulties with SD and other AI models. In this case LoRas could help. Example: https://civitai.com/posts/880523 (check details for used prompt) In this case i used the following LoRa (a LoRa is kind of specialized submodel for style, concept or person) .

can-ai-code

Posts with mentions or reviews of can-ai-code. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-29.
  • Ask HN: Code Llama 70B on a dedicated server
    1 project | news.ycombinator.com | 1 Mar 2024
    You can run a Q4 quant of a 70B model in about 40GB of RAM (+context). You're single user (batch size 1, bs=1) inference speed will be basically memory bottlenecked, so on a dual channel dedicated box you'd expect somewhere about 1 token/s. That's inference, prefill/prompt generation will take even longer (as your chat history grows) on CPU. So falls into the realm of technically possible, but not for real world use.

    If you're looking specifically for CodeLlama 70B, Artificial Analysis https://artificialanalysis.ai/models/codellama-instruct-70b/... lists Perplexity, Together.ai, Deep Infra, and Fireworks as potential hosts, with Together.ai and Deepinfra at about $0.9/1M tokens, with about 30 tokens/s and about 300ms latency (time to first token).

    For those looking for local coding models in specifically. I keep a list of LLM coding evals here: https://llm-tracker.info/evals/Code-Evaluation

    On the EvalPlus Leaderboard, there about about 10 open models that rank higher than CodeLlama 70B, all smaller models: https://evalplus.github.io/leaderboard.html

    A few other evals (worth cross-referencing to counter contamination, overfitting):

    * CRUXEval Leaderboard https://crux-eval.github.io/leaderboard.html

    * CanAiCode Leaderboard https://huggingface.co/spaces/mike-ravkine/can-ai-code-resul...

    * Big Code Models Leaderboard https://huggingface.co/spaces/bigcode/bigcode-models-leaderb...

    From the various leaderboards, deepseek-ai/deepseek-coder-33b-instruct still looks like the best performing open model (it has a very liberal ethical license), followed by ise-uiuc/Magicoder-S-DS-6.7B (a deepseek-coder-6.7b-base fine tune). The former can be run as a Q4 quant on a single 24GB GPU (a used 3090 should run you about $700 atm), and the latter, if it works for you will run 4X faster and fit on even cheaper/weaker GPUs.

    There's always recent developments, but two worth pointing out:

    OpenCodeInterpreter - a new system that uses execution feedback and outperforms ChatGPT4 Code Interpreter that is fine-tuned off of the DeepSeek code models: https://opencodeinterpreter.github.io/

    StarCoder2-15B just dropped and also looks competitive. Announcement and relevant links: https://huggingface.co/blog/starcoder2

  • Meta AI releases Code Llama 70B
    6 projects | news.ycombinator.com | 29 Jan 2024
    This is a completely fair, but open question. Not to be a typical HN user, but when you say SOTA local, the question is really what benchmarks do you really care about in order to evaluate. Size, operability, complexity, explainability etc.

    Working out what copilot models perform best has been a deep exercise for myself and has really made me evaluate my own coding style on what I find important and things I look out for when investigating models and evaluating interview candidates.

    I think three benchmarks & leaderboards most go to are:

    https://huggingface.co/spaces/bigcode/bigcode-models-leaderb... - which is the most understood, broad language capability leaderboad that relies on well understood evaluations and benchmarks.

    https://huggingface.co/spaces/mike-ravkine/can-ai-code-resul... - Also comprehensive, but primarily assesses Python and JavaScript.

    https://evalplus.github.io/leaderboard.html - which I think is a better take on comparing models you intend to run locally as you can evaluate performance, operability and size in one visualisation.

    Best of luck and I would love to know which models & benchmarks you choose and why.

  • Stable Code 3B: Coding on the Edge
    7 projects | news.ycombinator.com | 16 Jan 2024
    Here is a leader board of some models

    https://huggingface.co/spaces/mike-ravkine/can-ai-code-resul...

    Don't know how biased this leaderboard is, but I guess you could just give some of them a try and see for yourself.

  • Mistral has an even more powerfull model in the prototype-phase
    1 project | /r/LocalLLaMA | 11 Dec 2023
    - Can AI Code? - https://huggingface.co/spaces/mike-ravkine/can-ai-code-results
  • Assessing llms for code generation.
    1 project | /r/LocalLLaMA | 5 Dec 2023
    Check out https://github.com/the-crypt-keeper/can-ai-code for some ideas. I'd love to see more shootouts like this. Especially if they were spread out among a few different languages.
  • Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
    12 projects | news.ycombinator.com | 16 Aug 2023
    Very cool, this looks like a combination of chatbot-ui and llama-cpp-python? A similar project I've been using is https://github.com/serge-chat/serge. Nous-Hermes-Llama2-13b is my daily driver and scores high on coding evaluations (https://huggingface.co/spaces/mike-ravkine/can-ai-code-resul...).
  • How Is LLaMa.cpp Possible?
    11 projects | news.ycombinator.com | 15 Aug 2023
    I have several sets of quant comparisons posted on my HF spaces, the caveat is my prompts are all "English to code": https://huggingface.co/spaces/mike-ravkine/can-ai-code-compa...

    The dropdown at the top selects which comparison: Falcon compares GGML, Vicuna compares bits and bytes. I have some more comparisons planned, feel free to open an issue if you'd like to see something specific: https://github.com/the-crypt-keeper/can-ai-code

  • Ask HN: Who is using small OS LLMs in production?
    2 projects | news.ycombinator.com | 2 Aug 2023
    Yeah it seemed suspiciously high for HumanEval and it only ranks 14th for JS and 7th for Python on other benchmarks now: https://huggingface.co/spaces/mike-ravkine/can-ai-code-resul...

    WizardCoder is a bit of a problem since it's not llama 1/2 based but is its own 15B model and as such the support for it in anything practical is near nonexistent. WizardLM v1.2 looks like it may be worth checking out.

  • Recent updates on the LLM Explorer (15,000+ LLMs listed)
    1 project | /r/LocalLLaMA | 12 Jul 2023
    There are at least 4 different types of quants floating around HF (bitsandbytes, GGML, GPTQ and AWQ) so I dont know if a "GGML" column makes sense vs a more abstract way of linking quants to their base models. I am doing this and its fucking awful: https://github.com/the-crypt-keeper/can-ai-code/blob/main/models/models.yaml
  • Did anyone try to benchmark LLM's for coding against each other and against proprietary ones like Copilot X?
    2 projects | /r/LocalLLaMA | 5 Jul 2023
    Ah I meant this one but I see now it's WIP.

What are some alternatives?

When comparing Fooocus and can-ai-code you can also consider the following projects:

ComfyUI-AIT

llm-humaneval-benchmarks

stable-diffusion-webui-forge

WizardLM - Family of instruction-following LLMs powered by Evol-Instruct: WizardLM, WizardCoder and WizardMath

ComfyUI - The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.

ollama - Get up and running with Llama 3, Mistral, Gemma, and other large language models.

StableCascade - Official Code for Stable Cascade

openchat - OpenChat: Advancing Open-source Language Models with Imperfect Data

PixArt-alpha - PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesis

Local-LLM-Comparison-Colab-UI - Compare the performance of different LLM that can be deployed locally on consumer hardware. Run yourself with Colab WebUI.

InvokeAI - InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.

llm-mlc - LLM plugin for running models using MLC