CelaDaniel/free-ai-resources-x — 🌟 A curated collection of free, high quality AI tools 🤖, APIs 🔗, datasets 📊, and learning resources 📚 covering machine learning 🧠, deep learning 🧩, generative AI 🎨, NLP 💬, and data science 📈. Designed to help developers 👩💻, researchers 🔬, and creators ✨ explore and build with AI faster ⚡.
CelaDaniel/free-ai-resources-x — 🌟 A curated collection of free, high quality AI tools 🤖, APIs 🔗, datasets 📊, and learning resources 📚 covering machine learning 🧠, deep learning 🧩, generative AI 🎨, NLP 💬, and data science 📈. Designed to help developers 👩💻, researchers 🔬, and creators ✨ explore and build with AI faster ⚡.
⭐ 477 stars | Unknown | 🌟 A curated collection of free, high quality AI tools 🤖, APIs 🔗, datasets 📊, and learning resources 📚 covering machine learning 🧠, deep learning 🧩, generative AI 🎨, NLP 💬, and data science 📈. Designed to help developers 👩💻, researchers 🔬, and creators ✨ explore and build with AI faster ⚡.
TRELLIS.2 圖像轉 3D 現在可在 Mac(Apple Silicon)上運行 - 無需 NVIDIA GPU
我將微軟的 TRELLIS.2 移植到 Apple Silicon 上,透過 PyTorch MPS 運行。原始版本依賴五個僅限 CUDA 的編譯擴展(flex_gemm、flash_attn、o_voxel、cumesh、nvdiffrast),在 Mac 上沒有對應版本。我從零開始編寫了替代後端:純 PyTorch 稀疏 3D 卷積(替代 flex_gemm)、使用空間雜湊的 Python 網格提取(替代 o_voxel 中的 CUDA 雜湊映射操作)、用於稀疏 Transformer 的 SDPA 注意力機制(替代 flash_attn),以及 GPU 加速的三線性插值(替代 cumesh 和 nvdiffrast)。
開源已讀
Show HN: 在 Apple Silicon 上原生執行 TRELLIS.2 圖像轉 3D 生成模型
我將微軟的 TRELLIS.2(40 億參數的圖像轉 3D 模型)移植到 Apple Silicon 上,透過 PyTorch MPS 執行。原始版本需要 CUDA 搭配 flash_attn、nvdiffrast 和自訂稀疏卷積核心——這些在 Mac 上都無法運作。我用純 PyTorch 替代方案取代了 CUDA 特定操作:包括 gather-scatter 稀疏 3D 卷積、用於稀疏 Transformer 的 SDPA 注意力機制,以及以 Python 實現的網格提取(取代 CUDA 雜湊表操作)。總共在 9 個檔案中修改了數百行程式碼。