Re: [R-SIG-Mac] M3 not working with torch

2024-06-10 Thread kjbeath
I’m sorry to hear about your husband.

To unsubscribe  you need to access 
https://stat.ethz.ch/mailman/listinfo/r-sig-mac 

The password is contained in an e-mail which is sent regularly with the subject 
r-project.org mailing list memberships reminder  or you 
can request the password on the webpage.

Ken


> On 10 Jun 2024, at 4:47 AM, Phil McShane via R-SIG-Mac 
>  wrote:
> 
> Dear ColleagueSunday
> 
> My husband died over a year ago.  Although I still use his e-mail address I 
> would be grateful if you would remove this e-mail address from your mailing
> 
> Regards   Joan McShane (Widow)
> 
> 
>> On 20 May 2024, at 21:48, Simon Urbanek  wrote:
>> 
>> Gilberto,
>> 
>> since luz is a contributed package, you should probably start first by 
>> asking the authors. Given that the torch ecosystem is quite complex and has 
>> several layers that need to work together, even if you talk to them, you 
>> probably need to add details such as exact versions used (including the 
>> torch and metal layers) and how you installed the pieces (I know you 
>> helpfully supplied sesisonInfo() but I suspect that info such as exact torch 
>> run-time is pertinent as well). Next step would be to trace the error - 
>> check the system crash reporter or run R -d lldb to find out the exact 
>> library the crash happens in which may give you more clues. I don't have any 
>> M3 machines so I can't check myself, unfortunately.
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>>> On 21/05/2024, at 12:48 AM, Gilberto Camara  wrote:
>>> 
>>> Dear R-SIG-MAC
>>> 
>>> I bought a new MacBook Air with the M3 chip, which has 8 CPUs, 10 GPUs, and 
>>> 16GB of integrated memory. My R `torch` apps are crashing. I have assembled 
>>> an MWE that works on other Mac architectures, including MacBook Air M1 and 
>>> MacMini. The OS is the same (Sonoma 14.5). The MWE follows:
>>> [...]
>>> ```
>>> The error occurs in the `luz::fit` function. Inside RStudio, the code gets 
>>> stuck, and then RStudio asks to restart R. When running R from the 
>>> terminal, the output is:
>>> ```{r}
>>> *** caught bus error ***
>>> address 0x16daa, cause 'invalid alignment'
>>> 
>>> *** caught segfault ***
>>> address 0x9, cause 'invalid permissions'
>>> zsh: segmentation fault  R
>>> ```
>>> The `sessionInfo()` output is as follows:
>> 
>> ___
>> R-SIG-Mac mailing list
>> [email protected]
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] M3 not working with torch

2024-06-10 Thread peter dalgaard
In cases like this, you could contact [email protected] directly 
and also have them look for the email on the other r-project.org mailing lists.

Obviously, they would rather have users sort this out for themselves, since it 
requires manual intervention for the administrator, but this is an exceptional 
case.

- Peter D.

> On 10 Jun 2024, at 09:37 , Ken Beath  wrote:
> 
> I’m sorry to hear about your husband.
> 
> To unsubscribe  you need to access 
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac 
> 
> The password is contained in an e-mail which is sent regularly with the 
> subject r-project.org mailing list memberships reminder 
>  or you can request the password on the webpage.
> 
> Ken
> 
> 
>> On 10 Jun 2024, at 4:47 AM, Phil McShane via R-SIG-Mac 
>>  wrote:
>> 
>> Dear Colleague   Sunday
>> 
>> My husband died over a year ago.  Although I still use his e-mail address I 
>> would be grateful if you would remove this e-mail address from your mailing
>> 
>> Regards  Joan McShane (Widow)
>> 
>> 
>>> On 20 May 2024, at 21:48, Simon Urbanek  wrote:
>>> 
>>> Gilberto,
>>> 
>>> since luz is a contributed package, you should probably start first by 
>>> asking the authors. Given that the torch ecosystem is quite complex and has 
>>> several layers that need to work together, even if you talk to them, you 
>>> probably need to add details such as exact versions used (including the 
>>> torch and metal layers) and how you installed the pieces (I know you 
>>> helpfully supplied sesisonInfo() but I suspect that info such as exact 
>>> torch run-time is pertinent as well). Next step would be to trace the error 
>>> - check the system crash reporter or run R -d lldb to find out the exact 
>>> library the crash happens in which may give you more clues. I don't have 
>>> any M3 machines so I can't check myself, unfortunately.
>>> 
>>> Cheers,
>>> Simon
>>> 
>>> 
>>> 
 On 21/05/2024, at 12:48 AM, Gilberto Camara  
 wrote:
 
 Dear R-SIG-MAC
 
 I bought a new MacBook Air with the M3 chip, which has 8 CPUs, 10 GPUs, 
 and 16GB of integrated memory. My R `torch` apps are crashing. I have 
 assembled an MWE that works on other Mac architectures, including MacBook 
 Air M1 and MacMini. The OS is the same (Sonoma 14.5). The MWE follows:
 [...]
 ```
 The error occurs in the `luz::fit` function. Inside RStudio, the code gets 
 stuck, and then RStudio asks to restart R. When running R from the 
 terminal, the output is:
 ```{r}
 *** caught bus error ***
 address 0x16daa, cause 'invalid alignment'
 
 *** caught segfault ***
 address 0x9, cause 'invalid permissions'
 zsh: segmentation fault  R
 ```
 The `sessionInfo()` output is as follows:
