mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-24 20:09:02 +00:00
Make the 13 ported project pages parse as MDX
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
Hanzo CI/CD / test-amd64 (push) Successful in 8m55s
Hanzo CI/CD / cicd (push) Failing after 24m44s
CI/CD / cicd (push) Failing after 33m45s
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
Hanzo CI/CD / test-amd64 (push) Successful in 8m55s
Hanzo CI/CD / cicd (push) Failing after 24m44s
CI/CD / cicd (push) Failing after 33m45s
The build skips a page its MDX fails to compile and still exits 0, so the
s3, kv, ci, ml, datastore and nine more project pages were not on the site.
Void tags (img, source, br) are self-closed, unquoted attribute values quoted,
HTML comments written as MDX comments, a stray </div> and an unclosed
<details> dropped, and the lowercase {name} placeholders in datastore's JSX
spaced so the project loader's escape leaves them alone.
This commit is contained in:
@@ -3,7 +3,7 @@ title: "Ci"
|
||||
description: "Reusable CI/CD: build/test/deploy any repo from its hanzo.yml on arc"
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="ci" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="ci" width="880" /></p>
|
||||
|
||||
# hanzoai/ci
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ export const FullWidthDivider = ({ style }) => {
|
||||
const rightEdge = document.documentElement.clientWidth;
|
||||
const ml = Math.max(0, elRect.left - leftEdge);
|
||||
const mr = Math.max(0, rightEdge - elRect.right);
|
||||
el.style.marginLeft = `-${ml}px`;
|
||||
el.style.marginLeft = `-${ ml }px`;
|
||||
el.style.width = `calc(100% + ${ml + mr}px)`;
|
||||
});
|
||||
};
|
||||
@@ -29,7 +29,7 @@ export const FullWidthDivider = ({ style }) => {
|
||||
window.addEventListener('resize', update);
|
||||
return () => window.removeEventListener('resize', update);
|
||||
}, []);
|
||||
return <hr ref={ref} className="ch-usecase-divider" style={style} />;
|
||||
return <hr ref={ ref } className="ch-usecase-divider" style={ style } />;
|
||||
};
|
||||
|
||||
export const HeroCard = ({ filename, darkFilename: darkFilenameProp, title, description, body, href, links, icon, showArrow, external, arrowBottom, extraClassName, logo, logoInvert, overlayImg, fullWidthImage, imageHeight = 'h-48', imageTop, galaxyEvent }) => {
|
||||
@@ -42,31 +42,31 @@ export const HeroCard = ({ filename, darkFilename: darkFilenameProp, title, desc
|
||||
<>
|
||||
{links && links.length > 0 && href && (
|
||||
<a
|
||||
href={href}
|
||||
href={ href }
|
||||
onClick={(e) => { e.preventDefault(); window.location.href = withBase(href); }}
|
||||
className="absolute inset-0 z-0 rounded-lg"
|
||||
aria-label={title}
|
||||
aria-label={ title }
|
||||
/>
|
||||
)}
|
||||
{logo && (
|
||||
<div className="absolute top-3 right-3 z-10 flex items-center justify-center w-8 h-8 rounded-md bg-white dark:bg-white/10 shadow-sm border border-[#e5e7eb] dark:border-white/10">
|
||||
<img src={`${assetBase}/images/${logo}`} alt="" className={`w-5 h-5 object-contain${logoInvert ? ' ch-logo-invert' : ''}`} />
|
||||
<img src={`${assetBase}/images/${ logo }`} alt="" className={`w-5 h-5 object-contain${logoInvert ? ' ch-logo-invert' : ''}`} />
|
||||
</div>
|
||||
)}
|
||||
{icon ? (
|
||||
<div className="mb-6">
|
||||
{icon}
|
||||
{ icon }
|
||||
</div>
|
||||
) : filename ? (
|
||||
<div className={`${overlayImg ? 'relative mb-12' : ''}${fullWidthImage ? ' -mx-4 -mt-4' : ''}`}>
|
||||
<img
|
||||
src={`${assetBase}/images/${filename}`}
|
||||
alt={title}
|
||||
src={`${assetBase}/images/${ filename }`}
|
||||
alt={ title }
|
||||
className={`block dark:hidden w-full ${imageHeight} object-cover${imageTop ? ' object-top' : ''} pointer-events-none${fullWidthImage ? '' : ' rounded-lg border border-[#d1d5db]'}`}
|
||||
/>
|
||||
<img
|
||||
src={`${assetBase}/images/${darkFilename}`}
|
||||
alt={title}
|
||||
alt={ title }
|
||||
className={`hidden dark:block w-full ${imageHeight} object-cover${imageTop ? ' object-top' : ''} pointer-events-none${fullWidthImage ? '' : ' rounded-lg'}`}
|
||||
/>
|
||||
{overlayImg && (
|
||||
@@ -79,15 +79,15 @@ export const HeroCard = ({ filename, darkFilename: darkFilenameProp, title, desc
|
||||
</div>
|
||||
) : null}
|
||||
<h3 className={`text-[#111827] dark:text-white text-lg font-semibold leading-[1.3] ${(icon || !filename) ? 'mt-0' : 'mt-5'}`}>
|
||||
{title}
|
||||
{ title }
|
||||
</h3>
|
||||
{body ? body : (
|
||||
<span className="block text-[#6b7280] dark:text-[#a1a1aa] mt-2 text-sm font-normal leading-normal min-h-[42px]">{description}</span>
|
||||
<span className="block text-[#6b7280] dark:text-[#a1a1aa] mt-2 text-sm font-normal leading-normal min-h-[42px]">{ description }</span>
|
||||
)}
|
||||
{links && links.length > 0 && (
|
||||
<ul className="mt-6 list-none p-0 relative z-10">
|
||||
{links.map((link, index) => (
|
||||
<li key={index} className={index > 0 ? 'mt-2' : 'mt-0'}>
|
||||
<li key={ index } className={index > 0 ? 'mt-2' : 'mt-0'}>
|
||||
<a href={link.href} onClick={(e) => { e.preventDefault(); window.location.href = withBase(link.href); }} className="goal-card-link flex items-center justify-between text-[#374151] dark:text-[#FCFF74] text-sm font-medium no-underline gap-1">
|
||||
<span className="truncate min-w-0">{link.label}</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className={`shrink-0${link.external ? ' ch-external-arrow' : ''}`}>
|
||||
@@ -121,10 +121,10 @@ export const HeroCard = ({ filename, darkFilename: darkFilenameProp, title, desc
|
||||
|
||||
const fullClassName = [cardClassName, extraClassName].filter(Boolean).join(' ');
|
||||
if (links && links.length > 0) {
|
||||
return <div className={fullClassName} data-galaxy-event={galaxyEvent}>{content}</div>;
|
||||
return <div className={fullClassName} data-galaxy-event={galaxyEvent}>{ content }</div>;
|
||||
}
|
||||
|
||||
return <a className={fullClassName} href={href} data-galaxy-event={galaxyEvent} onClick={(e) => { e.preventDefault(); window.location.href = withBase(href); }}>{content}</a>;
|
||||
return <a className={fullClassName} href={ href } data-galaxy-event={galaxyEvent} onClick={(e) => { e.preventDefault(); window.location.href = withBase(href); }}>{ content }</a>;
|
||||
};
|
||||
|
||||
export const IntegrationsBanner = () => {
|
||||
@@ -133,7 +133,7 @@ export const IntegrationsBanner = () => {
|
||||
return (
|
||||
<a
|
||||
className="ch-hero-card ch-integrations-banner flex items-center justify-between gap-4 p-4 rounded-lg no-underline bg-[#f9f9f9] border border-[#e5e7eb] text-inherit"
|
||||
href={href}
|
||||
href={ href }
|
||||
data-galaxy-event="docs.home.integrations"
|
||||
onClick={(e) => { e.preventDefault(); window.location.href = assetBase + href; }}
|
||||
>
|
||||
@@ -204,7 +204,7 @@ export const QuickstartPill = ({ children }) => {
|
||||
return (
|
||||
<a
|
||||
className="inline-flex items-center gap-2 h-9 px-4 rounded-full text-sm text-gray-700 dark:text-zinc-200 bg-gray-950/[0.03] dark:bg-white/[0.04] border border-gray-950/15 dark:border-white/15 hover:border-gray-950/40 dark:hover:border-white/35 transition-colors no-underline"
|
||||
href={path}
|
||||
href={ path }
|
||||
data-galaxy-event="docs.home.quickstart-cloud"
|
||||
onClick={(e) => { e.preventDefault(); window.location.href = withBase(path); }}
|
||||
>
|
||||
|
||||
@@ -3,14 +3,14 @@ title: Esign
|
||||
description: Hanzo eSign — open-source electronic document signing.
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="esign" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="esign" width="880" /></p>
|
||||
|
||||
<img src="https://github.com/hanzoai/esign/assets/13398220/a643571f-0239-46a6-a73e-6bef38d1228b" alt="Hanzo eSign Logo">
|
||||
<img src="https://github.com/hanzoai/esign/assets/13398220/a643571f-0239-46a6-a73e-6bef38d1228b" alt="Hanzo eSign Logo" />
|
||||
|
||||
<p align="center" style="margin-top: 20px">
|
||||
<p align="center">
|
||||
The Open Source DocuSign Alternative.
|
||||
<br>
|
||||
<br />
|
||||
<a href="https://esign.hanzo.ai"><strong>Learn more »</strong></a>
|
||||
<br />
|
||||
<br />
|
||||
@@ -27,14 +27,14 @@ description: Hanzo eSign — open-source electronic document signing.
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://esign.hanzo.ai/discord"><img src="https://img.shields.io/badge/Discord-esign.hanzo.ai/discord-%235865F2" alt="Join Hanzo eSign on Discord"></a>
|
||||
<a href="https://github.com/hanzoai/esign/stargazers"><img src="https://img.shields.io/github/stars/hanzo-sign/hanzo-sign" alt="Github Stars"></a>
|
||||
<a href="https://github.com/hanzoai/esign/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-AGPLv3-purple" alt="License"></a>
|
||||
<a href="https://github.com/hanzoai/esign/pulse"><img src="https://img.shields.io/github/commit-activity/m/hanzo-sign/hanzo-sign" alt="Commits-per-month"></a>
|
||||
<a href="https://esign.hanzo.ai/discord"><img src="https://img.shields.io/badge/Discord-esign.hanzo.ai/discord-%235865F2" alt="Join Hanzo eSign on Discord" /></a>
|
||||
<a href="https://github.com/hanzoai/esign/stargazers"><img src="https://img.shields.io/github/stars/hanzo-sign/hanzo-sign" alt="Github Stars" /></a>
|
||||
<a href="https://github.com/hanzoai/esign/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-AGPLv3-purple" alt="License" /></a>
|
||||
<a href="https://github.com/hanzoai/esign/pulse"><img src="https://img.shields.io/github/commit-activity/m/hanzo-sign/hanzo-sign" alt="Commits-per-month" /></a>
|
||||
<a href="https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/hanzoai/esign">
|
||||
<img alt="open in devcontainer" src="https://img.shields.io/static/v1?label=Dev%20Containers&message=Enabled&color=blue&logo=visualstudiocode" />
|
||||
</a>
|
||||
<a href="CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg" alt="Contributor Covenant"></a>
|
||||
<a href="CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg" alt="Contributor Covenant" /></a>
|
||||
</p>
|
||||
|
||||
<div align="center">
|
||||
@@ -76,14 +76,14 @@ Contact us if you are interested in our Enterprise plan for large organizations
|
||||
## Tech Stack
|
||||
|
||||
<p align="left">
|
||||
<a href="https://www.typescriptlang.org"><img src="https://shields.io/badge/TypeScript-3178C6?logo=TypeScript&logoColor=FFF&style=flat-square" alt="TypeScript"></a>
|
||||
<a href="https://www.typescriptlang.org"><img src="https://shields.io/badge/TypeScript-3178C6?logo=TypeScript&logoColor=FFF&style=flat-square" alt="TypeScript" /></a>
|
||||
<a href="https://prisma.io"><img width="122" height="20" src="http://made-with.prisma.io/indigo.svg" alt="Made with Prisma" /></a>
|
||||
<a href="https://tailwindcss.com/"><img src="https://img.shields.io/badge/tailwindcss-0F172A?&logo=tailwindcss" alt="Tailwind CSS"></a>
|
||||
<a href=""><img src="" alt=""></a>
|
||||
<a href=""><img src="" alt=""></a>
|
||||
<a href=""><img src="" alt=""></a>
|
||||
<a href=""><img src="" alt=""></a>
|
||||
<a href=""><img src="" alt=""></a>
|
||||
<a href="https://tailwindcss.com/"><img src="https://img.shields.io/badge/tailwindcss-0F172A?&logo=tailwindcss" alt="Tailwind CSS" /></a>
|
||||
<a href=""><img src="" alt="" /></a>
|
||||
<a href=""><img src="" alt="" /></a>
|
||||
<a href=""><img src="" alt="" /></a>
|
||||
<a href=""><img src="" alt="" /></a>
|
||||
<a href=""><img src="" alt="" /></a>
|
||||
</p>
|
||||
|
||||
- [Typescript](https://www.typescriptlang.org/) - Language
|
||||
@@ -98,7 +98,7 @@ Contact us if you are interested in our Enterprise plan for large organizations
|
||||
- [PDF-Lib](https://github.com/Hopding/pdf-lib) - PDF manipulation
|
||||
- [Stripe](https://stripe.com/) - Payments
|
||||
|
||||
<!-- - Support for [opensignpdf (requires Java on server)](https://github.com/open-pdf-sign) is currently planned. -->
|
||||
{/* - Support for [opensignpdf (requires Java on server)](https://github.com/open-pdf-sign) is currently planned. */}
|
||||
|
||||
## Local Development
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Goexif"
|
||||
description: "EXIF decoder for Go — Hanzo fork of goexif (BSD-2-Clause). Module: github.com/hanzoai/goexif"
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="goexif" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="goexif" width="880" /></p>
|
||||
|
||||
goexif
|
||||
======
|
||||
@@ -75,7 +75,7 @@ func ExampleDecode() {
|
||||
}
|
||||
```
|
||||
|
||||
<!--golang-->
|
||||
{/*golang*/}
|
||||
[](http://githalytics.com/rwcarlsen/goexif)
|
||||
|
||||
## Links
|
||||
|
||||
@@ -16,7 +16,6 @@ description: Hanzo Help Center — Frappe Helpdesk fork (Base/SQLite, IAM SSO).
|
||||
<a href="https://trendshift.io/repositories/12764" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12764" alt="teableio%2Fteable | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div align="center">
|
||||
@@ -82,7 +81,7 @@ Managing issues from our customers was a big challenge for us. We were using the
|
||||
|
||||
|
||||
</details>
|
||||
<br>
|
||||
<br />
|
||||
|
||||
|
||||
### Under the Hood
|
||||
@@ -103,7 +102,7 @@ It takes care of installation, setup, upgrades, monitoring, maintenance and supp
|
||||
<div>
|
||||
<a href="https://frappecloud.com/helpdesk/signup" target="_blank">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://frappe.io/files/try-on-fc-white.png">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://frappe.io/files/try-on-fc-white.png" />
|
||||
<img src="https://frappe.io/files/try-on-fc-black.png" alt="Try on Frappe Cloud" height="28" />
|
||||
</picture>
|
||||
</a>
|
||||
@@ -210,12 +209,12 @@ To setup the repository locally follow the steps mentioned below:
|
||||
1. [Pull Request Requirements](https://github.com/frappe/erpnext/wiki/Contribution-Guidelines)
|
||||
2. [Translations](https://crowdin.com/project/frappe)
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br />
|
||||
<br />
|
||||
<div align="center">
|
||||
<a href="https://frappe.io" target="_blank">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://frappe.io/files/Frappe-white.png">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://frappe.io/files/Frappe-white.png" />
|
||||
<img src="https://frappe.io/files/Frappe-black.png" alt="Frappe Technologies" height="28"/>
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Kv
|
||||
description: Ultra-fast key-value store with Redis API compatibility
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="kv" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="kv" width="880" /></p>
|
||||
|
||||
<p align="center">
|
||||
<strong>Hanzo KV</strong>
|
||||
@@ -15,9 +15,9 @@ description: Ultra-fast key-value store with Redis API compatibility
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/hanzoai/kv/actions"><img src="https://github.com/hanzoai/kv/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
||||
<a href="https://github.com/hanzoai/kv/releases"><img src="https://img.shields.io/github/v/release/hanzoai/kv" alt="Release"></a>
|
||||
<a href="https://github.com/hanzoai/kv/blob/main/LICENSE"><img src="https://img.shields.io/github/license/hanzoai/kv" alt="License"></a>
|
||||
<a href="https://github.com/hanzoai/kv/actions"><img src="https://github.com/hanzoai/kv/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
||||
<a href="https://github.com/hanzoai/kv/releases"><img src="https://img.shields.io/github/v/release/hanzoai/kv" alt="Release" /></a>
|
||||
<a href="https://github.com/hanzoai/kv/blob/main/LICENSE"><img src="https://img.shields.io/github/license/hanzoai/kv" alt="License" /></a>
|
||||
</p>
|
||||
|
||||
---
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Migrate
|
||||
description: Database migrations. CLI and Golang library.
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="migrate" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="migrate" width="880" /></p>
|
||||
|
||||
[](https://github.com/golang-migrate/migrate/actions/workflows/ci.yaml?query=branch%3Amaster)
|
||||
[](https://pkg.go.dev/github.com/golang-migrate/migrate/v4)
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Ml
|
||||
description: Hanzo ML — fast multi-backend (CPU/CUDA/Metal/ROCm/Vulkan) tensor & ML framework for Rust with quantization; the compute core of the Hanzo stack.
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="ml" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="ml" width="880" /></p>
|
||||
|
||||
# Hanzo ML
|
||||
[](https://crates.io/crates/hanzo-ml)
|
||||
@@ -105,27 +105,27 @@ We also provide some command line based examples using state of the art models:
|
||||
the LLaMA model using the same quantization techniques as
|
||||
[llama.cpp](https://github.com/ggerganov/llama.cpp).
|
||||
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/quantized/assets/aoc.gif" width="600">
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/quantized/assets/aoc.gif" width="600" />
|
||||
|
||||
- [Stable Diffusion](./hanzo-ml-examples/examples/stable-diffusion/): text to
|
||||
image generative model, support for the 1.5, 2.1, SDXL 1.0 and Turbo versions.
|
||||
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/stable-diffusion/assets/stable-diffusion-xl.jpg" width="200">
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/stable-diffusion/assets/stable-diffusion-xl.jpg" width="200" />
|
||||
|
||||
- [Wuerstchen](./hanzo-ml-examples/examples/wuerstchen/): another text to
|
||||
image generative model.
|
||||
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/wuerstchen/assets/cat.jpg" width="200">
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/wuerstchen/assets/cat.jpg" width="200" />
|
||||
|
||||
- [yolo-v3](./hanzo-ml-examples/examples/yolo-v3/) and
|
||||
[yolo-v8](./hanzo-ml-examples/examples/yolo-v8/): object detection and pose
|
||||
estimation models.
|
||||
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/yolo-v8/assets/bike.od.jpg" width="200"><img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/yolo-v8/assets/bike.pose.jpg" width="200">
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/yolo-v8/assets/bike.od.jpg" width="200" /><img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/yolo-v8/assets/bike.pose.jpg" width="200" />
|
||||
- [segment-anything](./hanzo-ml-examples/examples/segment-anything/): image
|
||||
segmentation model with prompt.
|
||||
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/segment-anything/assets/sam_merged.jpg" width="200">
|
||||
<img src="https://github.com/hanzoai/ml/raw/main/hanzo-ml-examples/examples/segment-anything/assets/sam_merged.jpg" width="200" />
|
||||
|
||||
- [SegFormer](./hanzo-ml-examples/examples/segformer/): transformer based semantic segmentation model.
|
||||
- [Whisper](./hanzo-ml-examples/examples/whisper/): speech recognition model.
|
||||
@@ -177,7 +177,7 @@ trunk serve --release --port 8081
|
||||
And then head over to
|
||||
[http://localhost:8081/](http://localhost:8081/).
|
||||
|
||||
<!--- ANCHOR: useful_libraries --->
|
||||
{/* ANCHOR: useful_libraries */}
|
||||
|
||||
## Useful External Resources
|
||||
- [`hanzo-ml-tutorial`](https://github.com/ToluClassics/hanzo-ml-tutorial): A
|
||||
@@ -201,9 +201,9 @@ And then head over to
|
||||
|
||||
If you have an addition to this list, please submit a pull request.
|
||||
|
||||
<!--- ANCHOR_END: useful_libraries --->
|
||||
{/* ANCHOR_END: useful_libraries */}
|
||||
|
||||
<!--- ANCHOR: features --->
|
||||
{/* ANCHOR: features */}
|
||||
|
||||
## Features
|
||||
|
||||
@@ -260,11 +260,11 @@ If you have an addition to this list, please submit a pull request.
|
||||
- Serverless (on CPU), small and fast deployments.
|
||||
- Quantization support using the llama.cpp quantized types.
|
||||
|
||||
<!--- ANCHOR_END: features --->
|
||||
{/* ANCHOR_END: features */}
|
||||
|
||||
## How to use
|
||||
|
||||
<!--- ANCHOR: cheatsheet --->
|
||||
{/* ANCHOR: cheatsheet */}
|
||||
Cheatsheet:
|
||||
|
||||
| | Using PyTorch | Using ML |
|
||||
@@ -280,7 +280,7 @@ Cheatsheet:
|
||||
| Saving | `torch.save({"A": A}, "model.bin")` | `hanzo::safetensors::save(&HashMap::from([("A", A)]), "model.safetensors")?` |
|
||||
| Loading | `weights = torch.load("model.bin")` | `hanzo::safetensors::load("model.safetensors", &device)` |
|
||||
|
||||
<!--- ANCHOR_END: cheatsheet --->
|
||||
{/* ANCHOR_END: cheatsheet */}
|
||||
|
||||
|
||||
## Structure
|
||||
@@ -298,7 +298,7 @@ Cheatsheet:
|
||||
|
||||
### Why should I use ML?
|
||||
|
||||
<!--- ANCHOR: goals --->
|
||||
{/* ANCHOR: goals */}
|
||||
|
||||
ML's core goal is to *make serverless inference possible*. Full machine learning frameworks like PyTorch
|
||||
are very large, which makes creating instances on a cluster slow. ML allows deployment of lightweight
|
||||
@@ -309,7 +309,7 @@ and the [GIL](https://www.backblaze.com/blog/the-python-gil-past-present-and-fut
|
||||
|
||||
Finally, Rust is cool! A lot of the HF ecosystem already has Rust crates, like [safetensors](https://github.com/huggingface/safetensors) and [tokenizers](https://github.com/huggingface/tokenizers).
|
||||
|
||||
<!--- ANCHOR_END: goals --->
|
||||
{/* ANCHOR_END: goals */}
|
||||
|
||||
### Other ML frameworks
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Otel Collector"
|
||||
description: "Hanzo O11y Otel Collector — Hanzo's OpenTelemetry Collector distro: ZAP-native + OTLP ingest into hanzoai/datastore"
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="otel-collector" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="otel-collector" width="880" /></p>
|
||||
|
||||
# Hanzo O11y Otel Collector
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Rocm Rs"
|
||||
description: "Hanzo fork of rocm-rs — cross-platform (Linux + Windows/MSVC) ROCm bindings for gfx1151: portable enum/status types, edition-2024 unsafe blocks, gated amdgcn GPU-sort kernel."
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="Hanzo rocm-rs" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="Hanzo rocm-rs" width="880" /></p>
|
||||
|
||||
# Hanzo rocm-rs: Safe Rust wrappers for AMD ROCm Libraries
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: S3
|
||||
description: Hanzo S3 — S3-compatible distributed object storage
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="s3" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="s3" width="880" /></p>
|
||||
|
||||
# Hanzo S3
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Social
|
||||
description: 📨 Hanzo Social — agentic social media scheduling 🤖
|
||||
---
|
||||
|
||||
<p align="center"><img src=".github/hero.svg" alt="social" width="880"></p>
|
||||
<p align="center"><img src=".github/hero.svg" alt="social" width="880" /></p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://social.hanzo.ai" target="_blank">
|
||||
@@ -13,7 +13,7 @@ description: 📨 Hanzo Social — agentic social media scheduling 🤖
|
||||
|
||||
<p align="center">
|
||||
<a href="https://opensource.org/license/agpl-v3">
|
||||
<img src="https://img.shields.io/badge/License-AGPL%203.0-blue.svg" alt="License">
|
||||
<img src="https://img.shields.io/badge/License-AGPL%203.0-blue.svg" alt="License" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -415,7 +415,6 @@ Based on our testing on a machine with 8 NVIDIA H20 GPUs:
|
||||
| 2 | 2 | ~80GB | |
|
||||
| 2 | 8 | ~85GB | ✓ |
|
||||
|
||||
<details close>
|
||||
## TestCases For 1.0
|
||||
<table class="center">
|
||||
<tr style="font-weight: bolder;text-align:center;">
|
||||
@@ -425,79 +424,79 @@ Based on our testing on a machine with 8 NVIDIA H20 GPUs:
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=assets/demo/musk/musk.png width="95%">
|
||||
<img src="assets/demo/musk/musk.png" width="95%" />
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/4a4bb2d1-9d14-4ca9-85c8-7f19c39f712e controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/4a4bb2d1-9d14-4ca9-85c8-7f19c39f712e" controls preload></video>
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/b2a879c2-e23a-4d39-911d-51f0343218e4 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/b2a879c2-e23a-4d39-911d-51f0343218e4" controls preload></video>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=assets/demo/yongen/yongen.jpeg width="95%">
|
||||
<img src="assets/demo/yongen/yongen.jpeg" width="95%" />
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/57ef9dee-a9fd-4dc8-839b-3fbbbf0ff3f4 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/57ef9dee-a9fd-4dc8-839b-3fbbbf0ff3f4" controls preload></video>
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/94d8dcba-1bcd-4b54-9d1d-8b6fc53228f0 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/94d8dcba-1bcd-4b54-9d1d-8b6fc53228f0" controls preload></video>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=assets/demo/sit/sit.jpeg width="95%">
|
||||
<img src="assets/demo/sit/sit.jpeg" width="95%" />
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/5fbab81b-d3f2-4c75-abb5-14c76e51769e controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/5fbab81b-d3f2-4c75-abb5-14c76e51769e" controls preload></video>
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/f8100f4a-3df8-4151-8de2-291b09269f66 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/f8100f4a-3df8-4151-8de2-291b09269f66" controls preload></video>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=assets/demo/man/man.png width="95%">
|
||||
<img src="assets/demo/man/man.png" width="95%" />
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/a6e7d431-5643-4745-9868-8b423a454153 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/a6e7d431-5643-4745-9868-8b423a454153" controls preload></video>
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/6ccf7bc7-cb48-42de-85bd-076d5ee8a623 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/6ccf7bc7-cb48-42de-85bd-076d5ee8a623" controls preload></video>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=assets/demo/monalisa/monalisa.png width="95%">
|
||||
<img src="assets/demo/monalisa/monalisa.png" width="95%" />
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/1568f604-a34f-4526-a13a-7d282aa2e773 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/1568f604-a34f-4526-a13a-7d282aa2e773" controls preload></video>
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/a40784fc-a885-4c1f-9b7e-8f87b7caf4e0 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/a40784fc-a885-4c1f-9b7e-8f87b7caf4e0" controls preload></video>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=assets/demo/sun1/sun.png width="95%">
|
||||
<img src="assets/demo/sun1/sun.png" width="95%" />
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/37a3a666-7b90-4244-8d3a-058cb0e44107 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/37a3a666-7b90-4244-8d3a-058cb0e44107" controls preload></video>
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/172f4ff1-d432-45bd-a5a7-a07dec33a26b controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/172f4ff1-d432-45bd-a5a7-a07dec33a26b" controls preload></video>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src=assets/demo/sun2/sun.png width="95%">
|
||||
<img src="assets/demo/sun2/sun.png" width="95%" />
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/37a3a666-7b90-4244-8d3a-058cb0e44107 controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/37a3a666-7b90-4244-8d3a-058cb0e44107" controls preload></video>
|
||||
</td>
|
||||
<td >
|
||||
<video src=https://github.com/hanzoai/Zen-Dub/assets/163980830/85a6873d-a028-4cce-af2b-6c59a1f2971d controls preload></video>
|
||||
<video src="https://github.com/hanzoai/Zen-Dub/assets/163980830/85a6873d-a028-4cce-af2b-6c59a1f2971d" controls preload></video>
|
||||
</td>
|
||||
</tr>
|
||||
</table >
|
||||
|
||||
Reference in New Issue
Block a user