Ondřej Čertík

Results 1447 comments of Ondřej Čertík
trafficstars

Yes, I think we have not implemented booleans as return types yet from LLVM in interactive mode.

Thanks @harperjf for the bug report! @parth121101 can you please take a look at this? It should not be difficult to fix.

@wolfv, @DerThorsten awesome. Let's say LFortran can generate the same wasm output as f2c+emcc. How do you then call it from Python? Do you use the f2py somehow, like scipy...

Ah, so we compile the Fortran code to an "object file" that emcc then loads when it is being linked to the main application? I will need to setup a...

I think you have to comment out the name list. Here are the exact steps: https://github.com/certik/fastGPT/pull/67/files

@matteo-grella awesome, excellent! Thanks for the comment. I'll have a look.

I reported the LFortran issue at https://github.com/lfortran/lfortran/issues/3661.

I did: ```console $ mamba create -n pytorch2 transformers "libblas=*=*_accelerate" $ conda activate pytorch2 $ python pt.py Importing Traceback (most recent call last): File "/Users/ondrej/mambaforge/envs/pytorch2/lib/python3.11/site-packages/transformers/utils/import_utils.py", line 1126, in _get_module return...

@isuruf awesome, thanks! Now it works: ``` $ mamba create -n pytorch2 transformers "libblas=*=*_accelerate" $ conda activate pytorch2 $ ln -sf $CONDA_PREFIX/lib/libcblas.3.dylib $CONDA_PREFIX/lib/libopenblas.0.dylib $ python pt.py Importing Time: 0.46954312501475215 Loading...

I don't see any speed difference with caching enabled (both main and this PR at 0.288s). With caching disabled, this PR is 0.525s, main is 0.716s.