>>> 
>>> ___
>>> R-SIG-Mac mailing list
>>> [email protected]
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
>> 
>>  [[alternative HTML version deleted]]
>> 
>> ___
>> R-SIG-Mac mailing list
>> [email protected]
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: [email protected]  Priv: [email protected]

___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] M3 not working with torch

2024-06-10 Thread Ken Beath
I’m sorry to hear about your husband.

To unsubscribe  you need to access 
https://stat.ethz.ch/mailman/listinfo/r-sig-mac 

The password is contained in an e-mail which is sent regularly with the subject 
r-project.org mailing list memberships reminder  or you 
can request the password on the webpage.

Ken


> On 10 Jun 2024, at 4:47 AM, Phil McShane via R-SIG-Mac 
>  wrote:
> 
> Dear ColleagueSunday
> 
> My husband died over a year ago.  Although I still use his e-mail address I 
> would be grateful if you would remove this e-mail address from your mailing
> 
> Regards   Joan McShane (Widow)
> 
> 
>> On 20 May 2024, at 21:48, Simon Urbanek  wrote:
>> 
>> Gilberto,
>> 
>> since luz is a contributed package, you should probably start first by 
>> asking the authors. Given that the torch ecosystem is quite complex and has 
>> several layers that need to work together, even if you talk to them, you 
>> probably need to add details such as exact versions used (including the 
>> torch and metal layers) and how you installed the pieces (I know you 
>> helpfully supplied sesisonInfo() but I suspect that info such as exact torch 
>> run-time is pertinent as well). Next step would be to trace the error - 
>> check the system crash reporter or run R -d lldb to find out the exact 
>> library the crash happens in which may give you more clues. I don't have any 
>> M3 machines so I can't check myself, unfortunately.
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>>> On 21/05/2024, at 12:48 AM, Gilberto Camara  wrote:
>>> 
>>> Dear R-SIG-MAC
>>> 
>>> I bought a new MacBook Air with the M3 chip, which has 8 CPUs, 10 GPUs, and 
>>> 16GB of integrated memory. My R `torch` apps are crashing. I have assembled 
>>> an MWE that works on other Mac architectures, including MacBook Air M1 and 
>>> MacMini. The OS is the same (Sonoma 14.5). The MWE follows:
>>> [...]
>>> ```
>>> The error occurs in the `luz::fit` function. Inside RStudio, the code gets 
>>> stuck, and then RStudio asks to restart R. When running R from the 
>>> terminal, the output is:
>>> ```{r}
>>> *** caught bus error ***
>>> address 0x16daa, cause 'invalid alignment'
>>> 
>>> *** caught segfault ***
>>> address 0x9, cause 'invalid permissions'
>>> zsh: segmentation fault  R
>>> ```
>>> The `sessionInfo()` output is as follows:
>> 
>> ___
>> R-SIG-Mac mailing list
>> [email protected]
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] M3 not working with torch

2024-06-09 Thread Phil McShane via R-SIG-Mac
Dear Colleague  Sunday

My husband died over a year ago.  Although I still use his e-mail address I 
would be grateful if you would remove this e-mail address from your mailing

Regards Joan McShane (Widow)


> On 20 May 2024, at 21:48, Simon Urbanek  wrote:
> 
> Gilberto,
> 
> since luz is a contributed package, you should probably start first by asking 
> the authors. Given that the torch ecosystem is quite complex and has several 
> layers that need to work together, even if you talk to them, you probably 
> need to add details such as exact versions used (including the torch and 
> metal layers) and how you installed the pieces (I know you helpfully supplied 
> sesisonInfo() but I suspect that info such as exact torch run-time is 
> pertinent as well). Next step would be to trace the error - check the system 
> crash reporter or run R -d lldb to find out the exact library the crash 
> happens in which may give you more clues. I don't have any M3 machines so I 
> can't check myself, unfortunately.
> 
> Cheers,
> Simon
> 
> 
> 
>> On 21/05/2024, at 12:48 AM, Gilberto Camara  wrote:
>> 
>> Dear R-SIG-MAC
>> 
>> I bought a new MacBook Air with the M3 chip, which has 8 CPUs, 10 GPUs, and 
>> 16GB of integrated memory. My R `torch` apps are crashing. I have assembled 
>> an MWE that works on other Mac architectures, including MacBook Air M1 and 
>> MacMini. The OS is the same (Sonoma 14.5). The MWE follows:
>> [...]
>> ```
>> The error occurs in the `luz::fit` function. Inside RStudio, the code gets 
>> stuck, and then RStudio asks to restart R. When running R from the terminal, 
>> the output is:
>> ```{r}
>> *** caught bus error ***
>> address 0x16daa, cause 'invalid alignment'
>> 
>> *** caught segfault ***
>> address 0x9, cause 'invalid permissions'
>> zsh: segmentation fault  R
>> ```
>> The `sessionInfo()` output is as follows:
> 
> ___
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] M3 not working with torch

