lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I would not recommend building it for 5.3 since there might be build and speed issues. I highly doubt you'll need 5.3 functionality anyway. For playing around its ok. Good to know that Ravi can be used for Torch, yet it won't be faster for sure.

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Dibyendu Majumdar
Sent: Wednesday, January 31, 2018 22:09
To: Lua mailing list
Reply To: Lua mailing list
Subject: Re: Building torch7

On 31 January 2018 at 08:00, p. shkadzko <p.shkadzko@gmail.com> wrote:
> Can you be more specific?
> I am using ‎Torch on a daily basis.
>

Hi, it is good to know that torch works with Lua 5.3. I was able
successfully build torch7 (the core library only) for Ravi which is a
Lua 5.3 derivative. However when trying to run a test I face a couple
of issues. The first one is this strange call:

require "paths"
paths.require "libtorch"

The paths.lua script is generated from:
https://github.com/torch/torch7/blob/master/paths.lua.in

I must be missing something here.

Second issue I am still investigating. While initializing torch I get
an error that I was surprised to see - it is do with exceeding the
number of max upvalues; this is set to 120 in Ravi. I have to work out
whether this is what it appears or something else.

Regards
Dibyendu