-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ NOTICE for metal
users on gpu-allocator 0.26
⚠️
#224
Comments
metal
users on gpu-allocator 0.26
metal
users on gpu-allocator 0.26
metal
users on gpu-allocator 0.26
metal
users on gpu-allocator 0.26
⚠️
A planned upgrade to |
This is a library crate, meaning that `[patch]`es don't get applied when users depend on our crate, and falsely end up with a broken build while our CI said everything was hunky dory (https://github.com/ /issues/224). We also cannot have a direct `git` dependency as that prevents us from publishing to crates.io. The current workaround to that is to use a custom registry for both `metal-rs` and `gpu-allocator` until our upstream changes are merged and released. What's worse, the harcoded hash that this was pointing to no longer has a live reference on our fork (maybe due to a force-push), and the CI is now failing to to fetch that commit by hash while build-testing `gpu-allocator`.
This is a library crate, meaning that `[patch]`es don't get applied when users depend on our crate, and falsely end up with a broken build while our CI said everything was hunky dory (https://github.com/ /issues/224). We also cannot have a direct `git` dependency as that prevents us from publishing to crates.io. The current workaround to that is to use a custom registry for both `metal-rs` and `gpu-allocator` until our upstream changes are merged and released. What's worse, the harcoded hash that this was pointing to no longer has a live reference on our fork (maybe due to a force-push), and the CI is now failing to to fetch that commit by hash while build-testing `gpu-allocator`.
`gpu-allocator` is a library crate, meaning that `[patch]`es don't get applied when users depend on our crate, and falsely end up with a broken build while our CI said everything was hunky dory ( #224). Even though we cannot normally have a direct `git` dependency as that blocks us from publishing to crates.io, the current `gpu-allocator` release (though only for Metal) is broken anyway. It's relying on functionality that has just now been merged upstream, but still has to make it into a (followup patch) release. What's worse, the harcoded hash that this was pointing to no longer has a live reference on our fork (maybe due to a force-push), and the CI is now failing to to fetch that commit by hash while build-testing `gpu-allocator`. Let's bump to a `git` dependency for now, and replace that as soon as we have a workable solution, however that pans out.
`gpu-allocator` is a library crate, meaning that `[patch]`es don't get applied when users depend on our crate, and falsely end up with a broken build while our CI said everything was hunky dory ( #224). Even though we cannot normally have a direct `git` dependency as that blocks us from publishing to crates.io, the current `gpu-allocator` release (though only for Metal) is broken anyway. It's relying on functionality that has just now been merged upstream, but still has to make it into a (followup patch) release. What's worse, the harcoded hash that this was pointing to no longer has a live reference on our fork (maybe due to a force-push), and the CI is now failing to to fetch that commit by hash while build-testing `gpu-allocator`. Let's bump to a `git` dependency for now, and replace that as soon as we have a workable solution, however that pans out.
`gpu-allocator` is a library crate, meaning that `[patch]`es don't get applied when users depend on our crate, and falsely end up with a broken build while our CI said everything was hunky dory ( #224). Even though we cannot normally have a direct `git` dependency as that blocks us from publishing to crates.io, the current `gpu-allocator` release (though only for Metal) is broken anyway. It's relying on functionality that has just now been merged upstream, but still has to make it into a (followup patch) release. What's worse, the harcoded hash that this was pointing to no longer has a live reference on our fork (maybe due to a force-push), and the CI is now failing to to fetch that commit by hash while build-testing `gpu-allocator`. Let's bump to a `git` dependency for now, and replace that as soon as we have a workable solution, however that pans out.
`gpu-allocator` is a library crate, meaning that `[patch]`es don't get applied when users depend on our crate, and falsely end up with a broken build while our CI said everything was hunky dory ( #224). Even though we cannot normally have a direct `git` dependency as that blocks us from publishing to crates.io, the current `gpu-allocator` release (though only for Metal) is broken anyway. It's relying on functionality that has just now been merged upstream, but still has to make it into a (followup patch) release. What's worse, the harcoded hash that this was pointing to no longer has a live reference on our fork (maybe due to a force-push), and the CI is now failing to to fetch that commit by hash while build-testing `gpu-allocator`. Let's bump to a `git` dependency for now, and replace that as soon as we have a workable solution, however that pans out.
`gpu-allocator` is a library crate, meaning that `[patch]`es don't get applied when users depend on our crate, and falsely end up with a broken build while our CI said everything was hunky dory ( #224). Even though we cannot normally have a direct `git` dependency as that blocks us from publishing to crates.io, the current `gpu-allocator` release (though only for Metal) is broken anyway. It's relying on functionality that has just now been merged upstream, but still has to make it into a (followup patch) release. What's worse, the harcoded hash that this was pointing to no longer has a live reference on our fork (maybe due to a force-push), and the CI is now failing to to fetch that commit by hash while build-testing `gpu-allocator`. Let's bump to a `git` dependency for now, and replace that as soon as we have a workable solution, however that pans out.
This was fixed by using stable |
For any users upgrading that are still on metal-rs, it's relatively trivial to unsafely transmute the structures back and forth as a stopgap solution. |
Note that the |
gpu-allocator 0.26
was just published withmetal
support! Unfortunately themetal-rs
crate that is used is heavily unmaintained, and some functions used bygpu-allocator
are not yet available in the upstreammetal-rs
release. Attempts to contribute have thus far gone unnoticed.This was worked around by a
patch
inCargo.toml
which does not translate to the crates.io release, so anyone turning on the not-default
metal
feature will get a compilation failure ingpu-allocator
.The workaround is to adopt the same
[patch.crates-io]
into your workspace root, while we work to resolve this issue upstream:gpu-allocator/Cargo.toml
Lines 100 to 101 in cbf5299
The text was updated successfully, but these errors were encountered: