-
Torch.fx: Practical Program Capture and Transformation for Deep Learning in Python
Authors:
James K. Reed,
Zachary DeVito,
Horace He,
Ansley Ussery,
Jason Ansel
Abstract:
Modern deep learning frameworks provide imperative, eager execution programming interfaces embedded in Python to provide a productive development experience. However, deep learning practitioners sometimes need to capture and transform program structure for performance optimization, visualization, analysis, and hardware integration. We study the different designs for program capture and transformat…
▽ More
Modern deep learning frameworks provide imperative, eager execution programming interfaces embedded in Python to provide a productive development experience. However, deep learning practitioners sometimes need to capture and transform program structure for performance optimization, visualization, analysis, and hardware integration. We study the different designs for program capture and transformation used in deep learning. By designing for typical deep learning use cases rather than long tail ones, it is possible to create a simpler framework for program capture and transformation. We apply this principle in torch.fx, a program capture and transformation library for PyTorch written entirely in Python and optimized for high developer productivity by ML practitioners. We present case studies showing how torch.fx enables workflows previously inaccessible in the PyTorch ecosystem.
△ Less
Submitted 4 March, 2022; v1 submitted 15 December, 2021;
originally announced December 2021.
-
Photometry of VS0329+1250: A New, Short-Period SU Ursae Majoris Star
Authors:
A. W. Shafter,
E. A. Coelho,
J. K. Reed
Abstract:
Time-resolved CCD photometry is presented of the recently-discovered (V~15 at maximum light) eruptive variable star in Taurus, which we dub VS0329+1250. A total of ~20 hr of data obtained over six nights reveals superhumps in the light curves, confirming the star as a member of the SU UMa class of dwarf novae. The superhumps recur with a mean period of 0.053394(7) days (76.89 min), which represe…
▽ More
Time-resolved CCD photometry is presented of the recently-discovered (V~15 at maximum light) eruptive variable star in Taurus, which we dub VS0329+1250. A total of ~20 hr of data obtained over six nights reveals superhumps in the light curves, confirming the star as a member of the SU UMa class of dwarf novae. The superhumps recur with a mean period of 0.053394(7) days (76.89 min), which represents the shortest superhump period known in a classical SU UMa star. A quadratic fit to the timings of superhump maxima reveals that the superhump period was increasing at a rate given by dP/dt ~ (2.1 +/- 0.8) x 10^{-5} over the course of our observations. An empirical relation between orbital period and the absolute visual magnitude of dwarf novae at maximum light, suggests that VS0329+1250 lies at a distance of ~1.2 +/- 0.2 kpc.
△ Less
Submitted 26 February, 2007; v1 submitted 5 February, 2007;
originally announced February 2007.
-
Modeling Eclipses of the Novalike Variable TT Triangulum
Authors:
S. R. Warren,
A. W. Shafter,
J. K. Reed
Abstract:
Multicolor (BVRI) light curves of the eclipsing novalike variable TT Tri are presented and analyzed with a parameter-fitting eclipse model. The mass ratio of TT Tri is poorly constrained, but must lie roughly in the range 0.3<q(=M_2/M_1)<0.9. Models characterized by mass ratios of q=0.3 (i=76.1 deg), q=0.6 (i=72.6 deg), and q=0.9 (i=70.4 deg) were all capable of providing acceptable fits to the…
▽ More
Multicolor (BVRI) light curves of the eclipsing novalike variable TT Tri are presented and analyzed with a parameter-fitting eclipse model. The mass ratio of TT Tri is poorly constrained, but must lie roughly in the range 0.3<q(=M_2/M_1)<0.9. Models characterized by mass ratios of q=0.3 (i=76.1 deg), q=0.6 (i=72.6 deg), and q=0.9 (i=70.4 deg) were all capable of providing acceptable fits to the data, although the best fits were achieved for mass ratios near the upper end of the permitted range. The values of the remaining fitting parameters were found to be insensitive to the adopted mass ratio and rim thickness. The accretion disk was found to extend to ~50-60% of the distance to the inner Lagrangian point in all models, but came closer to reaching the tidal limit in the higher mass ratio models. The same behavior was found for the radial temperature profile of the disk, which increased with mass ratio, becoming more consistent with that expected for steady state accretion in the q=0.6 and q=0.9 models. Models with a truncated inner disk (R_in>>R_1) generally resulted in a higher white dwarf temperature, and a steepening of the disk temperature profile, but were not required to achieve a viable steady-state disk solution. No evidence was found for a luminous bright spot in the system, which is not surprising given the lack of a pre-eclipse "hump" in the light curve. A total of 22 eclipse timings were measured for the system, which yielded an ephemeris for the times of mid-eclipse given by HJD = 2,453,618.953(3) + 0.1396369(4) E. A comparison of the observed brightness and color at mid-eclipse with the photometric properties of the best-fitting model suggests that TT Tri lies at a distance of ~400-500 pc. (abstract abridged)
△ Less
Submitted 18 August, 2006;
originally announced August 2006.