classification / app.py

Commit History

refactor: simplify Gradio interface by removing allow_flagging
7176315

rajkumarrawal commited on

feat(model): patch open_clip to prevent meta tensor issues during loading
c3fca84

rajkumarrawal commited on

Refactor model loading: replace open_clip monkey patch with transformers device mapping for CPU and fp32, add robust fallbacks to prevent meta tensor issues
6b80242

rajkumarrawal commited on

feat: monkey-patch open_clip to avoid meta tensors and load model on CPU
053d849

rajkumarrawal commited on

fix(cpu): simplify device mapping to prevent meta tensor issues
607eca2

rajkumarrawal commited on

fix: improve model loading with meta tensor handling and CPU fallbacks
c10d8f3

rajkumarrawal commited on

refactor: simplify model device handling using accelerate library
826cc00

rajkumarrawal commited on

fix: resolve meta tensor issues by forcing CPU device mapping
6f9b46a

rajkumarrawal commited on