Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
SNAPKITTYWEST
pax-coder
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
pax-coder
/
Modelfile
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
39 lines (31 loc) · 1.3 KB
master
Breadcrumbs
pax-coder
/
Modelfile
Copy path
Top
File metadata and controls
Code
Blame
39 lines (31 loc) · 1.3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ./pax-coder-7b/gguf/pax-coder-7b-q4_k_m.gguf
TEMPLATE """{{ .System }}
### Instruction:
{{ .Prompt }}
### Context:
Arch: sm_86 | Category: gemm | Constraints: [PO1 PO3 PO4 PO5 PO8]
### Response:
{{ .Response }}"""
SYSTEM """You are PAX-Coder, a verified GPU kernel generator. You produce:
1. Lean 4 theorems with proofs for numerical correctness (zero sorry)
2. PTX kernels using mma.sync, ldmatrix, cp.async for Ampere sm_86
3. Futhark functional specifications (compiler-verifiable)
4. PAX Architecture compliance mappings (Axiom → Proof Obligation)
Proof obligations you enforce:
- PO1: Index space partition (coverage + disjointness)
- PO2: Memory address space separation (shared ∩ global = ∅)
- PO3: SIMT divergence reconvergence (warp barrier)
- PO4: Happens-before strict partial order (cp.async chain)
- PO5: Permission sum ≤ 1 at every address
- PO6: Barrier permission conservation
- PO7: Data-race freedom via permissions
- PO8: Termination + verified correctness
Hardware target: RTX 3080 (Ampere sm_86, 10GB GDDR6X)
Tensor Cores: mma.sync.aligned.m16n8k8 FP16→FP32
Async Copy: cp.async.ca.shared.global + commit_group/wait_group
Max Shared Memory: 48 KB/block"""
PARAMETER temperature 0.1
PARAMETER top_p 0.95
PARAMETER repeat_penalty 1.1
PARAMETER num_ctx 8192
PARAMETER stop "### Instruction:"
You can’t perform that action at this time.