2024/05/04

Newest at the top

2024-05-04 21:52:01 +0200 <erty> 6 gb
2024-05-04 21:51:56 +0200 <tomsmeding> cuda be large
2024-05-04 21:51:37 +0200 <erty> cuda 12 still reinstalling :-|
2024-05-04 21:51:33 +0200stiell_(~stiell@gateway/tor-sasl/stiell)
2024-05-04 21:50:14 +0200stiell_(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-04 21:49:05 +0200 <tomsmeding> because indeed it's not fully complete yet, but iirc it was sufficient to make cuda 12 work
2024-05-04 21:48:53 +0200 <erty> ok
2024-05-04 21:48:33 +0200 <tomsmeding> the PR is not yet merged
2024-05-04 21:48:18 +0200 <tomsmeding> so https://github.com/noahmartinwilliams/language-c at 98cca579839cd6b6e41baf9d28c1dd53a403f8be
2024-05-04 21:47:55 +0200 <tomsmeding> erty: you'll need that PR specifically
2024-05-04 21:47:27 +0200 <erty> is that enough
2024-05-04 21:47:20 +0200 <erty> tomsmeding: what do you mean by "together with the overrides for accelerate-*". I've added "- github: visq/language-c" to extra-deps in stack.yaml
2024-05-04 21:46:26 +0200stiell(~stiell@gateway/tor-sasl/stiell)
2024-05-04 21:45:44 +0200FinnElija(~finn_elij@user/finn-elija/x-0085643)
2024-05-04 21:45:06 +0200stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-04 21:45:04 +0200FinnElija(~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
2024-05-04 21:42:37 +0200 <erty> wait I just sudo purged cuda 12, let me reinstall it back
2024-05-04 21:42:13 +0200 <tomsmeding> right
2024-05-04 21:42:08 +0200 <tomsmeding> if it works at all, it would need to go in extra-deps in stack.yaml together with the overrides for accelerate-*
2024-05-04 21:42:02 +0200 <erty> yes and stack.yaml https://paste.tomsmeding.com/nnFY5ChD
2024-05-04 21:41:35 +0200 <tomsmeding> erty: that's a package.yaml file
2024-05-04 21:41:33 +0200stiell_(~stiell@gateway/tor-sasl/stiell)
2024-05-04 21:41:03 +0200 <tomsmeding> I didn't try with stack, you might have luck adding that language-c PR to extra-deps
2024-05-04 21:40:56 +0200 <erty> https://paste.tomsmeding.com/1zGj4NjY
2024-05-04 21:40:48 +0200 <tomsmeding> I see, I thought you were using cabal because you accepted my cabal.project :p
2024-05-04 21:40:38 +0200 <erty> I am using stack
2024-05-04 21:40:29 +0200 <tomsmeding> erty: are you using cabal or stack?
2024-05-04 21:40:22 +0200 <erty> tomsmeding: you mean adding that package as a dependency in extra-deps?
2024-05-04 21:39:58 +0200stiell_(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-04 21:38:22 +0200 <tomsmeding> erty: but just adding that language-c PR as a source-repository-package will not work (if it does for you please let me know, but it didn't for me) because language-c is a dependency of a build-tool dependency of the 'cuda' package, instead of a normal (transitive) dependency, and source-repository-package clauses seem to override only normal (transitive) dependencies
2024-05-04 21:36:59 +0200 <mauke> I *was* wondering where that unpackCStringAscii# came from
2024-05-04 21:36:46 +0200 <mauke> {-# RULES "TEXT literal" forall a. pack (GHC.unpackCString# a) = unpackCStringAscii# a #-}
2024-05-04 21:36:44 +0200 <tomsmeding> mauke: it's text, what did you expect
2024-05-04 21:36:31 +0200stiell(~stiell@gateway/tor-sasl/stiell)
2024-05-04 21:36:25 +0200 <erty> ok i'll try
2024-05-04 21:36:20 +0200 <tomsmeding> mauke: of course :)
2024-05-04 21:36:10 +0200 <mauke> tomsmeding: ooh, I see what it's doing! it's cheating with RULEs
2024-05-04 21:35:22 +0200 <tomsmeding> erty: the relevant issue is here https://github.com/visq/language-c/pull/94
2024-05-04 21:34:50 +0200 <erty> *more
2024-05-04 21:34:50 +0200stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-04 21:34:47 +0200 <erty> *mode
2024-05-04 21:34:38 +0200 <erty> tomsmeding: I tried to do that but Nvidia updates cuda 11 to cuda 12 automatically. But let me try one for time
2024-05-04 21:34:31 +0200 <tomsmeding> I forget if there is a fix for cuda 12
2024-05-04 21:33:49 +0200 <tomsmeding> erty: the ""easiest"" solution is to downgrade to cuda 11
2024-05-04 21:32:36 +0200 <tomsmeding> ah that error
2024-05-04 21:32:01 +0200 <erty> https://paste.tomsmeding.com/iFiLTshf
2024-05-04 21:31:32 +0200stiell_(~stiell@gateway/tor-sasl/stiell)
2024-05-04 21:31:29 +0200 <erty> tomsmeding: Thanks for providing config for Accelerate package yesterday. I used your config file but it gives me error for which I can't find a way to resolve. I use ghc (9.4.8),stack (2.13.1), cuda 12 and llvm15.
2024-05-04 21:31:12 +0200 <raehik> oh GOD that's another package
2024-05-04 21:31:06 +0200 <raehik> I'm hopefully gonna ignore almost all of this anyway since I realized I can do it on the type-level. just need a type-level Show