<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Ai on zachcp</title>
		<link>http://zachcp.org/categories/ai/</link>
		<description>Recent content in Ai on zachcp</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>© 2007- {year}</copyright>
		
		
			<lastBuildDate>Sun, 14 Jun 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="http://zachcp.org/categories/ai/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>AWS Health Care and Life Sciences</title>
				<link>http://zachcp.org/blog/2026_aws_hcls/</link>
				<pubDate>Sun, 14 Jun 2026 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/2026_aws_hcls/</guid>
				<description>&lt;p&gt;Although we were at HCLS primarily to review the AWS BioDiscovery project, the overall impression of the event is that there is a large effort across Pharma management to become “agentic” and that AWS is positioning itself to be the repository for Data, compute, security and all aspects of the Drug Discovery lifecycle from ideation to patient.&lt;/p&gt;&#xA;&lt;p&gt;In Dan’s keynote he somewhat poo-pooed the power of any given LLM model stating that “competitors can catch up to a model architecture in a matter of months” but that they cannot catch up to the data. The core elements of the AWS play seems to be to capture the core Data and Enterprise-friendly access patterns ( role-based access; cross org communication ) and build out a framework to allow agents to trawl over the data - completely within the AWS ecosystem. Interestingly, two of the key speaker-partners - Lily and Roche seem to be deeply invested in this outcome. AWS and Lily have been partnering for some time and its while it is not clear how much of their “Cortex” system is built on AWS it seems to be very deeply integrated into AWS. In one of the later sessions, Arick Huensche the Global Head &amp;amp; VP Diagnostics R&amp;amp;D at Roche went into some depth on how they have built out their systems. Their system, Galileo, is natively built into AWS’ AgentCore Runtime and they use this common gateway to expose EVERY SINGLE system via standard protocols - either MCP ( gating resources ) or A2A ( agent 2 agent for multiple agent task communication ) .&lt;/p&gt;</description>
			</item>
			<item>
				<title>AI Engineering Code Summit Distilled</title>
				<link>http://zachcp.org/blog/2025_aie_codesummit_distilled/</link>
				<pubDate>Sun, 30 Nov 2025 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/2025_aie_codesummit_distilled/</guid>
				<description>&lt;p&gt;Organizations are rapidly assessing and adopting AI into their engineering practice. Some individuals are becoming insanely effective, making companies like &lt;a href=&#34;https://www.tenex.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Tenex&lt;/a&gt; possible where engineers get paid based on story points delivered and thereby have a direct stake in product success. Similarly, a small company like &lt;a href=&#34;https://every.to/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Every&lt;/a&gt; is able to grow to millions of dollars in ARR with a small team, each member of which owns end-to-end ownership of entire product applications.&lt;/p&gt;</description>
			</item>
			<item>
				<title>AI Engineering Code Summit</title>
				<link>http://zachcp.org/blog/2025_aie_codesummit/</link>
				<pubDate>Sat, 29 Nov 2025 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/2025_aie_codesummit/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;#conference-photo-gallery&#34;&gt;Jump to Conference Photo Gallery&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;themes&#34;&gt;Themes&lt;a class=&#34;anchor&#34; href=&#34;#themes&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;em&gt;(AI Generated from the rest of the notes below)&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;engineering-perspective-themes&#34;&gt;Engineering Perspective Themes&lt;a class=&#34;anchor&#34; href=&#34;#engineering-perspective-themes&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Context Window Management &amp;amp; Progressive Discovery&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Skills over monolithic agents (&lt;a href=&#34;https://www.anthropic.com&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Anthropic&lt;/a&gt;&amp;rsquo;s approach)&lt;/li&gt;&#xA;&lt;li&gt;Keeping models in the &amp;ldquo;smart zone&amp;rdquo; vs &amp;ldquo;dumb zone&amp;rdquo; of context windows&lt;/li&gt;&#xA;&lt;li&gt;Progressive discovery through skills.md files rather than exhaustive tool descriptions&lt;/li&gt;&#xA;&lt;li&gt;Context compaction and subagent delegation strategies&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;RL Infrastructure &amp;amp; Training Optimization&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Compute-efficient reinforcement learning as fundamental requirement&lt;/li&gt;&#xA;&lt;li&gt;Async RL tools to maximize GPU utilization&lt;/li&gt;&#xA;&lt;li&gt;Custom kernels for inference speedups (&lt;a href=&#34;https://cursor.sh&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Cursor&lt;/a&gt; achieving several-fold improvements)&lt;/li&gt;&#xA;&lt;li&gt;Environment-training alignment as critical success factor&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Evaluation &amp;amp; Benchmarking&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Need for non-cheatable, real-world benchmarks (&lt;a href=&#34;https://github.com/cline/cline&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;cline-bench&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;RL Environment Factory concept for automated environment creation&lt;/li&gt;&#xA;&lt;li&gt;Importance of tight feedback cycles (code/coding ideal for RL)&lt;/li&gt;&#xA;&lt;li&gt;Monitoring RL reward hacking&lt;/li&gt;&#xA;&lt;li&gt;Gap between self-reported and actual efficacy increases&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Agent Architecture Patterns&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Harness-model co-optimization&lt;/li&gt;&#xA;&lt;li&gt;Bash as foundational layer (&amp;ldquo;Bash is all you need&amp;rdquo;)&lt;/li&gt;&#xA;&lt;li&gt;Tools &amp;gt; Bash &amp;gt; CodeGen / Skills hierarchy&lt;/li&gt;&#xA;&lt;li&gt;Multi-agent systems with specialized roles (spec/implementation/tests triangle)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Code Quality &amp;amp; Production Readiness&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Deterministic validation everywhere&lt;/li&gt;&#xA;&lt;li&gt;Clear, actionable error messages&lt;/li&gt;&#xA;&lt;li&gt;Framework standardization across organizations&lt;/li&gt;&#xA;&lt;li&gt;CLI/API-first design for agent compatibility&lt;/li&gt;&#xA;&lt;li&gt;Code simplicity enabling better reasoning&lt;/li&gt;&#xA;&lt;li&gt;Comprehensive documentation requirements&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Platform &amp;amp; Infrastructure&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Model serving via gateways&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://modelcontextprotocol.io&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;MCP&lt;/a&gt; directories and hubs&lt;/li&gt;&#xA;&lt;li&gt;PAAS for tool creation/deployment&lt;/li&gt;&#xA;&lt;li&gt;Standardized development environments&lt;/li&gt;&#xA;&lt;li&gt;Cross-hardware kernel optimization&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>OpenEye Cup 2025</title>
				<link>http://zachcp.org/blog/2025_openeye_cup/</link>
				<pubDate>Fri, 14 Mar 2025 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/2025_openeye_cup/</guid>
				<description>&lt;img src=&#34;http://zachcp.org/pics/blog/2025/OpenEyeCup/slim.jpeg&#34; width=&#34;100%&#34;&gt;&#xA;&lt;h2 id=&#34;talk-notes&#34;&gt;Talk Notes&lt;a class=&#34;anchor&#34; href=&#34;#talk-notes&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;dels&#34;&gt;DELs&lt;a class=&#34;anchor&#34; href=&#34;#dels&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Tango:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;crisp cas for synthetic lethality&lt;/li&gt;&#xA;&lt;li&gt;immune evasion&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;cold vs hot&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;you need ligands for your targets.&lt;/li&gt;&#xA;&lt;li&gt;DEL for Hit Generation&lt;/li&gt;&#xA;&lt;li&gt;Idea: is there a good Rust-based DEL debarcoding library?&lt;/li&gt;&#xA;&lt;li&gt;50 libraries 3B compounds.&lt;/li&gt;&#xA;&lt;li&gt;Binding Enrichment&lt;/li&gt;&#xA;&lt;li&gt;how do they compare against docking.&lt;/li&gt;&#xA;&lt;li&gt;how many mols do you need?&lt;/li&gt;&#xA;&lt;li&gt;enzymatic activity?&lt;/li&gt;&#xA;&lt;li&gt;Binding?&lt;/li&gt;&#xA;&lt;li&gt;QPCR between steps.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Michael Hack from J&amp;amp;J&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;comm chem&lt;/li&gt;&#xA;&lt;li&gt;pool-split-pool&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;DEL Cube&amp;rdquo; - looking for activity on &amp;ldquo;lines&amp;rdquo;, &amp;ldquo;planes&amp;rdquo;, and &amp;ldquo;spots&amp;rdquo;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;where planes represent an active pharmacophore with potential SAR activity already built in.&lt;/li&gt;&#xA;&lt;li&gt;DEL targets are starting points.&lt;/li&gt;&#xA;&lt;li&gt;typically verified &amp;ldquo;off DNA&amp;rdquo;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;DB size if ~16TB&lt;/li&gt;&#xA;&lt;li&gt;Cephalogix&lt;/li&gt;&#xA;&lt;li&gt;Triage via Gini Coefficient.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;James Wellnitz:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;structure genomics consortium&lt;/li&gt;&#xA;&lt;li&gt;DEL affinity data&lt;/li&gt;&#xA;&lt;li&gt;aim to have specific probes for each protein.&lt;/li&gt;&#xA;&lt;li&gt;Major shade on the capability of DEL data to extend beyond the tested interaction.&lt;/li&gt;&#xA;&lt;li&gt;Very low predictability of 1 DEL dataset models compared to others.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Honyuan Zhu:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Design and analysis of DEL experiments&lt;/li&gt;&#xA;&lt;li&gt;Pfizer ML &amp;amp; CS&lt;/li&gt;&#xA;&lt;li&gt;1000x1000x100 compounds == 1B&lt;/li&gt;&#xA;&lt;li&gt;created dataset so 3x1000x100 = 3M which is more manageable&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>Local-First PLM</title>
				<link>http://zachcp.org/blog/ferritin_local_app/</link>
				<pubDate>Tue, 10 Dec 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_local_app/</guid>
				<description>&lt;h1 id=&#34;macos-builds&#34;&gt;MacOS Builds&lt;a class=&#34;anchor&#34; href=&#34;#macos-builds&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve reached an MVP of building the AMPLIFY model in Rust and distributing it as a small binary application for Mac AARCH64. Here I am showing an example protein&#xA;returning the contact map as calculated by the AMPLIFY 120M model. Running the example proteins, Heme, through the 120M model takes ~0.4 seconds.&#xA;The 350M model takes ~4 seconds.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;del&gt;Download for MacOS M-series chips here: &lt;a href=&#34;http://zachcp.org/apps/fennec/v0.0.1/fennec-toolkit_0.0.1_aarch64.dmg&#34;&gt;mac-app&lt;/a&gt;&lt;/del&gt;. Edit: app can&amp;rsquo;t be distributed this way&amp;hellip;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://zachcp.org/pics/blog/2024/Ferritin/fennec_01.png&#34; alt=&#34;&#34;&gt;&#xA;&lt;img src=&#34;http://zachcp.org/pics/blog/2024/Ferritin/fennec_02.png&#34; alt=&#34;&#34;&gt;&#xA;&lt;img src=&#34;http://zachcp.org/pics/blog/2024/Ferritin/fennec_03.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>PLM-Local</title>
				<link>http://zachcp.org/blog/ferritin_amplify_04/</link>
				<pubDate>Mon, 09 Dec 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_amplify_04/</guid>
				<description>&lt;p&gt;&lt;em&gt;Note: this is cross posted from &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241209_local/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ferritin&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;plm-local&#34;&gt;PLM-Local&lt;a class=&#34;anchor&#34; href=&#34;#plm-local&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;This is a quick update post.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Release of &lt;a href=&#34;https://www.evolutionaryscale.ai/blog/esm-cambrian&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ESMC&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Began to port ESMC model in subcrate &lt;a href=&#34;https://github.com/zachcp/ferritin/tree/main/ferritin-esm&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ferritin-esm&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Ported the model in &lt;a href=&#34;https://github.com/zachcp/ferritin/pull/66&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;this PR&lt;/a&gt;, and &lt;a href=&#34;https://github.com/zachcp/ferritin/pull/67&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;this PR&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;However, when I went to implement the tokenizer, I ended up encountering some issues. Although ESMC is similar to ESM2 in that it is trained only on sequences, it shares a common codebase with ESM3 which uses structural information&lt;/li&gt;&#xA;&lt;li&gt;The major implication is that the tokenizer is not as simple and self-contained, and porting requires either:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;a full minimal reimplementation of ESM functionality or&lt;/li&gt;&#xA;&lt;li&gt;a simpler tokenization scheme that deviates from the current codebase&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;While brainstorming on ESMC, I remembered that I hadn&amp;rsquo;t implemented METAL for AMPLIFY; so &lt;a href=&#34;https://github.com/zachcp/ferritin/pull/69&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;I did&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;This makes AMPLIFY really pleasantly fast!&lt;/li&gt;&#xA;&lt;li&gt;I was therefore inspired to build and serve the binary via a new project, &lt;a href=&#34;https://github.com/zachcp/plm-local&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;plm-local&lt;/a&gt;, and can build and deploy to a Conda channel&lt;/li&gt;&#xA;&lt;li&gt;h/t to &lt;a href=&#34;https://bsky.app/profile/luizirber.bsky.social/post/3lcss7hz6v22k&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;luizirber&lt;/a&gt; for showing me this nice trick&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;pixi exec -c https://repo.prefix.dev/protein-language-local-public \&#xA;    plm-local --protein-string MSVVGIDLGFQSCYVAVARAGGIETIANEYSDRCTPACISFGPKNR&#xA;&#xA;# that&#39;s pretty awesome.&#xA;time pixi exec ... &amp;lt;as above&amp;gt;   0.53s user 0.65s system 42% cpu 2.800 total&#xA;time pixi exec ... &amp;lt;as above&amp;gt;  0.53s user 0.27s system 172% cpu 0.464 total&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;what-it-looks-like-at-the-moment&#34;&gt;What it looks like at the moment.&lt;a class=&#34;anchor&#34; href=&#34;#what-it-looks-like-at-the-moment&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Current CLI simply encodes and decodes the protein. But it can do it in half a second with no compilation step&#xA;or dependencies! Boom.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Return to LigandMPNN</title>
				<link>http://zachcp.org/blog/ferritin_ligandmpnn_01/</link>
				<pubDate>Mon, 02 Dec 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_ligandmpnn_01/</guid>
				<description>&lt;p&gt;&lt;em&gt;Note: this is cross posted from &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241202_lmpnn_01/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ferritin&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;returning-to-ligandmpnn&#34;&gt;Returning to LigandMPNN&lt;a class=&#34;anchor&#34; href=&#34;#returning-to-ligandmpnn&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;The original motivating goal of this project was a pure-rust-WASM ProteinMPNN/LigandMPNN&#xA;implementation for fast local design. In previous posts I discussed:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Core Protein Data Structures for efficient protein representation using the Struct-of-Arrays style. &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241029_first_post/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;link&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;The LigandMPNN Trait to define functions for extracting features from a protein representation. &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241105_lmpnnfeaturizer/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;link&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;The Candle implementation of the Amplify model (parts &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241111_amplify/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;1&lt;/a&gt;, &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241114_amplify_02/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;2&lt;/a&gt;, and &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241115_amplify_03/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;3&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Now that I was able to get my feet wet on a protein language model implementation, I am ready to return to the more architecturally challenging problem of {Protein/Ligand}-MPNN. This post will describe a few of the challenges faced&#xA;in porting that library over and the current state of the model.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Amplify Pytorch-&gt;Candle Conversion Part 3</title>
				<link>http://zachcp.org/blog/ferritin_amplify_03/</link>
				<pubDate>Fri, 15 Nov 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_amplify_03/</guid>
				<description>&lt;p&gt;&lt;em&gt;Note: this is cross posted from &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241115_amplify_03/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ferritin&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now that we&amp;rsquo;ve got the model together, I want to start shaping the API. We&amp;rsquo;d like&#xA;to make it easy to download/invoke the model, and to do stuff with the outputs. In&#xA;this code, I&amp;rsquo;ve taken a piece of the tests as of Nov15 which show:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;an easy loading of the model which returns:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;a Tokenizer which can take protein sequences and convert to and from integers&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;the 120M AMPLIFY model with weights loaded.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;a functions on the output that will retrieve the contact maps&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;::: {.callout-note}&#xA;Internally I am using &lt;code&gt;candle_hf_hub&lt;/code&gt; which will download and cache the model weights to&#xA;&lt;code&gt;~/.cache/huggingface/hub&lt;/code&gt;. See &lt;a href=&#34;https://huggingface.co/docs/datasets/en/cache&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;cache docs&lt;/a&gt;&#xA;:::&lt;/p&gt;</description>
			</item>
			<item>
				<title>Amplify Pytorch-&gt;Candle Conversion Part 2</title>
				<link>http://zachcp.org/blog/ferritin_amplify_01/</link>
				<pubDate>Thu, 14 Nov 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_amplify_01/</guid>
				<description>&lt;p&gt;&lt;strong&gt;Cross posted on &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241114_amplify_02/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ferritin&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;intro&#34;&gt;Intro&lt;a class=&#34;anchor&#34; href=&#34;#intro&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;In the previous post I had created the Candle version of the Amplify pytorch model. However, when&#xA;I started to use it It was immedietly clear that my model was wrong. This post briefly recounts&#xA;the troubleshooting process to get the models to reach parity as measured&#xA;by identical outputs in the sequence encoding and attention weight outputs.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt; My base Rust/Candle model looked like crap. Encode + run + decode should return the same sequence.&#xA;Something is wrong and needs to be fixed&lt;/p&gt;</description>
			</item>
			<item>
				<title>Amplify Pytorch-&gt;Candle Conversion Part 2</title>
				<link>http://zachcp.org/blog/ferritin_amplify_02/</link>
				<pubDate>Thu, 14 Nov 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_amplify_02/</guid>
				<description>&lt;p&gt;&lt;em&gt;Note: this is cross posted from &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241111_amplify/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ferritin&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;intro&#34;&gt;Intro&lt;a class=&#34;anchor&#34; href=&#34;#intro&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;spin up GPU&lt;/li&gt;&#xA;&lt;li&gt;setup remote dev env&lt;/li&gt;&#xA;&lt;li&gt;clone HF repo locally&lt;/li&gt;&#xA;&lt;li&gt;get intial tests running for Candle and Pytorch&lt;/li&gt;&#xA;&lt;li&gt;add print statements in both and watch where the divergence happens&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;start&#34;&gt;Start&lt;a class=&#34;anchor&#34; href=&#34;#start&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;# roundtrip test&#xA;# cargo test -p ferritin-featurizers test_amplify_round_trip -- --exact&#xA;# python run.py&#xA;#&#xA;# sequence   MSVVGIDLGFQSCYVAVARAGGIETIANEYSDRCTPACISFGPKNR&#xA;# py        AMSVVGIDLGTTSCRVAVARAGGIETIANEYSDRKTPACISFGPKNRA&#xA;# rust      CECVACVMGKRGGVNTSPYQSAATRMKTWKRIRNPHFNCVIVPFISPC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3 id=&#34;freqs_cis&#34;&gt;Freqs_Cis&lt;a class=&#34;anchor&#34; href=&#34;#freqs_cis&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;Rotary encoding.&lt;/p&gt;</description>
			</item>
			<item>
				<title>LMPNN Featurizers</title>
				<link>http://zachcp.org/blog/ferritin_featurize_00/</link>
				<pubDate>Tue, 05 Nov 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_featurize_00/</guid>
				<description>&lt;p&gt;&lt;em&gt;Note: this is crossposted to &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241105_lmpnnfeaturizer/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Github&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;intro&#34;&gt;Intro&lt;a class=&#34;anchor&#34; href=&#34;#intro&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;One of the motivating reasons for creating &lt;code&gt;ferritin&lt;/code&gt; was to be able to recreate and run protein language&#xA;models in the browser via WASM. This post describes a work-in-progress effort to port&#xA;the &lt;a href=&#34;https://github.com/dauparas/LigandMPNN&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ligand-mpnn&lt;/a&gt; protein model from python/pytorch to Rust/&lt;a href=&#34;https://github.com/huggingface/candle&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Candle&lt;/a&gt;.&#xA;My general strategy was to nibble at the model from both ends: begin a naive translation of the Model,&#xA;and begin to recreate in Rust the protein processing portion.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Ferritin Init</title>
				<link>http://zachcp.org/blog/ferritin_init/</link>
				<pubDate>Tue, 29 Oct 2024 00:00:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/ferritin_init/</guid>
				<description>&lt;p&gt;&lt;em&gt;Note: this is crossposted to &lt;a href=&#34;https://zachcp.github.io/ferritin/posts/20241029_first_post/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Github&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;intro-to-ferritin&#34;&gt;Intro to Ferritin&lt;a class=&#34;anchor&#34; href=&#34;#intro-to-ferritin&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;This is an introduction to Ferritin, a set of Rust crates for working with proteins. At the moment&#xA;ferritin is very much in alpha stage but I am pleased with the current progress and wanted to give&#xA;a high level overview of the project as it currently stands.&lt;/p&gt;&#xA;&lt;p&gt;At the moment I have in place what I think to be a reasonably well architected core data structure, an &lt;code&gt;AtomCollection&lt;/code&gt; struct that is inspired by how pymol and biotite internally represent atomic information.&#xA;Most of the current and future features should be able to extend functionality via traits/methods while hopefully presenting s relatively small API that, because it is built on Rust, is nonetheless performant and portable.  Additionally I have a few nascent crates that 1) handle inputs from pymol via it&amp;rsquo;s PSE binary file, 2) an initial implementation of a Rust version of molviewspec that can export json and/or self-contained HTML, and 3) an early set of visualizations built on top of &lt;a href=&#34;https://bevyengine.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Bevy&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
