huggingface / swift-transformers

Swift Package to implement a transformers-like API in Swift
Apache License 2.0
536 stars 46 forks source link

Strict concurrency in Swift 6 #101

Closed DePasqualeOrg closed 19 hours ago

DePasqualeOrg commented 2 weeks ago

This is a starting point for strict concurrency in Swift 6. There are still some errors and warnings, which I'm not sure how to fix, so perhaps someone more knowledgeable than me can take it from here.

DePasqualeOrg commented 19 hours ago

https://github.com/ml-explore/mlx-swift-examples/pull/90