John Slegers

Results 47 comments of John Slegers
trafficstars

I got the same error when trying to run the following code from https://docs.python.org/3/library/importlib.html#importlib.util.spec_from_loader on Google Colab : ````python def import_module(name, package=None): """An approximate implementation of import.""" absolute_name = importlib.util.resolve_name(name,...

In your example, you do the following : ``` php // Set the document root to be the path of the "site root" $min_documentRoot = substr(__FILE__, 0, -15); // Set...

Related : https://github.com/huggingface/diffusers/issues/2136

I noticed that the `UNETLoader.load_unet` takes a lot more memory since the most recent changes when loading a FLUX transformer unet of `weight_dtype` `fp8_e4m3fn`. Before the changes I could stay...

I also cleaned up some helper functions that either weren't used at all or are pretty useless.

After a year, why has this PR still not been merged? `pip install microdict` currently fails for version of Python > 3.9. Meanwhile, `pip install git+https://github.com/touqir14/Microdict` works fine, at least...