---
title: "PhotoSketch vs alpaca-lora"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/mtli-photosketch-vs-tloen-alpaca-lora"
tools: ["mtli-photosketch", "tloen-alpaca-lora"]
---

# PhotoSketch vs alpaca-lora

*GraphCanon updated Jul 11, 2026*

## Verdict

Pick PhotoSketch when photoSketch is primarily Python; alpaca-lora is Jupyter Notebook; pick alpaca-lora when alpaca-lora is primarily Jupyter Notebook; PhotoSketch is Python.

[PhotoSketch](http://www.cs.cmu.edu/~mengtial/proj/sketch/) reports 486 GitHub stars, 85 forks, and 5 open issues, last pushed May 10, 2023. [alpaca-lora](https://github.com/tloen/alpaca-lora) has 19k stars, 2.2k forks, and 366 open issues, last pushed Jul 29, 2024. Figures are from public GitHub metadata via [PhotoSketch's repository](https://github.com/mtli/PhotoSketch) and [alpaca-lora's repository](https://github.com/tloen/alpaca-lora).

| | [PhotoSketch](/tools/mtli-photosketch.md) | [alpaca-lora](/tools/tloen-alpaca-lora.md) |
| --- | --- | --- |
| Tagline | Code for Photo-Sketching: Inferring Contour Drawings from Images :dog: | Instruct-tune LLaMA on consumer hardware |
| Stars | 486 | 18,913 |
| Forks | 85 | 2,185 |
| Open issues | 5 | 366 |
| Language | Python | Jupyter Notebook |
| Adopt for | - | - |
| Persona | - | - |
| Runtime | - | - |
| License | Other | Apache-2.0 |
| Categories | Computer Vision | Computer Vision, Inference & Serving, Model Training |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [PhotoSketch](/tools/mtli-photosketch.md) | [alpaca-lora](/tools/tloen-alpaca-lora.md) |
| --- | --- | --- |
| Days since push | 1158d | 712d |
| Open issues (now) | 5 | 366 |
| Security scan | No lockfile | 1 critical, 5 high, 12 medium, 28 low (1 critical, 5 high, 12 medium, 28 low) |
| Full report | [trust report](/tools/mtli-photosketch/trust.md) | [trust report](/tools/tloen-alpaca-lora/trust.md) |

## Choose when

### Choose PhotoSketch if…

- PhotoSketch is primarily Python; alpaca-lora is Jupyter Notebook.
- License: PhotoSketch is Other, alpaca-lora is Apache-2.0.
- Tags unique to PhotoSketch: ai, computer-vision, graphics, python.

### Choose alpaca-lora if…

- alpaca-lora is primarily Jupyter Notebook; PhotoSketch is Python.
- License: alpaca-lora is Apache-2.0, PhotoSketch is Other.
- Tags unique to alpaca-lora: jupyter notebook.
- Also covers Inference & Serving, Model Training.
- alpaca-lora ships Docker support for self-hosted deployment.

## When NOT to use PhotoSketch

- Last GitHub push was 1159 days ago (dormant maintenance, May 10, 2023). Validate activity before betting a new project on PhotoSketch.

## When NOT to use alpaca-lora

- Last GitHub push was 712 days ago (dormant maintenance, Jul 29, 2024). Validate activity before betting a new project on alpaca-lora.
- Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic.
- Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.

## Common questions

### What is the difference between PhotoSketch and alpaca-lora?

PhotoSketch: Code for Photo-Sketching: Inferring Contour Drawings from Images :dog:. alpaca-lora: Instruct-tune LLaMA on consumer hardware. See the comparison table for live GitHub stats and shared categories.

### When should I choose PhotoSketch over alpaca-lora?

Choose PhotoSketch over alpaca-lora when PhotoSketch is primarily Python; alpaca-lora is Jupyter Notebook; License: PhotoSketch is Other, alpaca-lora is Apache-2.0; Tags unique to PhotoSketch: ai, computer-vision, graphics, python.

### When should I choose alpaca-lora over PhotoSketch?

Choose alpaca-lora over PhotoSketch when alpaca-lora is primarily Jupyter Notebook; PhotoSketch is Python; License: alpaca-lora is Apache-2.0, PhotoSketch is Other; Tags unique to alpaca-lora: jupyter notebook; Also covers Inference & Serving, Model Training; alpaca-lora ships Docker support for self-hosted deployment.

### When should I avoid PhotoSketch?

Last GitHub push was 1159 days ago (dormant maintenance, May 10, 2023). Validate activity before betting a new project on PhotoSketch.

### When should I avoid alpaca-lora?

Last GitHub push was 712 days ago (dormant maintenance, Jul 29, 2024). Validate activity before betting a new project on alpaca-lora. Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic. Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.

### Is PhotoSketch or alpaca-lora more popular on GitHub?

alpaca-lora has more GitHub stars (18,913 vs 486). Stars measure visibility, not whether either tool fits your constraints.

### Are PhotoSketch and alpaca-lora open source?

Yes - both are open-source projects on GitHub (PhotoSketch: Other, alpaca-lora: Apache-2.0).

### Where can I find alternatives to PhotoSketch or alpaca-lora?

GraphCanon lists graph-backed alternatives at [PhotoSketch alternatives](/tools/mtli-photosketch/alternatives) and [alpaca-lora alternatives](/tools/tloen-alpaca-lora/alternatives) ([PhotoSketch markdown twin](/tools/mtli-photosketch/alternatives.md), [alpaca-lora markdown twin](/tools/tloen-alpaca-lora/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/mtli-photosketch-vs-tloen-alpaca-lora.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, PhotoSketch or alpaca-lora?

PhotoSketch: Dormant. alpaca-lora: Dormant. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for PhotoSketch and alpaca-lora?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [PhotoSketch trust report](/tools/mtli-photosketch/trust); [alpaca-lora trust report](/tools/tloen-alpaca-lora/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=mtli-photosketch`](/api/graphcanon/graph?tool=mtli-photosketch)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