2024-05-20 Thread Gilberto Camara
Dear Simon

Many thanks for your response and suggestions. I have raised an issue in the R 
torch repository: 

https://github.com/mlverse/torch/issues/1167

All the best
Gilberto

Prof Dr Gilberto Camara
Senior Researcher
National Institute for Space Research (INPE), Brazil
https://gilbertocamara.org/
=




> On 20 May 2024, at 17:48, Simon Urbanek  wrote:
> 
> Gilberto,
> 
> since luz is a contributed package, you should probably start first by asking 
> the authors. Given that the torch ecosystem is quite complex and has several 
> layers that need to work together, even if you talk to them, you probably 
> need to add details such as exact versions used (including the torch and 
> metal layers) and how you installed the pieces (I know you helpfully supplied 
> sesisonInfo() but I suspect that info such as exact torch run-time is 
> pertinent as well). Next step would be to trace the error - check the system 
> crash reporter or run R -d lldb to find out the exact library the crash 
> happens in which may give you more clues. I don't have any M3 machines so I 
> can't check myself, unfortunately.
> 
> Cheers,
> Simon
> 
> 
> 
>> On 21/05/2024, at 12:48 AM, Gilberto Camara  wrote:
>> 
>> Dear R-SIG-MAC
>> 
>> I bought a new MacBook Air with the M3 chip, which has 8 CPUs, 10 GPUs, and 
>> 16GB of integrated memory. My R `torch` apps are crashing. I have assembled 
>> an MWE that works on other Mac architectures, including MacBook Air M1 and 
>> MacMini. The OS is the same (Sonoma 14.5). The MWE follows:
>> [...]
>> ```
>> The error occurs in the `luz::fit` function. Inside RStudio, the code gets 
>> stuck, and then RStudio asks to restart R. When running R from the terminal, 
>> the output is:
>> ```{r}
>> *** caught bus error ***
>> address 0x16daa, cause 'invalid alignment'
>> 
>> *** caught segfault ***
>> address 0x9, cause 'invalid permissions'
>> zsh: segmentation fault  R
>> ```
>> The `sessionInfo()` output is as follows:
> 
> ___
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] M3 not working with torch

2024-05-20 Thread Simon Urbanek
Gilberto,

since luz is a contributed package, you should probably start first by asking 
the authors. Given that the torch ecosystem is quite complex and has several 
layers that need to work together, even if you talk to them, you probably need 
to add details such as exact versions used (including the torch and metal 
layers) and how you installed the pieces (I know you helpfully supplied 
sesisonInfo() but I suspect that info such as exact torch run-time is pertinent 
as well). Next step would be to trace the error - check the system crash 
reporter or run R -d lldb to find out the exact library the crash happens in 
which may give you more clues. I don't have any M3 machines so I can't check 
myself, unfortunately.

Cheers,
Simon



> On 21/05/2024, at 12:48 AM, Gilberto Camara  wrote:
> 
> Dear R-SIG-MAC
> 
> I bought a new MacBook Air with the M3 chip, which has 8 CPUs, 10 GPUs, and 
> 16GB of integrated memory. My R `torch` apps are crashing. I have assembled 
> an MWE that works on other Mac architectures, including MacBook Air M1 and 
> MacMini. The OS is the same (Sonoma 14.5). The MWE follows:
> [...]
> ```
> The error occurs in the `luz::fit` function. Inside RStudio, the code gets 
> stuck, and then RStudio asks to restart R. When running R from the terminal, 
> the output is:
> ```{r}
> *** caught bus error ***
> address 0x16daa, cause 'invalid alignment'
> 
> *** caught segfault ***
> address 0x9, cause 'invalid permissions'
> zsh: segmentation fault  R
> ```
> The `sessionInfo()` output is as follows:

___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac