gitextract_i0tx6_zz/ ├── .gitignore ├── .swiftpm/ │ └── xcode/ │ └── package.xcworkspace/ │ └── contents.xcworkspacedata ├── Converter Script/ │ └── native-convert.py ├── Examples/ │ ├── Simple/ │ │ └── SimpleDiffusion/ │ │ ├── SimpleDiffusion/ │ │ │ ├── Assets.xcassets/ │ │ │ │ ├── AccentColor.colorset/ │ │ │ │ │ └── Contents.json │ │ │ │ ├── AppIcon.appiconset/ │ │ │ │ │ └── Contents.json │ │ │ │ └── Contents.json │ │ │ ├── ContentView.swift │ │ │ ├── Preview Content/ │ │ │ │ └── Preview Assets.xcassets/ │ │ │ │ └── Contents.json │ │ │ ├── SimpleDiffusion.entitlements │ │ │ └── SimpleDiffusionApp.swift │ │ └── SimpleDiffusion.xcodeproj/ │ │ ├── project.pbxproj │ │ └── project.xcworkspace/ │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata/ │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm/ │ │ └── Package.resolved │ └── Single Line Diffusion/ │ ├── Single Line Diffusion/ │ │ ├── Assets.xcassets/ │ │ │ ├── AccentColor.colorset/ │ │ │ │ └── Contents.json │ │ │ ├── AppIcon.appiconset/ │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── ContentView.swift │ │ ├── Preview Content/ │ │ │ └── Preview Assets.xcassets/ │ │ │ └── Contents.json │ │ ├── Single_Line_Diffusion.entitlements │ │ └── Single_Line_DiffusionApp.swift │ └── Single Line Diffusion.xcodeproj/ │ ├── project.pbxproj │ └── project.xcworkspace/ │ ├── contents.xcworkspacedata │ └── xcshareddata/ │ ├── IDEWorkspaceChecks.plist │ └── swiftpm/ │ └── Package.resolved ├── LICENSE ├── Package.swift ├── README.md ├── Sources/ │ └── MapleDiffusion/ │ ├── Diffusion.swift │ ├── MPS/ │ │ ├── BPETokenizer.swift │ │ ├── Coder/ │ │ │ ├── Decoder.swift │ │ │ ├── Encoder.swift │ │ │ └── MPSGraph+Coder.swift │ │ ├── Diffuser.swift │ │ ├── MPSGraph+Transformer.swift │ │ ├── MPSGraph.swift │ │ ├── MapleDiffusion.swift │ │ ├── Scheduler.swift │ │ ├── TextGuidance.swift │ │ └── UNet.swift │ ├── Model/ │ │ ├── GenResult.swift │ │ ├── GeneratorState.swift │ │ ├── SampleInput.swift │ │ └── SampleOutput.swift │ ├── Support/ │ │ ├── CGImage + ItemProvider.swift │ │ ├── Diffusion + Generate.swift │ │ ├── Drag + Drop Helpers.swift │ │ ├── MPSGraphTensorData.swift │ │ ├── ModelFetcher.swift │ │ ├── NSImage + resizing.swift │ │ └── URLSession + async download.swift │ └── Views/ │ └── DiffusionImage.swift └── Tests/ └── MapleDiffusionTests/ └── ModelFetcherTests.swift