Skip to content

Instantly share code, notes, and snippets.

View oscarnevarezleal's full-sized avatar

Oscar Nevarez oscarnevarezleal

View GitHub Profile
key=lora_te_text_model_encoder_layers_0_mlp_fc1.alpha
key=lora_te_text_model_encoder_layers_0_mlp_fc1.lora_down.weight
key=lora_te_text_model_encoder_layers_0_mlp_fc1.lora_up.weight
key=lora_te_text_model_encoder_layers_0_mlp_fc2.alpha
key=lora_te_text_model_encoder_layers_0_mlp_fc2.lora_down.weight
key=lora_te_text_model_encoder_layers_0_mlp_fc2.lora_up.weight
key=lora_te_text_model_encoder_layers_0_self_attn_k_proj.alpha
key=lora_te_text_model_encoder_layers_0_self_attn_k_proj.lora_down.weight
key=lora_te_text_model_encoder_layers_0_self_attn_k_proj.lora_up.weight
key=lora_te_text_model_encoder_layers_0_self_attn_out_proj.alpha
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_q_lora.down.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_q_lora.up.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_k_lora.down.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_k_lora.up.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_v_lora.down.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_v_lora.up.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_out_lora.down.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn1.processor.to_out_lora.up.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn2.processor.to_q_lora.down.weight
key=down_blocks.0.attentions.0.transformer_blocks.0.attn2.processor.to_q_lora.up.weight
@oscarnevarezleal
oscarnevarezleal / Dockerfile
Created May 8, 2024 23:17
Custom CMD handler based on environment variables
FROM public.ecr.aws/lambda/python:3.9
ARG HANDLER_PATH="src.entrypoints.listener.handler.handler"
ENV HANDLER_PATH="${HANDLER_PATH}"
#....
ENTRYPOINT [ "./lambda-entrypoint.sh" ]