Skip to content

Commit a68cb1b

Browse files
evilsocketclaude
andcommitted
chore: fork CLIP tokenizer to evilsocket HF org, update refs
- Duplicated openai/clip-vit-large-patch14 -> evilsocket/clip-vit-large-patch14 - Updated references in FLUX and SD model code Remaining (HF daily duplication limit reached, retry tomorrow): - google/t5-v1_1-xxl -> evilsocket/t5-v1_1-xxl - allenai/OLMo-2-1124-7B -> evilsocket/OLMo-2-1124-7B - deepseek-ai/DeepSeek-R1-Distill-Llama-8B -> evilsocket/DeepSeek-R1-Distill-Llama-8B Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 26b01d7 commit a68cb1b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

cake-core/src/models/flux/clip_encoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use candle_transformers::models::clip::text_model::{
1212
};
1313
use log::info;
1414

15-
/// CLIP-L configuration matching openai/clip-vit-large-patch14.
15+
/// CLIP-L configuration matching evilsocket/clip-vit-large-patch14.
1616
fn clip_l_config() -> ClipTextConfig {
1717
ClipTextConfig {
1818
vocab_size: 49408,

cake-core/src/models/flux/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub fn flux2_klein_vae_config() -> candle_transformers::models::flux::autoencode
131131
pub enum Flux1ModelFile {
132132
/// Bundled checkpoint: transformer + CLIP + T5 + VAE
133133
Checkpoint,
134-
/// CLIP tokenizer from openai/clip-vit-large-patch14
134+
/// CLIP tokenizer from evilsocket/clip-vit-large-patch14
135135
ClipTokenizer,
136136
/// T5 tokenizer from google/t5-v1_1-xxl
137137
T5Tokenizer,
@@ -141,7 +141,7 @@ impl Flux1ModelFile {
141141
fn repo_and_file(&self) -> (&'static str, &'static str) {
142142
match self {
143143
Self::Checkpoint => ("evilsocket/flux1-dev", "flux1-dev-fp8.safetensors"),
144-
Self::ClipTokenizer => ("openai/clip-vit-large-patch14", "tokenizer.json"),
144+
Self::ClipTokenizer => ("evilsocket/clip-vit-large-patch14", "tokenizer.json"),
145145
Self::T5Tokenizer => ("google/t5-v1_1-xxl", "spiece.model"),
146146
}
147147
}

cake-core/src/models/sd/sd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl ModelFile {
4646
StableDiffusionVersion::Xl | StableDiffusionVersion::Turbo => {
4747
// This seems similar to the patch32 version except some very small
4848
// difference in the split regex.
49-
"openai/clip-vit-large-patch14"
49+
"evilsocket/clip-vit-large-patch14"
5050
}
5151
};
5252
(tokenizer_repo, "tokenizer.json")

0 commit comments

Comments
 (0)